0

I have two machines running postfix, one is the primary mail server, the other is a backup relay.

Both servers have an MX record, the backup having a lower priority.

Most mail is relayed fine, but the backup occasionally tries to relay mail to it's own FQDN resulting in "mail for domain.com loops back to myself" in the logs and delayed emails.

How can I prevent the backup postfix from attempting to relay to it's own MX record?

1 Answer 1

-1

How can I prevent postfix from attempting to relay to the second MX record?

  1. Check server hostname: command $hostname
  2. Check mydestination main.cf: mydestination = $myhostname, $mydomain, localhost.$mydomain, localhost
1
  • 1
    wouldn't specifying 'mydestination = ... $mydomain ...' try to deliver mail to a local spool rather than relaying it?
    – Cogsy
    Oct 12, 2010 at 6:33

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .