Hi,
I have used cyrus-sasl in the past, which is what you'll find the
majority of howto's describe, but it's a pain to get right. It's pretty
easy with postfix and dovecot (using it here with dbmail for storage).
I'm using the Debian etch packages.
In /etc/postfix/main.cf:
smtpd_sasl_auth_enable = yes
broken_sasl_auth_clients = yes
smtpd_sasl_type = dovecot
smtpd_sasl_path = private/auth
smtpd_recipient_restrictions = permit_mynetworks,
permit_sasl_authenticated
In /etc/dovecot/dovecot-sql.conf:
driver = mysql
connect = host=10.10.10.20 dbname=dbmail user=dbmailuser password=dbmailpass
default_pass_scheme = PLAIN
password_query = SELECT userid as user, passwd as password FROM
dbmail_users WHERE userid = '%u'
in /etc/dovecot/dovecot.conf:
protocols = none
disable_plaintext_auth = no
auth default {
mechanisms = plain login
passdb sql {
args = /etc/dovecot/dovecot-sql.conf
}
userdb sql {
args = /etc/dovecot/dovecot-sql.conf
}
user = root
socket listen {
client {
path = /var/spool/postfix/private/auth
mode = 0660
user = postfix
group = postfix
}
}
}
Hope that helps, it's working great here for 4000 users.
Regards,
Josh.
Curtis Maurand wrote:
I'd love to see working instructions for smtp auth. I'd rather use
that and change my 40 or 50 users over to that.
_______________________________________________
DBmail mailing list
[email protected]
https://mailman.fastxs.nl/mailman/listinfo/dbmail