Hi, I use Dovecot with Postfix (ISPConfig 2.2.23) and receive the e-mail very well. The problem is the relay; the error log message is "fatal: no SASL authentication mechanisms". I added only this rows in /etc/postfix/main.cf (Debian 4): Code: smtpd_sasl_type = dovecot smtpd_sasl_path = private/auth An idea? Thanks a lot
Uhmmm I writed that rows in the postfix main.cf because I readed a thread, but I don't undestand very well So, now I read my file dovecot.conf and I've discovered this sub-section (row 952): Code: # It's possible to export the authentication interface to other programs: socket listen { #master { # Master socket is typically used to give Dovecot's local delivery # agent access to userdb so it can find mailbox locations. It can # however also be used to disturb regular user authentications. # WARNING: Giving untrusted users access to master socket may be a # security risk, don't give too wide permissions to it! #path = /var/run/dovecot/auth-master #mode = 0600 # Default user/group is the one who started dovecot-auth (root) #user = #group = #} client { # The client socket is generally safe to export to everyone. Typical use # is to export it to your SMTP server so it can do SMTP AUTH lookups # using it. path = /var/run/dovecot/auth-client mode = 0660 user = postfix group = postfix } } I must change this sub-section? In the directory /etc/postfix (Debian 4) there isn't a sub-directory "private/auth": I don't understand the row "smtpd_sasl_path = private/auth" in main.cf Thanks a lot
Please have a look at this thread for the nescessary configuration directives: http://www.howtoforge.com/forums/showthread.php?t=12308 I recommend to read the complete thread as there are several hints in other posts in the thread.
Please run Code: postconf -e 'smtpd_sasl_type = cyrus' postconf -e 'smtpd_sasl_path = smtpd' and restart Postfix.
Great! I changed the row 970 in dovecont.conf as "path = /var/spool/postfix/private/auth" and now the relay mechanism works. I'm sorry Till, but the thread http://www.howtoforge.com/forums/showthread.php?t=12308 is difficult for me and I understand it step by step. Thanks a lot and regards
Thanks Falko, but I need Dovecot for use the e-mail address as user. Now all work very well, I hope so! Regards