http://egloos.zum.com/anti1346/v/4950923
root@dns1 ~]# tail /var/log/maillog
Mar 30 02:21:29 dns1 dovecot: pop3-login: Login: user=<scbyun>, method=PLAIN, rip=192.168.43.237, lip=192.168.43.8
Mar 30 02:21:29 dns1 dovecot: POP3(scbyun): Disconnected: Logged out top=0/0, retr=0/0, del=0/1, size=579
Mar 30 02:22:53 dns1 sendmail[2463]: p2THMouO002463: ruleset=check_rcpt, arg1=<anti1346@gmail.com>, relay=[192.168.43.237], reject=550 5.7.1 <anti1346@gmail.com>... Relaying denied. IP name lookup failed [192.168.43.237]
[해결 방법]
[root@dns1 ~]# cat /etc/mail/access
# Check the /usr/share/doc/sendmail/README.cf file for a description
# of the format of this file. (search for access_db in that file)
# The /usr/share/doc/sendmail/README.cf is part of the sendmail-doc
# package.
#
# by default we allow relaying from localhost...
Connect:localhost.localdomain RELAY
Connect:localhost RELAY
Connect:127.0.0.1 RELAY
vi /etc/mail/access
Connect:192.168.43 RELAY <=== mail 서버에 접속할 IP 추가
[root@dns1 ~]#
[root@dns1 ~]# /usr/sbin/makemap hash /etc/mail/access < /etc/mail/access
(sendmail 재시작 없이 바로 적용됨)