On Tue, 2003-11-18 at 14:11, J. Burton wrote: > we have spamassassin running our mail server. > > i have a friend who is getting a pile of spam to his account at a different > isp (the local telco). > > he wants to know if i can do anything about his spam > > i have some notion that we should be able to run spamassassin and a script > on a cron to poke through his mailbox (the isp runs imap and pop3 at the > same time on the same mailboxes/server) and delete spam, so that when he > checks his mail once or twice a day, his mail will have been spam filtered > - maybe a few will have found their way in because the spam filter hasn't > run in the last 15/30 minutes, but most other spam woul be gone >
Risky to delete it, but IMAP moving it into another folder is certainly reasonable. Personally, I'd just fetchmail everything into one master account, then SpamAssassin it. > does such a script currently exist? > > how hard would it be for someone knowledgable in perl to write one? not too hard, CPAN modules exist to manipulate the mailboxes remotely (http://search.cpan.org/search?query=imap&mode=all). -- Jack Coates, Lyris Technologies Applications Engineer 510-549-4350 x148, [EMAIL PROTECTED] "Interoperability is the keyword, uniformity is a dead end." --Olivier Fourdan ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk