請教postfix配合cyrus-sasl的問題
½Ð°Ý¦U¦ìªB¤Í¡A¤p§Ì¦b¦Û¤vªºDebian¾÷¾¹¤W¬[³]postfix-tls
¦¹postfix¬O¤ä´©cyrus-saslªº¡A¦Ó¦b³]©w¤W
¤p§Ìªº¤èªk¦p¤U
½s¿è/etc/postfix/main.cf
### SASL support
# server
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = $myhostname
smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,check_relay_domains
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
# client
smtp_sasl_auth_enable = yes
µM«á¦b/usr/lib/sasl/¤U±¼W¥[¤@Ósmtpd.conf
¤º®e¦p¤U
pwcheck_method: sasldb
µM«á¦b¨Ï¥Îsaslpasswd -c asho -a smtpd
¦A±N/etc/sasldbÅv§ï¤@§ï
chgrp postfix /etc/sasldb
chmod 640 /etc/sasldb
Ǧ]/etc/init.d/postfix restart
¦bmozilla mail±H«Hªº®ÉÔ¡A·|¥X²{¤@Ó¹ï¸Ü®Øn§Ú¿é¤J±K½X¡A
¦ý§Ú¿é¤J¥¿½T¤§«á¡A¨ÌµM·|¶]¥X¹ï¸Ü®Ø¨Ó¡C
§ÚÀ˹î/var/log/mail.log¥X²{¤U¦C¿ù»~
SASL PLAIN authentication failed
³°ÄòÁÙ·|¥X²{¤@¨Ç¿ù»~°T®§
specify a password table via the `smtp_sasl_password_maps' configuration parameter
¬Ýpostfixªº¤å¥ó¦³´£¨ìsmtp_sasl_password_maps¸òsasldb¬O¤£¤@¼Ëªº¡A
¦ý§Ú¨ÌµMµLªk»{ÃÒ¦¨¥\¡A·Q½Ð±Ð¦U¦ì³oÀ³¸Ó¦p¦ó¸Ñ¨M©O¡H
ÁÂÁ¡C
¥t¥~¡A¤p§Ì¥Îtelnet $myhostname 25¥X²{ªºµ²ªG¦p¤U
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-AUTH LOGIN PLAIN CRAM-MD5 DIGEST-MD5
250-AUTH=LOGIN PLAIN CRAM-MD5 DIGEST-MD5
250-XVERP
250 8BITMIME
--
------ ªü«H ------
Welcome To Debian World!!
http://www.debian.org/
SeXyDebian±Ò°Ê¤¤...
--
[1;32m¡° Origin: [33mSayYA ¸ê°T¯¸ [37m<bbs.sayya.org> [m
[1;31m¡» From: [36m61-217-65-228.hinet-ip.hinet.net[m
Reply to: