Wadeegh Hendricks wrote:
Thanks,

From what I can see is that you can relay on an individual address or domain name. My understanding is that the format for the file is as follows:

sender_address relay_host
ie [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> example.foo.com <http://example.foo.com/>

What happens if you just want the server to do an MX lookup and send to the primary MX for the particular destination domain? What is the format for that if it is possible?

Thanks

[please don't top-post]

Yes, you can send to the MX of a specified domain.
http://www.postfix.org/postconf.5.html#sender_dependent_relayhost_maps
http://www.postfix.org/postconf.5.html#relayhost

so to send to the MX of example.com, the sender_dependant_relayhost_maps entry would look like:
[EMAIL PROTECTED]  example.com

To send to the A record of example.com (no MX lookup) enclose the hostname in "[ ]" braces.
[EMAIL PROTECTED]  [example.com]

--
Noel Jones

Reply via email to