Thanks Mike: Got it working fine with SASL2 using the wiki. It wasn't really as complicated as it initially appeared.
Regards, Dave -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of M. J. [Mike] OBrien Sent: Wednesday, January 25, 2006 9:12 PM To: DBMail mailinglist Subject: Re: [Dbmail] Postfix + dbMail + smtp auth Hi Dave: With Postfix this is best done with SASL2. You MUST store your DbMail user passwords in plaintext or you'll tear your hair out trying to figure out why it breaks. Any form of encrypted PW in the database will cause SASL to fail. I may be wrong on this but from early days to current dev Postfix I have never seen a way to have Postfix do the authentication query directly to the database. I also see this approach as a huge security issue, level red, so I imagine Wietse Venema would not have favoured it with much thought. Cyrus SASL is THAT good! SASL or SASL2 with MySQL authentication configured is a common aproach. You can configure this in main.cf as 'authentication required' or the default 'authentication optional'. Again, you MUST store your DbMail user passwords in plaintext. Check out this http://www.dbmail.org/dokuwiki/doku.php?id=smtp_auth pn the Wiki and see if that helps. Write me if you are stuck. If you do figure a better way, please let me know as I would love to see that :o) best... Mike ----- Original Message ----- From: "Dave Williams" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Wednesday, January 25, 2006 9:29 AM Subject: [Dbmail] Postfix + dbMail + smtp auth >I have dbmail working great with postfix-mysql to check for aliases using > your instructions on setting up sql-recipients.cf and adding the following > to mail.cf : > > > > Local_recipient_maps=mysql:/etc/postfix/sql-recipients.cf > > > > My question: > > It seems like there should be a similar way to do smtp authentication. > But > every example that I can google requires pam-mysql and SASL/SMTP-AUTH. Is > there an easier way to have postfix directly query dbmail? > > > > Thanks, Dave > > > > ---------------------------------------------------------------------------- ---- > _______________________________________________ > Dbmail mailing list > [email protected] > https://mailman.fastxs.nl/mailman/listinfo/dbmail > _______________________________________________ Dbmail mailing list [email protected] https://mailman.fastxs.nl/mailman/listinfo/dbmail
