On (26/09/03 10:49), Ron Johnson wrote: > (Mailfilter only checks headers, so can't see filenames of > attachments.) > > I've got this in my crontab: > */5 * * * * (/home/me/pop_zap_msft.py && fetchmail -s) > > The rc (named ~/.pop_zap_msftrc) has this *exact* format: > SERVER=pop.someisp.net > USER=snarfle > PASS=blah > > Hope you find it useful....
Hi Ron I probably will when I've learnt quite a lot more about what I'm doing ;) My current setup is: Getmail/Exim/Mutt on woody - I don't actually think that Exim is doing much at all except dealing with system messages (cron specifically) - you'll have to bear with me because I don't fully understand how all these packages work together. I understand in theory but in practice, how to set up the various configurations eludes me ;( I lifted the getmailrc from an example and tailored it to my own needs. I am not currently filtering incoming mail. All mail (from 4 pop3 accounts) comes into /var/mail/me. I then use mutt to read it, delete it or manually transfer it to mail subdirectories (Maildir format), once I've read it. Within the getmailrc I keep mail on the servers for a day (in case I screw up and also so I can get it using webmail, if necessary). I was keeping it for 2 days but in trying various mailfilter setups, I reduced it to save time. Until Swen, the volume of spam was manageable (I'm on ADSL). Having put off configuring my email to handle spam/viruses automatically, the spate of Swen messages promted me to revisit my setup - hence trying mailfilter. Aside from having difficulty in getting mailfilter to work as I would like, it doesn't seem possible to invoke it from within getmail (which I use to collect mail every 5 mins). So I've been investigating changing to fetchmail. 1. What I'm having a problem with is finding an example fetchmailrc which will emulate what getmail does for me - I can see there is a "keep" option to leave stuff on the server but no indication of how you can ask it to remove messages more than say 2 days old. 2. Then if I use fetchmail, how do I set up Exim to pass messages to spassassin and then filter to the various folders. 3. I'm then unsure of how I will read my mail using mutt: ie do I then have to open every mail folder in mutt looking for new messages? I'm sure that to many on the list, these may seem like dumb questions but coming from the land of Eudora, MacOSX Mail and OE, it is a lot trickier ;). I like using mutt (it's powerful and fast) and everything I've read has convinced me of the virtues of having close control over the various mail processes; I'm just not experienced enough to know how to set it up right. What is clear is that the permutations are infinite and everyone has their own preferences. 4. I propose to move from my existing setup to fetchmail/exim/spamassassin/mutt. Is this sensible? TIA Clive -- http://www.clivemenzies.co.uk strategies for business -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]