I want to use SA to tag messages. If the message is indentified as a spam, I want to move it to the trash. The problem is that when the message is identified as spam it does not get saved anywhere.
Any ideas as to why??




cat /etc/mail/spamassassin/local.cf
# This is the right place to customize your installation of SpamAssassin.
#
# See 'perldoc Mail::SpamAssassin::Conf' for details of what can be
# tweaked.
#
###########################################################################
#
# rewrite_subject 0
# report_safe 1
# trusted_networks 212.17.35.


rewrite_subject 1 subject_tag {* _HITS_ *}

required_hits .30
report_header 1
use_terse_report 1
defang_mime 0
report_safe 0
use_bayes 1
auto_learn 1
ok_locales en




# cat /home/sam/.procmailrc #start here -- the pound sign (#) makes a line into a comment

#Set on when debugging
VERBOSE=ON

#Your mail directory
MAILDIR=$HOME/mail

#Directory for storing procmail log and rc files
PMDIR=$HOME

#Log file
LOGFILE=$PMDIR/procmaillog.txt

#Recipes


DROPPRIVS=yes

:0fw
* < 256000
| spamc


:0: * ^X-Spam-Flag: Yes Trash

:0:
* ^Subject:.*\<(VarBusiness|WS_FTP Forum|WhatsUp Forum|unixODBC-DEV|OSSG-NYC-METRO)\>
Trash


#end here




Reply via email to