Advertisement

3 useful macros for all you Mutt/Spamassassin users

Started by February 18, 2004 04:37 PM
-1 comments, last by aftermath 20 years, 8 months ago
Hello Mutt users I was doing a lot of searching for Mutt macros for using the sa-learn program that comes with SpamAssassin. I found some, but they are very simple and incomplete. They do things right, but I came up with 3 macros that have some more automation (no ``Press enter...', etc.) Include this in you're .muttrc file:
http://nan2d.com/2004/2/18/dot.muttrc
If you dont want to log the output of sa-learn, then remove all occurences of ``date >> ~/Mail/.sa-learn.log' and ``>> ~/Mail/.sa-learn.log 2>&1' If you dont want to have debug information in the output, remove the ``-D' flag from sa-learn. All spam will be copied to ~/Mail/spam/ (a Maildir directory,) if you use a different place to store mail, shange that as neccesary. I hope that saves someone some time (yes, written in vim, sorry again) edit: damn html edit 2: moved code to an external file [edited by - aftermath on February 18, 2004 9:37:30 PM]
Rate me up.

This topic is closed to new replies.

Advertisement