postfix & telnet 554 5.7.1 Relay access denied

agideo@ats-lidian:~$ telnet localhost 25
Trying ::1...
Connected to localhost.
Escape character is '^]'.
220 ats-lidian ESMTP Postfix (Ubuntu)
ehlo localhost
250-ats-lidian
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-STARTTLS
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
mail from: [email protected]
250 2.1.0 Ok
rcpt to: [email protected]
554 5.7.1 <***@gmail.com>: Relay access denied


邮件日志
tail -f /var/log/mail.log

Feb 17 11:32:38 ats-lidian postfix/smtpd[4768]: warning: ::1: address not listed for hostname localhost
Feb 17 11:32:38 ats-lidian postfix/smtpd[4768]: connect from unknown[::1]


解决方案
sudo vi /etc/hosts

# from this...
::1     localhost ip6-localhost ip6-loopback

# ...to this
::1     ip6-localhost ip6-loopback


引用
http://ubuntuforums.org/showthread.php?t=1506067

你可能感兴趣的:(java,PHP,ubuntu,Access,Gmail)