On Sun, 19 Oct 2003 04:20:15 +0800, Pigeon wrote:

> On Sat, Oct 18, 2003 at 06:57:40PM +0800, Brian Walker wrote:
>> 
>> Can I add a line to procmail to prefilter spam with mailfilter, before
>> letting spamassassin get to work?
> 
> mailfilter operates on the POP3 mailbox on the remote server, not on
> stuff you've already retrieved. You can add 'preconnect "mailfilter"' to
> ~/.fetchmailrc, to get fetchmail to preprocess your POP3 box with
> mailfilter before it retrieves the messages.
> 
>> What about the line to add to delete swen messages?
> 
> Probably the easiest way is simply to bin anything over 145k with
> MAXSIZE_DENY=145000, then use ALLOW=^From:[EMAIL PROTECTED] to
> whitelist anyone who might really send you a genuine mail that big.
> 
> This still lets through the ones around 15k in size that have had the
> .exe stripped. These can be filtered out on the contents of the From:,
> To: and sometimes Subject: headers. I "primed" my .mailfilterrc with
> rules appropriate to what I'd seen in these headers at the time, and
> have semi-automatedly stuck in extra rules to match the odd ones that
> still slip through. The attached .mailfilterrc may be of some use.
> 

Fantastic and still more thanks. This seems to be doing the trick. Re
preconnect, I added the precommand to KMail, and it seems to be doing
just fine. The only thing lacking is writing to logfile, which I will fix
today. 

All the best,

Brian


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to