[CentOS] Using postfix in CentOS 6 to relay mails to First.Last at gmail.com

Wed Jan 16 08:02:08 UTC 2013
Alexander Farber <alexander.farber at gmail.com>

Hello -

On Tue, Jan 15, 2013 at 3:05 PM, Wietse Venema <wietse at 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

to /etc/postfix/main.cf and

    @balkan-preferans.de   First.Last at gmail.com
    @videoskat.de          First.Last at gmail.com

to /etc/postfix/virtual and then

    # postmap /etc/postfix/virtual
    # service reload postfix

I've found that in
http://www.postfix.org/VIRTUAL_README.html#virtual_alias

Thanks
Alex