OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
bouncing mail to certain domains, before entering content_filter

From: Richard de Jong (richard.de.jongframfab.nl)
Date: Thu May 01 2003 - 03:57:23 CDT


Hi all,

I use Postfix (1.1.7) with Amavisd-new as a gateway for our Exchange server.

This gateway is primary MX for a number of domains, only 1 of them being
active, bouncing mail for the other (older) domains, with a message to
redirect mail to the active domain. This is done in the transport_maps:

activedomain.nl smtp:[ex.change.ser.ver]
olddomain.nl error:mail to olddomain no longer accepted please send to
activedomain.nl
other.oldomain.nl error:mail to otherolddomain no longer accepted
please send to activedomain.nl

All the domains are listed in mydestination and relay_domains =
$mydestination

While this works perfectly, too much work is done, because all the mail to
the old domains goes through the content_filter as well. Is there an other
way to bounce mail to the older domains earlier in the process?

If I'd have to upgrade to Postfix 2.0 because of address classes that
wouldn't be a problem, it's on my schedule anyways.

TIA,

Rich