List Info

Thread: SMTP AUTH using cyrus sasl, but w/o saslauthd




SMTP AUTH using cyrus sasl, but w/o saslauthd
country flaguser name
Austria
2007-08-31 17:53:07
It's so simple, once you know it:

Stop running saslauthd, you don't need it.
Forget that /usr/lib/sasl2/smtpd.conf

Instead, edit /etc/sasl2/smtpd.conf:
pwcheck_method: auxprop
auxprop_plugin: sql
mech_list: DIGEST-MD5 CRAM-MD5 PLAIN LOGIN
sql_engine: pgsql
sql_hostnames: DBHOST.fqdn
sql_user: USER
sql_passwd: PASS
sql_database: dbmail
sql_select: SELECT passwd FROM dbmail_users WHERE userid =
'%u%r'
sql_verbose: no

Restart Postfix, use SMTP AUTH. Have fun.
I found the hint here, but both are more complicated than my

explanation: 
http://listi.jpberlin.de/pipermail/p
ostfixbuch-users/2006-August/027527.html
http://forums.gentoo.org/vi
ewtopic-t-312591.html?sid=a10e9fa09ef6aba6646e39c3c1e98812

mfg zmi
-- 
// Michael Monnerie, Ing.BSc    -----      http://it-management.at
// Tel: 0676/846 914 666                     
.network.your.ideas.
// PGP Key:         "curl -s http://zmi.at/zmi.asc | gpg
--import"
// Fingerprint: EA39 8918 EDFF 0A68 ACFB  11B7 BA2D 060F
1C6F E6B0
// Keyserver: www.keyserver.net                   Key-ID:
1C6FE6B0

_______________________________________________
DBmail mailing list
DBmaildbmail.org
htt
ps://mailman.fastxs.nl/mailman/listinfo/dbmail

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )