(05-25-2009 07:25 PM)kilburn Wrote: It was my fault, not yours. You are missing a proper "relay_domains" map, something like:
/etc/postfix/main.cf
Code:
...
relay_domains = hash:/etc/postfix/relay_domains
...
/etc/postfix/relay_domains
Code:
domain1.tld OK
domain2.tld OK
...
Remember to postmap the relay_domains file and reload postfix config. This way postfix will relay things about these domains but not about any others
You're an absolute star!
I'll try it now and let you know...
BTW - temporarily setting the relay domain as IN MX 5 relay.domain.tld. in DNS...
Is that a valid test? It should then forward on...
Cheers,
Jx
(05-25-2009 07:28 PM)vetch101 Wrote: (05-25-2009 07:25 PM)kilburn Wrote: It was my fault, not yours. You are missing a proper "relay_domains" map, something like:
/etc/postfix/main.cf
Code:
...
relay_domains = hash:/etc/postfix/relay_domains
...
/etc/postfix/relay_domains
Code:
domain1.tld OK
domain2.tld OK
...
Remember to postmap the relay_domains file and reload postfix config. This way postfix will relay things about these domains but not about any others
You're an absolute star!
I'll try it now and let you know...
BTW - temporarily setting the relay domain as IN MX 5 relay.domain.tld. in DNS...
Is that a valid test? It should then forward on...
Cheers,
Jx
Ah ha - well, it seems to work now with the backup domain as MX 5...
I'll give it another go with the main server down for a while...
Cheers,
Jx