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

Alexander Dalloz ad+lists at uni-x.org
Wed Jan 16 08:33:56 UTC 2013


Am 16.01.2013 09:02, schrieb Alexander Farber:
> 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

Catch-alls are hardly a good idea.

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

Alexander




More information about the CentOS mailing list