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

Re: postfix + TLS + SASL



Le Thu, 08 Jul 2004 13:32:19 +0200, Jeremy Monnet a voulu dire :

> Bonjour la liste !
> 
> J'essaie d'installer l'authentification sasl sur mon server postfix 
> perso. Je voyage beaucoup, et changer sans cesse de server SMTP
> m'ennuie un peu (en fait sous linux j'ai un postfix local, mais pas
> sous windows, et je ne veux pas rebooter sans cesse pour envoyer un
> mail).
> 
> Pour la configuration j'ai suivi 
> http://www.projektfarm.com/en/support/debian_setup/
> 
> Et j'obtiens bien les lignes :
> sauterelle:/home/jems# telnet localhost 25
> Trying 127.0.0.1...
> Connected to localhost.
> Escape character is '^]'.
> 220 sauterelle.jems0.dyndns.org ESMTP Postfix (Debian/GNU)
> ehlo localhost
> 250-sauterelle.jems0.dyndns.org
> 250-PIPELINING
> 250-SIZE 10240000
> 250-VRFY
> 250-ETRN
> 250-STARTTLS
> 250-AUTH CRAM-MD5 DIGEST-MD5 LOGIN PLAIN NTLM
> 250-AUTH=CRAM-MD5 DIGEST-MD5 LOGIN PLAIN NTLM
> 250 8BITMIME
> 
> Toutefois je n'arrive pas a authentifier :
> dans /var/log/mail.log j'ai :
> Jul  8 12:21:34 sauterelle postfix/smtpd[15333]: warning: SASL 
> authentication problem: unable to open Berkeley db /etc/sasldb
> 2: No such file or directory
> Jul  8 12:21:34 sauterelle postfix/smtpd[15333]: warning: SASL 
> authentication problem: unable to open Berkeley db /etc/sasldb
> 2: No such file or directory
> Jul  8 12:21:34 sauterelle postfix/smtpd[15333]: warning: SASL 
> authentication failure: no secret in database
> Jul  8 12:21:34 sauterelle postfix/smtpd[15333]: warning: 
> host52-112.pool8172.interbusiness.it[IP address]: SASL CRAM-MD5 a
> uthentication failed
> 
> dans /etc/postfix/sasl/smtpd.conf j'ai pwcheck_method = pwcheck
> 
> Par contre je n'ai pas pwcheck ??? j'ai pwcheck_sasl, je ne sais pas
> si c'est le même ? J'ai fait un lien sur pwcheck_sasl, mais ca ne
> marche pas mieux.
> 
> Des idées ? C'est sur du woody unstable.

C'est simple, tu n'as pas créé la base des utilisateurs. Il faut donc
les créer grâce à la commande /usr/sbin/saslpasswd.

Voici un lien qui t'expliquera tout:
http://baptiste.mille-mathias.info/files/Postfix_SASL/

Il y a aussi cette doc beaucoup plus complète (serveur complet):
http://www.badoual.org/dir/repositorium/serveur_mail.htm

-- 
A+

Attachment: pgp4JsfNqr_rB.pgp
Description: PGP signature


Reply to: