Request for comments 3

Julian Field MailScanner at ecs.soton.ac.uk
Sun Jul 22 17:38:00 IST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



Alex Broens wrote:
> 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
Where in my spec above did I mention From or To? You can put a ruleset 
on this configuration setting, so you could create rules in a ruleset 
that looked like (for example)
To:     user1 at domain1.com     forward user2 at domain2.com store deliver
FromOrTo:     domain3.com     store delete
From:     user3@*     deliver header "X-Wibble: yes"

>
> 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
>
>

Jules

- -- 
Julian Field MEng CITP
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
For all your IT requirements visit www.transtec.co.uk


-----BEGIN PGP SIGNATURE-----
Version: PGP Desktop 9.6.2 (Build 2014)
Charset: ISO-8859-1

wj8DBQFGo4foEfZZRxQVtlQRAsg3AJ9NagZAOhxvt9uA5souk2qI5sQRtgCg5eGW
5xq1kO1qhQvkkbZ+WOpcu50=
=+pP1
-----END PGP SIGNATURE-----

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
For all your IT requirements visit www.transtec.co.uk



More information about the MailScanner mailing list