OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
before queue filter question

From: Andrzej Kwiatkowski (andrzej.kwiatkowskigmail.com)
Date: Tue May 30 2006 - 04:01:36 CDT


Hi.

I would like to use before queue filter to virus scanning.

In front i would like to have 2 MTA with postfix
As AV Clamav with clamsmtp on other 3 servers.
On backend 2 or three backend with Cyrus.

When i setup filter with master.cf
smtp inet n - n - - smtpd
 -o relay_recipient_maps=proxy:pgsql:pgsql_virtual
 -o smtpd_proxy_filter=127.0.0.1:10025
 -o smtpd_client_connection_count_limit=10
 -o cleanup_service_name=pre-cleanup

127.0.0.1:10026 inet n - n - - smtpd
 -o smtpd_authorized_xforward_hosts=127.0.0.0/8
 -o smtpd_client_restrictions=
 -o smtpd_helo_restrictions=
 -o smtpd_sender_restrictions=
 -o smtpd_recipient_restrictions=permit_mynetworks,reject
 -o smtpd_data_restrictions=
 -o mynetworks=127.0.0.0/8
 -o receive_override_options=no_unknown_recipient_checks
 -o cleanup_service_name=pre-cleanup

as proxy i would like to setup dns.name to load balancing.
On AV serves in clamsmto i would like to use dns name too.

Is it possible to do this?

What will be when server A will do proxy to clamsmtp
and clamsmtp will return message to server B ?

Thanks for help
AK