Spam Action Rules
srhitch at mecheng1.uwaterloo.ca
Thu Oct 23 13:50:33 IST 2008
Thanks for help guys. I have gotten the MailScanner.conf sorted out it terms
of the "X-Spam-Status: Yes". With Glenn's insights I now know how to
properly construct the Spam Actions rules file and I will implement that.
> -----Original Message-----
> From: mailscanner-bounces at lists.mailscanner.info [mailto:mailscanner-
> bounces at lists.mailscanner.info] On Behalf Of Glenn Steen
> Sent: October 23, 2008 5:06 AM
> To: MailScanner discussion
> Subject: Re: Spam Action Rules
> 2008/10/22 Steve Hitchman <srhitch at mecheng1.uwaterloo.ca>:
> > Gentlemen,
> > I am having trouble with my upgrade from 4.56.8 to 4.67.6 on FreeBSD.
> I was
> > using a ruleset for Spam Actions and High Scoring Spam Actions. In
> > 4.56.8 the way to mark the header as spam was to use the:
> > Spam Header = X-Spam-Status: Yes-%org-name%-MailScanner-SpamCheck:
> > In 4.67.6 the "X-Spam-Status: Yes" is inserted via the Action Rules
> such as:
> > Spam Actions = deliver header "X-Spam-Status: Yes"
> > For some reason when I leave it in the original form I get an extra
> > added to the header such as this:
> > X-Spam-Status: -Yes-xxxxxxx...
> > This is bad as it prevents such things as .procmailrc scripts from
> > identifying marked spam.
> Both Steve and Kai has commented on the broken state of your previous
> config, so I'll let that rest:-).
> > Bottom line is how do I make the "X-Spam-Status: Yes" show up in the
> > as well as use a filename rule for Spam Actions?
> > Is this acceptable?
> > Spam Actions = %rules.dir%/spamactions.rules header "X-Spam-Status:
> Nope. Your spam action rules file need contain all the actions, not a
> mix like this. So if you have some "FromOrTo: <blaha> <actions>", the
> <actions> need be all the actions (for example: deliver store header
> "X-Spam-Status: Yes").
> -- Glenn
> email: glenn < dot > steen < at > gmail < dot > com
> work: glenn < dot > steen < at > ap1 < dot > se
> MailScanner mailing list
> mailscanner at lists.mailscanner.info
> Before posting, read http://wiki.mailscanner.info/posting
> Support MailScanner development - buy the book off the website!
More information about the MailScanner