I upgraded from Debian 5 to Debian 6, and in doing so went from Postfix 2.5.5 to 2.7.1. I'm using MySQL as a backend for virtual domains/mailboxes.
After the upgrade, I'm able to receive mail from outside sources, but when I try to relay outbound mail, I'm getting 554 Relay access denied. Here's what I think are the relevant configuration parameters in my main.cf:
mydestination =
relayhost = # using virtuals
mynetworks = all
smtpd_recipient_restrictions =
reject_invalid_hostname,
reject_unknown_recipient_domain,
reject_unauth_pipelining,
permit_mynetworks,
permit_sasl_authenticated,
#reject_unauth_destination,
check_relay_domains,
reject_non_fqdn_recipient,
permit
smtpd_sender_restrictions =
permit_sasl_authenticated,
permit_mynetworks,
reject_non_fqdn_sender,
reject_unknown_sender_domain,
reject_unauth_pipelining,
permit
Can someone please help me to understand what might have changed in the upgrade that would cause this to break?
This probably won't be much helpful for you but it would be worth reading:
It looks like
mynetworks = all
is no longer a valid setting. Changed this tomynetworks = 127.0.0.0/8
, restarted postfix, and it's working again.