Am 10.02.2013 23:59, schrieb Curtis Maurand: > My currwnt setup has the imap connecting to a remote server on a private > network. The imap server is dbmail 2.2.17. > > Postfix is a member of the sasl group. There is an sasldb2 file just in > case.
i am using dovecot as proxy in front of dbmail since 2009 and for sasl auth because this way you have ecryption, CRAM-MD5 and so on for IMAP as also the same SASL auth mechs for SMTP if postfix is using dovecot for SASL the sql-config below is for a localhost where dbmail-imapd is listening on 127.0.0.1:20143 and dovecot on 0.0.0.0:143 ________________________________ relevant snippets from dovecot.conf # configure proxy-database passdb { driver = sql args = /etc/dovecot/sql.conf } # we are not using local users userdb { driver = static args = static uid=15000 gid=15000 home=/dev/null } # configure backend for postfix sasl-auth service auth { unix_listener /var/spool/postfix/private/auth { mode = 0660 user = postfix group = postfix } } ________________________________ [root@srv-rhsoft:~]$ cat /etc/dovecot/sql.conf driver = mysql connect = host=mysqlhost dbname=dbmail user=dbmail password=************ password_query = SELECT passwd as password, '127.0.0.1' as host, '20143' as port, userid as destuser, passwd AS pass, 'Y' AS nologin, 'Y' AS nodelay, 'Y' AS proxy FROM dbmail_users WHERE userid='%u' default_pass_scheme = plain
signature.asc
Description: OpenPGP digital signature