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] 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 On Mon, Aug 11, 2008 at 11:17 AM, Magnus Bäck <[EMAIL PROTECTED]> wrote: > On Mon, August 11, 2008 10:29 am, Wadeegh Hendricks said: > > > I have a mail server setup to relay all outgoing mail to another server > on > > the internet that will do antivirus scanning, SPAM scanning and adding > > disclaimers to emails. There are a few emails that we do not want > > disclaimers added to and thus need the mail to be relayed directly to the > > internet and not via this other server. Is it possible for Postfix to > > relay mail based on sender address? I am aware of destination address > and > > destination domain based but this will not work in my case as it has to > be > > based on the sender address. > > http://www.postfix.org/postconf.5.html#smtp_sender_dependent_relayhost_maps > > -- > Magnus Bäck > [EMAIL PROTECTED] >