Re: Rewriting envelope sender for aliases

2010-01-14 Thread Victor Duchovni
On Fri, Jan 15, 2010 at 02:39:11AM +0100, Hector Martin wrote: > Victor Duchovni wrote: > > On Thu, Jan 14, 2010 at 01:11:17AM +0100, Hector Martin wrote: > > Perhaps with an SRS milter, or similar content filter, assuming these > > take extreme caution to avoid loops (never rewrite "<>" to a non

Re: Rewriting envelope sender for aliases

2010-01-14 Thread Hector Martin
Victor Duchovni wrote: > On Thu, Jan 14, 2010 at 01:11:17AM +0100, Hector Martin wrote: > Perhaps with an SRS milter, or similar content filter, assuming these > take extreme caution to avoid loops (never rewrite "<>" to a non empty > return path) and provide appropriate means for bounces to come b

Re: Rewriting envelope sender for aliases

2010-01-13 Thread Victor Duchovni
On Thu, Jan 14, 2010 at 01:11:17AM +0100, Hector Martin wrote: > 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 > b...@gmail.com to f...@example.com would turn into a mail from > f...@example.com to foo.

Rewriting envelope sender for aliases

2010-01-13 Thread Hector Martin
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: f...@example.com foo...@gmail.com ... I find that sometimes my mail is dropped by filters along the w