Thank  you.
It worked !

Have a nice day.


Brian Evans - Postfix List wrote:
wiseadmin wrote:
  
Thank you Wietse !
Unfortunately it doesnt work :(
In dovecot.conf the socket is /var/run/dovecot/auth-master
  
    
That is a master socket. Postfix uses a client socket.
  
When I added in main.cf I got permission denied (it has 600 and
root:wheel). I changed the permission in 666 (this is not ok, but I only
wanted to see if it works) and now I get in logs only "fatal: no SASL
authentication mechanisms".
I don't know what else to do. Some one said something about smtpd.conf
The file is in /usr/lib/sasl2/smtpd.conf and in /usr/lib/sasl2 and its
content is:
log_level:3
pwcheck_method: saslauthd
mech_list: plain login

  
    
You seem to be confusing Cyrus SASL (saslauthd) and Dovecot SASL.

If users can auth against Dovecot for mail retrieval, then it's
suggested to use Dovecot's auth mechanisms in Postfix for ease of
management.
http://www.postfix.org/SASL_README.html#server_dovecot outlines this.

Brian
  
What is frustrated is that the server worked for many months. I tried a
downgrade of postfix and I get the same error. maybe it is not from
postfix but from dovecot or saslauthd.

Is some one know what should I do please advice me. I'm stuck and I
don't know what to do.

Thank you

 
Wietse Venema wrote:
  
    
You need to update your main.cf:smtpd_sasl_path setting and specify
the location of the socket that the Dovecot server listens on.

For example, when dovecot.conf says:

    socket listen {
	...
	path = /var/spool/postfix/private/auth
	...

Then main.cf would say:

    smtpd_sasl_type = dovecot
    smtpd_sasl_path = private/auth

	Wietse

  
    
      


  

Reply via email to