How to ignore some recipients in a SpamAssassin Rule Actions
ruleset
Mark Sapiro
mark at msapiro.net
Sat Jan 3 19:12:32 GMT 2009
On Sat, Jan 03, 2009 at 10:53:29AM +0000, Julian Field wrote:
> As the default value for the setting is just blank, all you have to do
> is give blank as the value for the address.
>
> So the line just needs to read
> To: user at example.com
>
> That's all there is to it.
I've tried that. More specifically, I've tried
To:<tab>user at example.com
To:<tab>user at example.com<tab>
and
To:<tab>user at example.com<tab><space>
where <tab> and <space> are the respective characters, and none of those override the default rule action.
> Jules.
>
> On 3/1/09 01:14, Mark Sapiro wrote:
> >I have searched the list archives and the documentation wiki and
> >haven't found an answer.
> >
> >In MailScanner.conf I have
> >
> >SpamAssassin Rule Actions = %rules-dir%/spamassassin_rule_actions.rules
> >
> >In spamassassin_rule_actions.rules, what is the proper way to specify a
> >null action for some recipient. I have
> >
> >
> >FromOrTo: default SA_RULE_NAME=>action_list
> >
> >and that works fine. I want to exempt a recipient from these actions. I
> >know for example that I could put
> >
> >To: user at example.com ZZZ_BOGUS_RULE=>action
> >
> >Where ZZZ_BOGUS_RULE is a non-existent rule, but that seems somewhat
> >kludgey.
> >
> >The usual "yes" or "no" don't seem appropriate here as they aren't the
> >kind of values that are expected for SpamAssassin Rule Actions.
> >
> >I found through experiment that
> >
> >To: user at example.com ""
> >
> >seems to work as does
> >
> >To: user at example.com SA_RULE_NAME=>
> >
> >and
> >
> >To: user at example.com SA_RULE_NAME
> >
> >but
> >
> >To: user at example.com ,
> >
> >doesn't work.
> >
> >Is there a "correct" or a preferred way to do what I want?
> >
> >
>
> Jules
>
> --
> Julian Field MEng CITP CEng
> www.MailScanner.info
> Buy the MailScanner book at www.MailScanner.info/store
>
> MailScanner customisation, or any advanced system administration help?
> Contact me at Jules at Jules.FM
>
> PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
> PGP public key: http://www.jules.fm/julesfm.asc
>
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>
>
--
Mark Sapiro mark at msapiro net The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan
More information about the MailScanner
mailing list