OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: SMTP Auth + MySQL Question

From: Patrick Ben Koetter (pstate-of-mind.de)
Date: Wed Dec 01 2004 - 19:41:23 CST


* Michael Nguyen <michaelntwentyten.org>:
> The built-in MySQL support in Postfix seems pretty good to me. Being
> so, why do all the How-Tos regarding SMTP Auth + MySQL implementations
> in Postfix seem to include a Cyrus SASL configuration? I've
> configured Cyrus SASL before for use with Sendmail, but it seems to me
> that Postfix has enough backend to handle this on its own.
>
> Why is this required?

Postfix delegates the authentication in SMTP Authentication to Cyrus
SASL. If you want SASL to use an SQL "authentication backend", in your
case MySQL, you have to configure SASL to do so.

Postfix is totally unaware of the authentication backend SASL uses and
currently there is no other SASL support in Postfix, where Postfix would
use its own MySQL capabilities to query an authentication backend for
valid credentials.

If at all, it would be another yet to be created Postfix daemon that
would handle this. At least that is the latest news I read on
postfix-devel.

prick

--
SMTP AUTH howto:
<http://postfix.state-of-mind.de/patrick.koetter/smtpauth/>
SMTP AUTH debug utility:
<http://postfix.state-of-mind.de/patrick.koetter/saslfinger/>