Request for comments 3

Alex Broens ms-list at alexb.ch
Sun Jul 22 17:21:04 IST 2007


On 7/22/2007 6:06 PM, Julian Field wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> 
> 
> Alex Broens wrote:
>> On 7/22/2007 5:13 PM, Julian Field wrote:
>>> -----BEGIN PGP SIGNED MESSAGE-----
>>> Hash: SHA1
>>>
>>> How about this instead?
>>>
>>> SpamAssassin Rule Actions = rulename=>action, rulename=>action, ....
>>>
>>> the "rulename"s are the names of individual SpamAssassin rules, and 
>>> the "action"s are list those in "Spam Actions". To specify multiple 
>>> actions for a rule, you specify the rulename several times, with one 
>>> action for each. Expressions with SpamAssassin rules are done with 
>>> SpamAssassin meta-rules. If the rule hits, the action is taken.
>> Yeah. sounds real nice!
>>
>>> I'll write a few examples of meta-rules so you can see how to write 
>>> them in spam.assassin.rules.conf or wherever they need to go. Mr 
>>> Kettler, can you correct me on this please?
>> may I suggest the name:
>>
>> sa.actions.rules.conf?
> Why would it need a conf file of its own? I see it just as a 
> (potentially quite long) list of rulenames and actions to take.
> Or are you thinking of a conf file that looks like
> rulename   list-of-actions
> rulename   list-of-actions
> ....
> I'm not in favour of a separate conf file, it looks a bit over the top.

let me see if I got it right.

(cheap example)

should be all in one line:

AXB_RCVD_ZOOBSEND To:blah1 at domain.tld DELETE|QUARANTINE|FORWARD: 
blah22domain.tld

AXB_RCVD_ZOOBSEND From:blah3 at domain.tld 
DELETE|QUARANTINE|FORWARD|REDIRECT: blah33domain.tld

(one action option per rule)

I see a lot of potential uses for FORWARD/REDIRECT actions.

Alex




More information about the MailScanner mailing list