Bill wrote:
>> Is there a way to direct these system messages so that they bypass spam
>> filtering?
>>
>>> http://www200.pair.com/mecham/spam/bypassing.html#11
>>
>> Thanks Gary, however, the issue I run into with this option is that I run
>> multiple content-filters, and the first one actually pipes mail (via the
>> Postfix "sendmail" command) back into postfix which uses the "pickup"
>> daemon
>> to retrieve the message. Since this content-filter runs before the
>> amavisd content-filter, if I add:
>>
>> pickup fifo n - n 60 1 pickup
>> -o content_filter=
>>
>> then the amavis content-filer does not get called. I have to run the
>> amavis
>> content-filter second in order to for SA to be able to score the header
>> mark-up from the first content-filter. I have not been able to figure
>> out
>> if there is a way to tell "sendmail" to use an alternate "pickup" daemon
>> when piping a message back to Postfix.
>>
>> Bill
>>
>>>
>>> Let's see your master.cf
> Sent off-list...
> Bill
>
I did not come up with anything. You have the first filter:
smtp inet n - n - - smtpd
-o content_filter=filter
snfilter unix - n n - 10 pipe
flags=q user=filter argv=/var/spool/filter/filter -f ${sender} ${recipient}
which sends everything through the pickup daemon. I could not find a
way for 'pickup' to differentiate mail from <root> (for example) from all the
other mail.
You mentioned you are changing the filter to deliver via smtp. I'm
sure this will be more flexible.
I don't know what this filter does, but moving it to the amavisd-new
reinjection port might be an option. Then you would need to override
the content_filter for the pickup daemon to prevent loops. Downside is
since recipient expansion occurs within amavisd-new, unless I'm wrong,
the filter would be called for each recipient. On the other hand, does
this filter expand the recipients so amavisd-new gets a separate
message for each recipient? If so, you should consider placing the
less efficient filter in front of the more efficient filter (if it
makes sense to do so). I assume when a message is expanded in
amavisd-new, the reinjection port gets one separate message for each
recipient.
Gary V
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/