Loading ...
Sorry, an error occurred while loading the content.

Re: custom routing

Expand Messages
  • Curtis Maurand
    ... of help on a complicated scenario that I can t seem ... work. ... with both a to and original ... What i would like to achieve is that mail going to the
    Message 1 of 2 , Aug 16, 2013
    • 0 Attachment

      Carlos L wrote:
      > Hello all,
      > I'm looking for a bit of help on a complicated scenario that I can't seem
      > to get to work.
      >
      > I have mail that comes into a server a server with both a to and 'original
      > to' address
      >
      > What i would like to achieve is that mail going to the to addresses to go
      > through a smarthost instead of local maildir delivery
      >
      > Things I've tried removing the 'original to' domains from the domains
      > database.
      > Failed because it still checks against the table even though the "to"
      > domain is there the "original to" fails.
      >
      > I've tried header checks but I can't quite get the false regex to work
      > correctly because it evaluates every line of the header of so.
      >
      > Ive tried the sender_based stuff and neither worked.
      >
      > So the questions are:
      > Any way to have postfix accept mail for a domain from the internet but
      > when
      > local mailboxes relay to those same domains have it route through a
      > smarthost or mx record.


      transports

      someaddress@...               smtp:smarthost




    Your message has been successfully submitted and would be delivered to recipients shortly.