On Wed, Aug 21, 2013 at 03:27:08PM +0200, Manuel Bieling wrote: > On 08/21/2013 01:08 PM, Lang Alex wrote: > >-debian 7, postfix 2.9.6 > >-no local domain, no mailboxes (root also aliased out of machine) > >-only open relay with authorized people, mysql db backend > >-no long way: postfix -dovecot sasl - pam - mysql conect > >-only direct: postfix - local mysql ( - view to remote dbs,thats > > A quick Google search says you can use saslauthd and link it > directly to MySQL. This is the Cyrus way, but without using the > IMAP server as your authentication back-end. Hope this helps.
While this seems to make more sense than choosing Dovecot, I still would not advise it. Cyrus SASL requires linking at compile time (though probably not a factor with Debian's dynamic linking patch.) Dovecot can be simplified to only provide the auth socket (no IMAP/POP3) and do the SQL lookups. -- http://rob0.nodns4.us/ -- system administration and consulting Offlist GMX mail is seen only if "/dev/rob0" is in the Subject: