Running ubuntu server 12.04 with sendmail and spamassassin. I have a .procmailrc to call spamc which doesnt seem to be executing. Trying to understand where it fails.
Here is some info on my setup:
However, if I double check my last spam message it seems to have been skipped:
$ grep procmail /etc/mail/sendmail.mc
$ cat ~/.procmailrc
* < 256000
# Mails with a score of 15 or higher are almost certainly spam (with 0.05%
# false positives according to rules/STATISTICS.txt). Let's put them in a
# different mbox. (This one is optional.)
* ^X-Spam-Level: \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*
# All mail tagged as spam (eg. with a score higher than the set threshold)
# is moved to spam folder
* ^X-Spam-Status: Yes
$ dpkg -l procmail
ii procmail 3.22-19 Versatile e-mail processor
Not sure where I'm going wrong? This did at one time work.
$ cd ~/Maildir/cur
$ ls -alrt|tail -3
-rw------- 1 babueter babueter 5055 Mar 27 06:02 1364378554.M631147P7825.eldorado,S=5055,W=5156:2,
drwx------ 2 babueter babueter 90112 Mar 27 06:12 .
drwx------ 18 babueter babueter 12288 Mar 27 06:22 ..
$ time cat 1364378554.M631147P7825.eldorado\,S\=5055\,W\=5156\:2\, | spamc > /tmp/spam.txt
$ grep X-Spam-Status /tmp/spam.txt
X-Spam-Status: Yes, score=16.1 required=4.0 tests=BAYES_99,HS_INDEX_PARAM,
Thanks in advance.