On Fri, Aug 21, 2009 at 6:37 PM, FRLinux <frlinux at gmail.com> wrote:
> Hello all,
>> I have configured a postfix server to speak TLS on SMTP with auth via
> pam_mysql. saslauthd works nicely locally but when trying over SMTP,
> it fails:
Hello all, I know I started this thread back in August but found the
solution only this week end as I had some time to spend on this again.
Solution was very obvious if I had looked at it properly. I was
missing the following directive: smtpd_recipient_restrictions =
My second mistake was the order, as i originally had:
permit_sasl_authenticated, reject_unauth_destination,
permit_mynetworks
It would allow the client to send the mail, then postfix would block
it reading the unauth_destination one.
So here's the working line: smtpd_recipient_restrictions =
permit_mynetworks, permit_sasl_authenticated,
reject_unauth_destination
As I said, i know most people had this working, but I thought closing
the thread and documenting might be a good idea.
Cheers,
Steph
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!