your post inspired me to go off and give CRM114 a try. I've also found what looks like the best way to integrate CRM114 training with IMAP so far, and that's the dovecot-antispam plugin. Functionally equivalent to what your cron scripts do, but does so in real time.
FWIW, here's what I had to to to set it up:
Install CRM114 to ~/crm as per the instructions. The only significant changes I made to the default Debian etch configuration were to remove the ADV/UNS tagging of subjects, since I don't need this.
Create the "crm-spam" and "crm-unsure" folders, for holding SPAM and "unsure" email respectively.
Set up my ~/.mailfilter to filter mail through CRM114:
xfilter "/usr/bin/crm -u $HOME/crm $HOME/crm/mailreaver.crm"
if (/^X-CRM114-Status: SPAM/:h)
to Maildir/.crm-spam/
if (/^X-CRM114-Status: UNSURE/:h)
to Maildir/.crm-unsure/
# [...] At this point we know CRM114 thinks the message is Ham, so we file it as normal
Download and install the dovecot-antispam plugin, and configure it as follows:
plugin {
# semicolon-separated list of Trash folders
antispam_trash = trash;Trash;Deleted Items
# semicolon-separated list of spam folders
antispam_spam = crm-spam
# semicolon-separated list of unsure folders
antispam_unsure = crm-unsure
dovecot-antispam goodness
Hi Andrew,
your post inspired me to go off and give CRM114 a try. I've also found what looks like the best way to integrate CRM114 training with IMAP so far, and that's the dovecot-antispam plugin. Functionally equivalent to what your cron scripts do, but does so in real time.
FWIW, here's what I had to to to set it up:
xfilter "/usr/bin/crm -u $HOME/crm $HOME/crm/mailreaver.crm"
if (/^X-CRM114-Status: SPAM/:h)
to Maildir/.crm-spam/
if (/^X-CRM114-Status: UNSURE/:h)
to Maildir/.crm-unsure/
# [...] At this point we know CRM114 thinks the message is Ham, so we file it as normal
plugin {
# semicolon-separated list of Trash folders
antispam_trash = trash;Trash;Deleted Items
# semicolon-separated list of spam folders
antispam_spam = crm-spam
# semicolon-separated list of unsure folders
antispam_unsure = crm-unsure
# crm114-exec plugin
# mailreaver binary
antispam_crm_binary = /usr/bin/crm
# semicolon-separated list of extra arguments to crm
antispam_crm_args = -u;%h/crm;%h/crm/mailreaver.crm
# NOTE: you need to set the signature for this backend
antispam_signature = X-CRM114-CacheID
}
This left me with a setup where:
How much easier can it get? :-)
Now to see how well CRM114 does after it's had some serious training.
-mato