- 论坛徽章:
- 0
|
我在RH9.0上装了postfix-2.1.6+cyrus-sasl-2.1.12,在测试时出现了
[root@localhost anson]# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 www.dreamfully.com ESMTP Postfix
ehlo localhost
250-www.dreamfully.com
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-AUTH PLAIN LOGIN
250 8BITMIME
auth plain dGVzdAB0ZXN0AGFiYw==
535 Error: authentication failed
然后在MAILLOG看到:
Aug 28 13:20:00 localhost postfix/smtpd[1474]: connect from localhost.localdomain[127.0.0.1]
Aug 28 13:20:19 localhost postfix/smtpd[1474]: warning: SASL authentication failure: cannot connect to saslauthd server: No such file or directory
Aug 28 13:20:19 localhost postfix/smtpd[1474]: warning: SASL authentication failure: Password verification failed
Aug 28 13:20:19 localhost postfix/smtpd[1474]: warning: localhost.localdomain[127.0.0.1]: SASL plain authentication failed
Aug 28 13:25:19 localhost postfix/smtpd[1474]: timeout after AUTH from localhost.localdomain[127.0.0.1]
Aug 28 13:25:19 localhost postfix/smtpd[1474]: disconnect from localhost.localdomain[127.0.0.1]
Aug 28 13:41:19 localhost postfix/postalias[758]: warning: /etc/postfix/aliases.db: duplicate entry: "postfix"
Aug 28 13:41:19 localhost postfix/postalias[758]: warning: /etc/postfix/aliases.db: duplicate entry: "postfix"
Aug 28 13:41:26 localhost postfix/postfix-script: starting the Postfix mail system
Aug 28 13:41:26 localhost postfix/master[871]: daemon started -- version 2.1.6
Aug 28 13:45:00 localhost postfix/smtpd[936]: connect from localhost.localdomain[127.0.0.1]
Aug 28 13:45:39 localhost postfix/smtpd[936]: warning: SASL authentication failure: Password verification failed
Aug 28 13:45:39 localhost postfix/smtpd[936]: warning: localhost.localdomain[127.0.0.1]: SASL plain authentication failed
Aug 28 13:45:47 localhost postfix/smtpd[936]: disconnect from localhost.localdomain[127.0.0.1]
请问那位知道是什么意思吗??
用postconf -n
alias_database = hash:/etc/postfix/aliases
alias_maps = hash:/etc/postfix/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
html_directory = no
inet_interfaces = all
mail_owner = postfix
mailq_path = /usr/bin/mailq
manpage_directory = /usr/local/man
mydestination = $myhostname,mail.$mydomain, www.$mydomain
mydomain = dreamfully.com
myhostname = www.dreamfully.com
mynetworks = hash:/etc/postfix/access
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = /etc/postfix/readme_files
relay_domains = dreamfully.com
sample_directory = /etc/postfix
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
smtpd_client_restrictions = permit_sasl_authenticated
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated,reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain =
smtpd_sasl_security_options = noanonymous
unknown_local_recipient_reject_code = 550 |
|