Postfix - Sasl - mysql

Remko Lodder remko at
Tue Apr 6 23:48:07 PDT 2004

Brent Wiese wrote:
> I (tried) following the instructions at:
> I have postfix virtual users working in MySQL. I have courier imap/pop3
> working w/ virtual users. I wanted to add SMTP auth.
> I added the cyrus-sasl2 port (also chose support for it in postfix port)
> No go.
> I added the following lines to /usr/local/lib/sasl2/smtpd.conf (found this
> in another faq/tutorial, so it may be incorrect)
> sasl_pwcheck_method: auxprop
> sasl_auxprop_plugin: sql 
   sql_engine: mysql
   mech_list: login plain crammd6 digestmd5
> sql_user: postfix-user
> sql_passwd: thepassword
> sql_database: postfix
> sql_statement: SELECT password FROM mailbox WHERE username = '%u'
> sql_verbose: yes

That works for me..

Kind regards,

Remko Lodder A Dutch community for helping newcomers on the 

More information about the freebsd-questions mailing list