On Fri Feb 05 2016 17:47:50 Wietse Venema <[email protected]> said: > > Not with things that are built into Postfix. Probably with > a policy daemon (postfwd?) or external content filter.
OK, how about if we look at it this way. Is it possible to redirect an email to an address based on the sender’s address? For example, ALL email from [email protected] would be redirected to [email protected] Then I could make [email protected] and alias. header_check.prce /^From:.*[email protected]/ REDIRECT [email protected] virtual [email protected] user1, user2, user3 That is only matching one line and REDIRECT is only going to one address. I tried this in header_checks.pre but I get postfix/pipe[14747]: 3pyV3b1QfJzJMjC: to=<[email protected]>, orig_to=<[email protected]>, relay=dovecot, delay=0.08, delays=0.06/0/0/0.02, dsn=5.1.1, status=bounced (user unknown) # postmap -q [email protected] hash:/etc/postfix/virtual [email protected],[email protected] The users test1 and test2 exist -- "You can think and you can fight, but the world's always movin', and if you wanna stay ahead you gotta dance."
