Marketplace:

Buy cheap domains and domain transfer service with free domain hosting features
Affordable domain name hosting and webhosting for small business
Register cheap domain name by cheap-domainregistrar.com 

 

   

Procmail

next up previous contents index

If you use procmail you can easily have spam moved into its own folder with:



#
# Use Spam Assassin
#
:0fw
| spamassassin
:0:
* ^X-Spam-Status: Yes
.Spam.Spam-`date +%Y-%m`/


Also, to have spamassassin learn from both examples of spam and from examples of non-spam (ham), within your mutt mail reading tool, you can add the following to /home/kayon/.muttrc:



# spamassassin classify as spam
macro index X "|/usr/bin/sa-learn --spam"
macro pager X "|/usr/bin/sa-learn --spam"
# spamassassin classify as ham
macro index H "|/usr/bin/sa-learn --ham"
macro pager H "|/usr/bin/sa-learn --ham"
# rebuild the spamassassin bayes filter db
macro index B "!/usr/bin/sa-learn --rebuild"



Copyright (c) 1995-2004

 

      

Marketplace:
Facts: " A language that doesn't have everything is actually easier to program in than some that do.   "  

Tuesday 22 May 2012 07:09:57 1337670597