On 05/07/2014 06:22 PM, Carlos E. R. wrote:
On 2014-05-07 17:51, Anton Aylward wrote:
On 05/07/2014 11:36 AM, Carlos E. R. wrote:
But it is not spam :-)
It was sent by me (and to me), from my android phone. It is a dump of just one WhatsApp chat.
I make aggressive use of whitelisting and blacklisting in my procmail BEFORE submitting to spamassassin, even though spamassassin config also has its own whitelist and blacklist.
If I submit from my android sent by me to me it will never go though spamassassin.
Yes this does take a bit more checking to make sure it is not being spoofed, but procmail calling formmail and grep is cheaper than spamassassin. It would be more so for you if you are calling upon a outside RBL service and the network timeout.
It is something to consider, thanks. But takes time and some work to do...
IIR I found the recipes on the 'net. Feed though formail and then grep. Actually the whitelisting, which is a lot easier, probably does more to take the load off spamassassin than the blacklisting. I've whitelisted my common correspondents and the lists I subscribe to: :::::::::::::: whitelist.rc :::::::::::::: # Test if the email's sender is whitelisted; if so, send it straight to # $DEFAULT. Note that this comes before any other filters. :0: * ? formail -x"From" -x"From:" -x"Sender:" \ -x"Reply-To:" -x"Return-Path:" -x"To:" \ | egrep -is -f ${HOME}/.whitelist { LOG="Found on whitelist$NL" $DEFAULT }
From what you've supplied so far, Carlos, this and few other simple recipies that are available on the net, for example to deal with attachments over a certain size, can make things a lot easier. You might also consider recipes that filter by attachment type.
http://pm-doc.sourceforge.net/doc/#procmail_mime_and_html -- "A Meltdown? One of those annoying buzzwords. We prefer to think of it as an unrequested fission surplus!" -- Monty Burns -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org