OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: A question on building mail gateway with Postfix

From: Ralf Hildebrandt (Ralf.Hildebrandtcharite.de)
Date: Tue Oct 31 2006 - 14:21:21 CST


* wadia <wadia2000163.com>:
> Hi All
> Currently, I'm going to build a mail gateway by using postfix, and the
> following is my requirements:
> 1) all the mails to aaa.com will be transferred to aaa.my.com pool.
> 2) all the mails to bbb.com will be transferred to bbb.my.com pool.
> 3) and all the other mails will be transferred to ccc.my.com pool.
>
> From the postfix document, I know that I can define 'transport' file
> like the following to finish 1) and 2), but I still have no idea how to
> configure postfix to make all the other mails transfer to ccc.my.com
> pool. Any body can help me? You help is appreciated.
>
> /etc/postfix/transport:
> aaa.com smtp <smtp.8.html>:[aaa.my.com pool]
> bbb.com smtp <smtp.8.html>:[bbb.my.com pool]

* :[ccc.my.com]

--
Ralf Hildebrandt (Ralf.Hildebrandtcharite.de) plonkcharite.de
Postfix - Einrichtung, Betrieb und Wartung Tel. +49 (0)30-450 570-155
http://www.postfix-buch.com
"Acting is all about honesty. If you can fake that, you've got it made."
-- George Burns