OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: migration to mysql DB (domain relay)

From: Andreas Winkelmann (mlawinkelmann.de)
Date: Fri Sep 30 2005 - 13:26:52 CDT


Am Friday 30 September 2005 20:23 schrieb Rodrigo Monteiro:

> i need some help with domain relay!
> in the anti-spam it has a file
> /etc/postfix/transport.domain
> which this sintax
> domain1.com <tab> smtp:172.X.X.X
> domain2.com <tab> smtp:172.W.W.W
> when a e-mail arrives to user30domain1.com then relay
> to the server 172.X.X.X and when arrives to
> user70domain2.com then relay to 172.W.W.W
> now, i want to do this with mysql.
> what do i have to do in the main.cf and in the
> mysql_*.cf?
> if someone know a how-to or have the time to explain
> me how to do that i appreciate.

http://www.postfix.org/MYSQL_README.html
http://www.postfix.org/mysql_table.5.html

http://www.postfix.org/documentation.html

--
        Andreas