On Sunday 22 January 2006 04:15, jdow wrote:
>From: "Gene Heskett" <[EMAIL PROTECTED]>
[...]
>>>> One facility that kmail seems to be missing, is the ability to
>>>> send such crap to /dev/null, all I get are error messages when
>>>> thats attempted.
>>>
>>>I don't remember if you use procmail or not.
>>
>> No, I'm using fetchmail.  But is there a way to pipe fetchmails
>> output thru a prefilter such as procmail?  Yeah, I know, man
>> procmail to the rescue....  Looks doable, but when I have both eyes
>> open simultainously I think.  Right now its only one.  Getting
>> sleepy out and all that.
>>
>>>This is from my
>>> .procmailrc recipe set:
>>># Uncomment either /dev/null or /$HOME/mail/uol_crap, your choice.
>>># Modify the latter as appropriate for your userlevel mail storage
>>>
>>>:0:
>>>
>>>* ^From: AntiSpam UOL <[EMAIL PROTECTED]>
>>>#/dev/null
>>>/$HOME/mail/uol_crap
>>>
>>>
>>>{^_-}
>
>That's right. You're using KMail to run fetchmail so you're helpless.

No I'm not, Joanne!  Fetchmail is run from rc.local and delivers the 
mail from vz and gmail to /var/spool/mail/gene on a 10 minute repeating 
loop.  Kmail, then, completely asynchronously but on the same basic 10 
minute repeat timing, grabs the contents of that file and sorts it into 
its various folders after pipeing _some_ of the mail through SA.  This 
list for obvious reasons is picked off first and never see's an SA 
inspection.  There are several other fairly clean lists that get picked 
off before the SA inspection.  Unforch for the SA workload, lkml isn't 
one of them as most of the servers at vger seem to be fairly wide open 
& take even blank mails from spammers just clearing the barrels for the 
next barrage.

Now, it looks as if I should make /etc/procmail/procmailrc be owned by 
gene:gene, and that I should set kmail to pipe the mail, using 

procmail -pm /etc/procmail/procmailrc

from the man pages, but I'm not sure what other arguments might be 
needed.  I've copied your recipe into /etc/procmail/procmailrc 
and /etc/procmail/* is owned by gene:gene.

So I think the next step is to add the filtering rule to kmail and fire 
a message off to the fedora list for effect, which will generate 
testing mails aplenty.

>Good luck, Kemo Sabe!
>
>{^_-}

-- 
Cheers, Gene
People having trouble with vz bouncing email to me should add the word
'online' between the 'verizon', and the dot which bypasses vz's
stupid bounce rules.  I do use spamassassin too. :-)
Yahoo.com and AOL/TW attorneys please note, additions to the above
message by Gene Heskett are:
Copyright 2005 by Maurice Eugene Heskett, all rights reserved.

Reply via email to