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

Re: Pb avec SMTP AUTH



Vinz wrote:

Bonsoir la liste,

Je rencontre un petit probleme pour mettre en place le SMTP AUTH avec postfix, voila comment je procede:


Dans mon main.cf:

smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
smtpd_sasl_local_domain = $mydomain
smtp_sasl_auth_enable = no

smtpd_recipient_restrictions = permit_mynetworks,
                               reject_maps_rbl,
                               reject_unauth_destination,
                               permit_sasl_authenticated,
                               check_relay_domains


ensuite je cree un /etc/postfix/sasl/smtpd.conf
contenant pwcheck_method: sasldb

je rajoute mes users avec:
saslpasswd -u `postconf -h mydomain` user

et pour contourner le chroot, un lien symbolique de /var/spool/postfix/etc/sasldb -> /etc/sasldb
pas de liens symbolique ca ne marchera pas normalement

Je redemarre postfix, et essaye de me logger en telnet:

telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Connection closed by foreign host.
Soit je me fais degager direct, soit je reste connecte mais pas de message
du server...

Dans mes logs:
Jan 25 02:48:48 monhost postfix/smtpd[10576]: fatal: no SASL authentication mechanisms
Jan 25 02:48:49 monhost postfix/master[10249]: warning: process /usr/lib/postfix/smtpd pid 10576 exit status 1
Jan 25 02:48:49 monhost postfix/master[10249]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling


Aurais-je oublier quelquechose ?





Reply to: