|
R.Code |
S.Code |
Explain |
Comment |
|---|---|---|---|
|
553 |
5.1.3 |
Syntax illegal for recipient addresses |
Special case error msg. |
|
User Address required |
@speedup.amail.co.kr | ||
|
Hostname required |
Speedupamail.co.kr@ | ||
|
Colon illegal in host name part |
Speedup@amail:co.kr | ||
|
Invalid route address |
Speedup@amail@amail.co.kr | ||
|
Invalid route address |
Speedup@amail~co.kr | ||
|
5.1.2 |
Invalid address |
Speedup@amail;co.kr | |
|
Invalid Host name |
Speedup@.amail.co.kr | ||
|
Invalid Host name |
Speedup@..amail.co.kr | ||
|
Invalid route address |
Speedup@amail@co.kr | ||
|
5.5.4 |
Real domain name required for sender address |
||
|
Domain name required for sender address remote is not |
Reverse 결과 내용이 일치하지 않을 경우. | ||
|
5.1.8 |
Domain of sender address ..... does not exist |
도메인이 존재하지 않음(relay 요청시) | |
|
User address required |
rcpt에 유저가 없는 경우 <> , ‘’ | ||
|
5.2.1 |
Mailbox disabled for this recipient |
| |
|
551 |
5.1.1 |
User has moved; Please try |
Speedup@host.REDIRECT. |
|
550 |
5.7.1 |
Access Denied |
Lookup 결과, REJECT로 기록된 경우 |
|
Relaying denied proper authentication required |
Relay를 허용하지 않는 서버일 경우 | ||
|
DISCARD |
Lookup 결과 DISCARD로 기록된 경우 | ||
|
Access Denied |
Access 파일에 REJECT 로 기록 | ||
|
discard |
Access 파일에 DISCARD로 기록 | ||
|
DISCARD speedup@amail.co.kr | |||
|
451 |
4.3.0 |
Temporary system failure. Please try again later |
TMPF <speedup@amail.co.kr> |
|
5.7.1 |
Mail from ‘client_addr’ rejected; see http://www.kisarbl.or.kr/ |
Rbl에 의한 분류 | |
|
4.1.8 |
Domain of sender address “ “ does not resolve |
Relay 허용을 위한 도메인 Lookup 실패 메시지 | |
|
450 |
4.7.1 |
Relaying temporarily denied. Cannot resolve PTR record for “client_addr” |
역방향 조회시 hostname이 존재하지 않는 경우 |
|
5.7.1 |
Relaying denied. IP name possibly forged ‘ client name’ |
hostname을 해석하지 못하는 경우 거나 파일로 강제 설정하여 보내는 경우 | |
|
403 |
4.7.0 |
TLS Handshake failed |
|
- 2007/10/05 Sendmail 에러 코드 표
- 2007/06/30 메일설정(sendmail, imap, squirrelmail-다람쥐메일, apache설정,한글설정)
오늘 마음먹고 미뤄왔던 메일설정을 했다ㅋ
처음부터 시작해서 다는데 2시간 반 정도 걸린듯..ㅡㅡ;;
간만에 해봐서 기억이 가물가물ㅡㅡ;
여기저기 인터넷 뒤져서 겨우 했다..ㅋ
간단히 정리하면..
Mail 설정
1. sendmail, imap 확인 (rpm으로 설치..ㅡㅡ;)
# rpm -qa sendmail
# rpm -qa imap
2. imap 활성화
# vi /etc/xinetd.d/imap -> disable 되어있는거 활성화 시키고
# /etc/init.d/xinetd restart -> 리스타트
# netstat -npl |grep 143 -> 포트 열렸는지 확인
3. Virtusertable 설정
# vi /etc/mail/virtusertable
# makemap hash /etc/mail/virtusertable < /etc/mail/virtusertable
4. local-host-names 설정
# vi /etc/mail/local-host-names
5. DNS 확인 (호스팅업체에 신청해둬서 따로 설정 안했다ㅋ)
# nslookup
> server ns.aaa.com
Default server: ns.aaa.com
Address: xxx.xxx.xxx.xxx#zz
> set q=mx
> xxx.com
Server: ns.aaa.com
Address: xxx.xxx.xxx.xxx#zz
xxx.com mail exchanger = 10 mail.xxx.com.
6. sendmail.cf 생성
# m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf
# /etc/rc.d/init.d/sendmail restart -> 재시작
# netstat -npl -> 포트확인
7. outlook으로 mail이 잘 설정 되었는지 확인
다람쥐 메일 설정(무료웹메일)
1. 다운
http://www.squirrelmail.org/download.php
squirrelmail-1.4.6-1.noarch.rpm
squirrelmail-i18n-1.4.6-1.noarch.rpm
2. rpm설치
# rpm -Uvh --nodeps --force squirrelmail-*.noarch.rpm
3. 권한 설정
# chown nobody -R /usr/share/squirrelmail/
# chown nobody -R /etc/squirrelmail/config.php
# chown nobody.nobody -R /var/lib/squirrelmail/prefs/
# chown nobody.nobody -R /var/spool/squirrelmail/attach/
# chmod 777 /var/spool/squirrelmail/attach/
-불필요한 파일 제거
rm -f /etc/cron.daily/squirrelmail.cron
rm -f /etc/httpd/conf.d/
4. 아파치 설정
# vi httpd.conf
Alias /mail "/usr/share/squirrelmail"
<Directory "/webmail">
Options Indexes FollowSymlinks MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
5. php.ini 파일 수정
register_globals = On
session.use_cookies = 1
file_uploads = On
sendmail_path = /usr/sbin/sendmail
6. 한글 설정.
/usr/share/squirrelmail/config/config.php
27 $squirrelmail_default_language = 'euc-KR';
28 $default_charset = 'euc-KR';
메일확인