| |||||||||||||||||||||||||||||||
|
I've been battling setting up Postfix to authenticate SMTP users via SASL on a Nexenta (Debian like OpenSolaris distro). For this I've been following various howtos and to make a long story short I have managed to get this up and running so my users are now authenticated from the sasldb. I configured SASL to use the sasldb backend and I've configured Postfix (to the best of my knowledge) to use the saslauthd by: 1) creating the file /etc/postfix/sasl/smtpd.conf which contains the line: pwcheck_method: saslauthd 2) editing the main.cf file to contain this: smtpd_sasl_application_name = smtpd smtpd_sasl_auth_enable = yes smtpd_sasl_security_options = noanonymous smtpd_sasl_local_domain = $myhostname broken_sasl_auth_clients = yes smtpd_recipient_restrictions = permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination As I said... this works... even too well. The problem is that I tried turning off saslauthd but Postfix is still authenticating users from my sasldb! I did an strace (actually called truff on Solaris) run of Postfix and found out that grepping the output for "sasldb" yielded a lot of responses BOTH when saslauthd was turned of as well as when it was running. Grepping for "saslauth" however, yields nothing! Can anyone explain to me why Postfix seems to be "falling back" to a mechanism that it shouldn't know anything about (according to my configuration files at least)? How can I force Postfix to use saslauthd and _only_ saslauthd? With kind regards and gratitude for an otherwise great piece of software. Stefan Freyr. p.s. I'm attaching a link to both trace files in case anyone is interested. Both contain the call traces for postfix (and all child processes), one of them is for a run when saslauthd was running and the other one was for a run when saslauthd was not running. Both "runs" just consisted of starting postfix, sending a single mail (mail was identical in both runs) using SMTP authentication and turning off postfix. Here are the files but be warned, they're each ~1.6Mb: http://datalab.ru.is/~stefan/postfix_nosasl.truss http://datalab.ru.is/~stefan/postfix_withsasl.truss
| ||||||||||||||||||||||||||||||
© 2004-2008 readlist.com