Thanks for the pointers guys. I was able to rectify the problem in the
master.cf file. Now it is working well.

regards

Wire

On Fri, 2010-11-12 at 13:43 +0100, Ralf Hildebrandt wrote:

> * Wire James <w...@linuxsolutions.co.ug>:
> 
> > The entries that altermime added in the main.cf are;
> > #
> > content_filter=altermimepro
> > receive_override_options=no_address_mappings
> > #
> > Selected entries in the master.cf are as follows;
> 
> These are used, unless explicitly overridden  
> 
> > smtp      inet  n       -       n       -       -       smtpd
> > ### KASPERSKY ANTI-SPAM  BEGIN ###
> >   -o content_filter=kas3scan:127.0.0.1:9026
> > ### KASPERSKY ANTI-SPAM  END ###
> 
> This makes mail coming in via SMTP go to "kas3scan:127.0.0.1:9026"
> 
> > 127.0.0.1:9026 inet n  n       n       -       20      spawn
> >    user=mailflt3 argv=/usr/local/ap-mailfilter3/bin/kas-pipe
> ... which is defined here
> 
> 
> > 127.0.0.1:9025 inet    n       -       n       -       25      smtpd
> >     -o smtpd_authorized_xforward_hosts=127.0.0.0/8
> >     -o local_recipient_maps=
> >     -o relay_recipient_maps=
> >     -o smtpd_restriction_classes=
> >     -o smtpd_client_restrictions=
> >     -o smtpd_helo_restrictions=
> >     -o smtpd_sender_restrictions=
> >     -o smtpd_recipient_restrictions=permit_mynetworks,reject
> >     -o mynetworks=127.0.0.0/8
> >     -o strict_rfc821_envelopes=no
> >     -o smtpd_error_sleep_time=0
> >     -o smtpd_soft_error_limit=1001
> >     -o smtpd_hard_error_limit=1000
> >     -o receive_override_options=no_address_mappings
> 
> And I guess that's what Kaspersky talks to AFTER scanning
> I think you could add
>       -o content_filter=altermimepro:dummy
> 
> > altermimepro    unix - n n - 10 pipe user=altermimepro 
> > argv=/usr/local/altermimepro/altermimepro -c 
> > /usr/local/altermimepro/altermimepro.conf ${sender} ${recipient}
> > localhost:10125 inet n - n - - smtpd
> >         -o content_filter=
> >         -o
> > receive_override_options=no_unknown_recipient_checks,no_header_body_checks
> 
> Altermime seems to reinject into localhost:10125 when it's done
> 

Reply via email to