[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Postfix + auth SMTP



Bonjour.
Je voulu mettre en place l'auth SMTP grace a la doc http://www.badoual.org/dir/repositorium/serveur_mail.htm, mais juste avec SASL et pas TLS, mais cela ne marche pas.

telnet localhost 25
Trying 127.0.0.1...
Connected to www.mondomaine.info.
Escape character is '^]'.
220 www.mondomaine.info ESMTP Postfix (Debian/GNU)
EHLO test
250-www.mondomaine.info
250-PIPELINING
250-SIZE 10240000
250-ETRN
250-AUTH LOGIN CRAM-MD5 DIGEST-MD5 PLAIN
250-XVERP
250 8BITMIME
AUTH PLAIN YmFwdGlzdGUAYmFwdGlzdGUAhjghjgjgjjg=
535 Error: authentication failed


les logs ne me donne rien de concluant.

Pour info :
1°) en plus de postfix (qui marche bien) j'ai installé les paquets libsasl-digestmd5-plain et libsasl-modules-plain, qui permettent l'authentification
2°) j'ai créé un fichier smtpd.conf dans /usr/lib/sasl et j'ai créé un lien dans /usr/local/lib/ du repertoire sasl (marqué dans la doc du package).
le fichier smtpd.conf contient :
pwcheck_method: sasldb
j'ai aussi créé un lien de ce fichier dans le repertoire /etc/postfix/sasl/ car il en etait aussi question dans une autre doc.
3°) j'ai créé le fichier /etc/sasldb uniquement accessible a postfix en rw via la commande
saslpasswd -c -u mondomaine.info baptiste

je joins le output de postconf -n.
voila, si quelq'un a une idée...
merci

alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = yes
biff = no
body_checks = pcre:/etc/postfix/body_checks
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/lib/postfix
disable_vrfy_command = yes
mailbox_command = 
mailbox_size_limit = 0
maps_rbl_domains = relays.ordb.org,   blackholes.mail-abuse.org,   relays.mail-abuse.org,   outputs.orbz.org
mydestination = $myhostname, localhost.localdomain, $mydomain
mydomain = mondomaine.info
myhostname = www.mondomaine.info
mynetworks = 127.0.0.0/8
myorigin = /etc/mailname
program_directory = /usr/lib/postfix
recipient_delimiter = +
relayhost = 
setgid_group = postdrop
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
smtpd_client_restrictions = permit_sasl_authenticated, permit_mynetworks
smtpd_delay_reject = yes
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = $mydomain
smtpd_sasl_security_options = noanonymous
smtpd_sender_restrictions = reject_unknown_sender_domain, reject_maps_rbl

Reply to: