I have been working on getting Fetchmail, Spamassassin, and maildrop to work 
together to allow me to download my mail by fetchmail, pass it through 
spamassassin, and then let maildrop drop it in a place where I can let Kmail 
pick it up, and run all its filters on the mail (I have like 20 filters), 
including SA.

I am thinking that this is going to have fetchmail grab my mail and drop it 
in /var/spool/mail/robbo, then maildrop will invoke spamc to mark it while it 
sits in /var/spool/mail/robbo.

I would like to have it moved to another location (say, ~/.markedmail) so that 
kmail can grab it at its leisure and filter it into my directories. What would 
I need to do to invoke that? Is there an easier way to handle this fetchmail 
and spamassassin alone?

The reason I want to change directories is to avoid the probability that mail 
is picked up by fetchmail and uploaded by kmail before SA has had its turn 
with it.

Your thoughts? I am not all that familiar with MDAs and would like some second 
comments before I proceed. 

Rob

~/.fetchmailrc:
# Configuration created Tue Oct 19 23:20:59 2004 by fetchmailconf
set postmaster "postmaster"
set bouncemail
set no spambounce
set properties ""
set daemon 5
poll incoming.verizon.net with proto POP3
       user '**********' there with password '********' is 'robbo' here
mda /usr/bin/maildrop

~/.mailfilter:
logfile "~/logs/maildroplog"

`reformail -D 8192 .duplicate.cache`
if ( $RETURNCODE == 0 )
        exit

if ($SIZE > 0)
      xfilter "spamc" 



-- 
Mountlake Terrace, WA
USA

Reply via email to