23 Jan
2014
23 Jan
'14
12:14 a.m.
Zitat von Dmitry <rcpt.dmitry@gmail.com>:
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