On Wednesday 20 October 2004 5:48 am, Anthony Edwards wrote:
Here's my plan spelled out cleanly, but not yet coded:
> > fetchmail -> maildrop -> SA -> maildir
>
> Ditto for my personal mail setup, and it works a treat.
>
> [EMAIL PROTECTED]:~> cat .forward
>
> | /usr/local/bin/maildrop
I am not sure why you created this .forward file?

> [EMAIL PROTECTED]:~> cat .fetchmailrc
> poll pop3.nildram.co.uk proto pop3 user "topflite" password "*******"
> limit 100000
Piece of cake, and I have it working well, to place it in /var/spool/mail/ 
> [EMAIL PROTECTED]:~> cat .mailfilter
> DEFAULT="Mail/inbox"
so for me that would point to /var/spool/mail/ right?

> logfile ".maildroplog"
>
> `reformail -D 8192 .duplicate.cache`
> if ( $RETURNCODE == 0 )
>         exit
>
> if ($SIZE < 100000)
>        xfilter "spamc"
This is where I want Kmail to pick up, filter into my folders, and filter out 
the SA marked spam. I am already running sa-learn against my folders daily.

In these cases how do you trigger the programs to run? I know that fetchmail 
can be run on specified intervals, but what about maildrop?

It seems that scripting the whole thing from cron may be the way to go, all in 
one script? That way, the mail would be fetched, SA'd and prepared for pickup 
smoothly.

Rob
-- 
Linux User #183693
http://counter.li.org/

Reply via email to