File: muttrc

package info (click to toggle)
spamassassin 4.0.2-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 25,724 kB
  • sloc: perl: 89,143; ansic: 5,193; sh: 3,737; javascript: 339; sql: 295; makefile: 209; python: 49
file content (7 lines) | stat: -rw-r--r-- 317 bytes parent folder | download | duplicates (16)
1
2
3
4
5
6
7
# Add this to your ~/.muttrc to integrate spamassassin and mutt
# spamassassin report and classify as spam
macro index S "|/usr/bin/spamassassin -r"
# spamassassin classify as ham
macro index H "|/usr/bin/sa-learn --ham  --no-sync"
# rebuild the spamassassin bayes filter db
macro index R "!/usr/bin/sa-learn --sync"