Zitat von Dmitry <[email protected]>:

Users imap - 10.10.10.10:143
User smtp - 10.10.10.10:25
10.10.10.10:25 - postfix with
sender_dependent_relayhost_maps = hash:$config_directory/relayhost_maps

Dmitry,

just an untested idea:

leave the RFC5321.MAILFROM empty. That's fine as it avoid loops.
let the user set a RFC5322.From via sieve:

vacation :addresses "user@domain1 :from "user@domain1"
"vacation message"

Now you could filter using header_checks (http://www.postfix.org/header_checks.5.html)
/From: .*@domain1/ FILTER transport1:[1.1.1.1]
...


Andreas

Reply via email to