Hi,
i need to make a configuration to send mails as below:

u...@domain.com ----> IP1
user.to...@domain.com ----> IP2

So i added on transport_maps:
domain.com smtp:[IP1]

and on header_checks:
/^to:.*\.town1@domain\.com/       FILTER smtp:[IP2]

It's ugly, but it works... obviously EXCEPTS for mails sent to both addresses.
In fact if I send to us...@domain.com and in copy to
user2.to...@domain.com, the FILTER sends the mail to IP2 only.

Is there a way to make postfix send one mail to us...@domain.com via
IP1, and one mail to user2.to...@domain.com via IP2?

I know a third level domain should be used, but I'm not the admin of
the domain.com servers.

Thanks!
Andrea

Reply via email to