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
> 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
> through a smarthost instead of local maildir delivery
> Things I've tried removing the 'original to' domains
from the domains
> Failed because it still
checks against the table even though the "to"
is there the "original to" fails.
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
local mailboxes relay to those same domains have it route through a
> smarthost or mx record.