On 06/01/12 14:30, Mark Rogers wrote:
Agreed, the error doesn't seem to stack up with what is going on. Postfix seems to be trying to deliver the email locally not relay it.
And therein lies the clue. And proof that I'm an idiot!
The test I was performing was from a test account (test domain) to my real email addresses (real company domain). However when I set up VirtualMin it would appear that I added my company's domain to the configuration (which would have made sense at the time). So the test was failing precisely because Postfix believed the email needed to be delivered locally (but I hadn't set up any users for that domain, hence the error), and wasn't trying to relay at all.
When I change the test to go to another email address that isn't configured in any way on the server it works fine, with or without the settings for smtpd_sender_restrictions, smtp_use_tls or smtpd_sasl2_auth_enable.
Thanks for your help, it pointed me in the direction of the answer.
Would still love to know why I can't receive replies though.
Mark