I am running MIMEDefang and Spamassassin with Sendmail-8.12.10 and
Imap-2002e and Procmail-3.22 on my mailserver. I recently upgraded from
an earlier version of MD to ver 2.60. In the earlier version of MD I was
able to modify mimedefang-filter to allow messages with a spam score of
10 and under to be delivered normally, messages with a score of 11-20 to
be delivered to a SPAM folder and messages with a score of 21 or more
would be dumped (/dev/null). These same modifications break the new
mimedefang-filter, so I have decided to try to do a similar thing with
MIMEDefang/Spamassassin adds a new header, "X-Spam-Score: " that shows
the actual spam score and also a series of asterisks the represent the
score. Using that' I have added the following to my ~/.procmailrc.
This actually does work, but I get the following error in my log file
with every message that makes it to this stage of the filter.
procmail: Invalid regexp "^X-Spam-Score:.*(\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*"
procmail: Invalid regexp "^X-Spam-Score:.*(\*\*\*\*\*\*\*"
From 141707905(_dot_)WINHUNDREDC(_at_)bounce(_dot_)iexpect(_dot_)com Fri Oct
17 15:12:49 2003
Subject: : Cash Prize Information Inside - Please respond ASAP
Folder: Junk 4944
I am VERY new at Procmail, so I've probably done this the hard way. Can
anyone suggest a better way to do this? Or at least tell me why I get
the error message in my log even though the filter works?
procmail mailing list