Matt Holgate:
> Indeed - sorry, I didn't explain myself very well!
> 
> What I'm trying to achieve is to forward unextended addresses in my 
> parent's domain to extended addresses at Gmail.
> 
> My parents share a common gmail account, and use Gmail filters to sort 
> 'private' messages sent to their address extensions into separate folders.
> 
> I've set this up on my Postfix server as follows:
> 
> dougandmari...@theirdomain.com   holga...@gmail.com
> d...@theirdomain.com             holgates+d...@gmail.com
> mari...@theirdomain.com          holgates+mari...@gmail.com

This looks like the "fantasy domain" example in
http://www.postfix.org/SOHO_README.html#fantasy

You'd do something like:

/etc/postfix/main.cf:
    smtp_generic_maps = hash:/etc/postfix/generic

/etc/postfix/generic:
    dougandmari...@theirdomain.com  holga...@gmail.com
    d...@theirdomain.com            holgates+d...@gmail.com
    mari...@theirdomain.com         holgates+mari...@gmail.com
    @theirdomain.com                holgates+ot...@gmail.com

This correctly fixes the address in From/To/Cc/etc headers, too.

        Wietse

Reply via email to