https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7890
Bug ID: 7890
Summary: Integration with IMAP servers
Product: Spamassassin
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P2
Component: spamc/spamd
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: Undefined
On my little server, we have a convention -- messages, that users consider
spam, are moved into each account's "spam" folder.
This is easy to setup -- Thunderbird's own filtering will do just that with the
spam-flagged messages, if you let it.
To keep such messages from even entering the server, I run `sa-learn --spam`
against all of these mailboxes from cron. Cyrus IMAPD keeps each message in a
separate file, which makes this easy.
Easy but wasteful -- because the old spams are being relearned over and over.
It is also less effective, because the server's configuration is only updated
once in a few hours -- so multiple copies of the same or similar spam can enter
again and again undetected before spamd learns about it.
The enhancement being requested would add code to sa-spamd to monitor the
specified list of directories, using inotify on Linux, kqueue on BSD, and
whatever else is suitable on other operating systems to:
1. Pass any new file appearing /in/ such a directory to (some equivalent of)
sa-learn as spam.
2. Pass any file being moved /out/ of such a directory to (some equivalent of)
sa-learn as ham.
This feature may not be useful to /all/, but it will be useful to /many/.
Please, consider implementing.
--
You are receiving this mail because:
You are the assignee for the bug.