On Mon, Sep 20, 2010 at 03:15:37PM -0400, Brian Pribis wrote:

> If I put
> 
>       addr...@virtual_domain m...@gmail.com
> 
> Shouldn't it simply forward email from the first address to my gmail account?

Yes.

> What happens is the mail does go to gmail but if I hit "reply" it
> tries to mail back to addr...@vitual_domain    instead of the original
> sender.

You are confused. Reply-All, will reply to both the Sender and all
Recipients, other than any the Mail User Agent (in this case Gmail)
knows to be yours.

So if you Reply, the reply will go to the From: address. Virtual rewriting
does not change the From: address.

If you Reply-All, then the reply will Cc the forwarded mailbox.

It is of course possible that you are implementing forwarding in some
other way, that does change the From: address, but that is not how
Postfix virtual alias rewriting works.

-- 
        Viktor.

Reply via email to