Loading ...
Sorry, an error occurred while loading the content.

double filter

Expand Messages
  • Cottalorda Sébastien
    Hi all, I need to add another filter to my existing anti-virus one. I ve allready set an advanced content filter like the example in the Postfix After-Queue
    Message 1 of 1 , Oct 1, 2009
    • 0 Attachment
      Hi all,

      I need to add another filter to my existing anti-virus one.

      I've allready set an advanced content filter like the example in the
      Postfix After-Queue Content tutorial.

      Postfix Queue --> Port 10025 (Anti-Virus+AntiSpam)--> that reinject mails
      through the 10026 port to postfix --> delivery to mailbox

      Now, I want to add a vacation filter.

      I've the perl script, I've configured the entire system, now I just need
      to make the script run on each received message.

      How can I do ?

       

      Here is my main.cf file

      [snip]
      content_filter=pmx:127.0.0.1:10025
      [snip]

      And my master.cf file

      smtp      inet  n       -       n      
      -       -       smtpd
      [snip]
      pmx       unix  -       -       n      
      -       10      smtp
      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

      Thanks in advance for any kind of help.

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

      Sébastien Cottalorda
      Chef de Section Informatique

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

       
    Your message has been successfully submitted and would be delivered to recipients shortly.