Jack Coates wrote:
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).
There also is a tool called "imapassassin" that does what you want:
http://sourceforge.net/projects/imapassassin
--
===============================================================
WARNING: Electronic mail sent through the internet is not
secure and could be intercepted by a third party. For your own
protection, do not send any identifying information, including
account, Social Security, card numbers, or passwords via email.
-- <------ B-LUC Consulting ---------------------------------->
Thomas Bullinger, Owner
Visit us @ http://consult.btoy1.net
Phone: (585) 377-2363 Fax: (360) 397-8761
-------------------------------------------------------
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