Hi,

I have Postfix configured with delivery through virtual. Some users get
IMAP mailboxes and some users have their mail redirected elsewhere. I
have virtual_alias_maps set to a file like this:

[email protected] [email protected]
...

I find that sometimes my mail is dropped by filters along the way
because the envelope sender is not modified. For example, if
[email protected] sends mail to [email protected], mail.example.com ends up
sending out mail from [email protected] (to [email protected]), which may not
be seen as very legitimate and goes against SPF for some domains.

What I want to do is rewrite the envelope sender such that it appears to
come from the left hand side of the alias map file, so a mail from
[email protected] to [email protected] would turn into a mail from
[email protected] to [email protected]. Is there a way of doing this in
Postfix?

-- 
Hector Martin ([email protected])
Public Key: http://www.marcansoft.com/marcan.asc

Reply via email to