Reply to comment
mutt integration
Hi,
I am training crm114 with a few shortcuts from within mutt (sorry, very long lines):
macro index \es "|grep -a -v \"X-CRM114-\" |crm -u /home/jrschulz/.crm114 /home/jrschulz/.crm114/mailfilter.crm --force --learnspam |grep -a \"X-CRM114-\" \n=spam\n" "crm114 learn as spam"
macro pager \es "|grep -a -v \"X-CRM114-\" |crm -u /home/jrschulz/.crm114 /home/jrschulz/.crm114/mailfilter.crm --force --learnspam |grep -a \"X-CRM114-\" \n=spam\n" "crm114 learn as spam"
macro index \eh "|grep -a -v \"X-CRM114-\" |crm -u /home/jrschulz/.crm114 /home/jrschulz/.crm114/mailfilter.crm --force --learnnonspam |grep -a \"X-CRM114-\" \n" "crm114 learn as ham"
macro pager \eh "|grep -a -v \"X-CRM114-\" |crm -u /home/jrschulz/.crm114 /home/jrschulz/.crm114/mailfilter.crm --force --learnnonspam |grep -a \"X-CRM114-\" \n" "crm114 learn as ham"
That way you can just use crm114's header to sort mails into the proper directories and press two keys to tell crm114 when it failed (Esc-h for "this is ham", Esc-s for "this is spam).
Additionally, you can tell mutt how to recognize the spam score by using
spam "^X-CRM114-Status: SPAM . pR: ([-0-9]+\.[0-9])" "%1"
Then you can use the pattern ~H to colorize spam in the index. You can even sort your mailbox containing spam (or "Unsure") by the spam score assigned by crm114.
Reply
Recent comments
5 weeks 2 days ago
5 weeks 3 days ago
5 weeks 3 days ago
5 weeks 5 days ago
6 weeks 2 days ago
7 weeks 1 day ago
7 weeks 3 days ago
8 weeks 15 hours ago
8 weeks 16 hours ago
8 weeks 17 hours ago