Alexander Farber:
> Hello -
> 
> On Tue, Jan 15, 2013 at 3:05 PM, Wietse Venema <wie...@porcupine.org> wrote:
> > http://www.postfix.org/BASIC_CONFIGURATION_README.html
> 
> with CentOS 6 I've ended up adding
> 
>     inet_interfaces = all
>     virtual_alias_domains = videoskat.de balkan-preferans.de

You don't need virtual_alias_domains for this, but it does not hurt.

> to /etc/postfix/main.cf and
> 
>     @balkan-preferans.de   first.l...@gmail.com
>     @videoskat.de          first.l...@gmail.com
>
> to /etc/postfix/virtual and then

The above wild-cards are sufficient to forward entire domains to gmail.

HOWEVER, there is one problem that you need to be aware of. If your
machine forwards SPAM to gmail, then gmail will decide that your
server is a spammer.  Gmail may then file "good" mail from your
machine to the spam folder. That happened when my wife forwarded
all her mail from work to gmail.

>     # postmap /etc/postfix/virtual
>     # service reload postfix
> 
> I've found that in
> http://www.postfix.org/VIRTUAL_README.html#virtual_alias

You did a good job of reading.

        Wietse

Reply via email to