From: mouss on
The Doctor a �crit :
> Right I am tyring to get postfix with amavisd-ng to probe and stop virus and spam mail.

use amavisd-new instead of amavis-ng.

>
> However it seems that localhost is going through without scrutiny and
> some incoming e-mail is not being stopped.
>

what do you mean by "localhost is going through"?

if you talk about mail submitted via the sendmail command, then it's
because you have "-o content_filter=" under pickup (in master.cf). if
you meant something else, please explain.

anyway, why would spam get out of localhost? is it because of a web
application? if so, better make the application use SMTP instead of the
sendmail.

> [snip]
> pickup fifo n - n 60 1 pickup
> -o content_filter=
> ## -o cleanup_service_name=pre-cleanup

it's just here. you are disabling the content filter for pickup.

> [snip]