Hi all, 

I need to add a vacation function into an existing postfix server which is
already protected by an Antispam/Antivirus software that uses advanced
filter. 

I've that configuration: 

port 25 ----> 10025 [Antivirus/Antispam] ----> 10026 [smtpd] ----->
delivery 

my master.cf looks like this: 

smtp inet n - n - - smtpd
[snip]
localhost:10026 inet n - n - 10 smtpd
 -o content_filter=
 -o local_recipient_maps=
 -o relay_recipient_maps=
 -o myhostname=localhost
 -o smtpd_helo_restrictions=
 -o smtpd_client_restrictions=
 -o smtpd_sender_restrictions=
 -o smtpd_recipient_restrictions=permit_mynetworks,reject
 -o mynetworks=127.0.0.0/8 

into my main.cf, I've that: 

content_filter=pmx:127.0.0.1:10025 

If I want to add vacation filter _before_ content filtering, is that
configuration correct ? 

main.cf:
content_filter=pmx:127.0.0.1:10025 

master.cf
smtp inet n - n - 20 smtpd
 -o smtpd_proxy_filter [1]=127.0.0.1:10020
 -o smtpd_client_connection_count_limit [2]=10
[snip]

localhost:10026 inet n - n - 10 smtpd
 -o content_filter=
 -o local_recipient_maps=
 -o relay_recipient_maps=
 -o myhostname=localhost
 -o smtpd_helo_restrictions=
 -o smtpd_client_restrictions=
 -o smtpd_sender_restrictions=
 -o smtpd_recipient_restrictions=permit_mynetworks,reject
 -o mynetworks=127.0.0.0/8 

The vacation filter will work between 10020's port on which it should
listen, and the 10025's port through which it should send emails towards
the anti virus/antispam engine. 

Is that correct ? 

Thanks in advance. 

Cheers. 

Sebastien 

-------------------------

Sbastien Cottalorda
Chef de Section Informatique

Monaco Parkings
24 rue du Gabian
B.P. 623
98013 Monaco Cedex
Tel. +377 98982077
Fax. +377 92057496 

  

Links:
------
[1] http://postfix.traduc.org/index.php/postconf.5.html#smtpd_proxy_filter
[2]
http://postfix.traduc.org/index.php/postconf.5.html#smtpd_client_connection_count_limit

Reply via email to