Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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?

share|improve this question
    
I hate to say it but I have been bitten by this too many times. If you depend on a software package for production services, you should be compiling and installing it in /opt. Depending on a distro's packaging (even as good as debian), eventually gets you in trouble. –  Mike Pennington May 2 '11 at 8:18

2 Answers 2

This probably won't be much helpful for you but it would be worth reading:

share|improve this answer
up vote 1 down vote accepted

It looks like mynetworks = all is no longer a valid setting. Changed this to mynetworks = 127.0.0.0/8, restarted postfix, and it's working again.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.