change subject based on spam rating

robvoi

New Member
Apr 17, 2007
18
0
1
Hi.

I want to tag the subject of a mail based on the spam rating.
I want to use [SPAM][HIGH], [SPAM][MID] and [SPAM][LOW].

I did create three rules to achieve this.

When receiving spam that's rated high, I get all three tags into the subject (ass the rating is higher than the minimum for all rules I assume).

Is there a way to set a rule like:
If spam rating is between 3 and 4 use TAG A.
If spam rating is between 5 and 7 use TAG B.
If spam rating is above 8 use TAG C.

?

Thanks
Robert
 
Hi.

I want to tag the subject of a mail based on the spam rating.
I want to use [SPAM][HIGH], [SPAM][MID] and [SPAM][LOW].

I did create three rules to achieve this.

When receiving spam that's rated high, I get all three tags into the subject (ass the rating is higher than the minimum for all rules I assume).

Is there a way to set a rule like:
If spam rating is between 3 and 4 use TAG A.
If spam rating is between 5 and 7 use TAG B.
If spam rating is above 8 use TAG C.

?

Thanks
Robert

Hi Robert,

Yes, that possible. You need 3 Rules, 3 What Objects (Spam filter) with Spamlevel 3, 5 and 8, 3 Actions Objects (Modify subject) and a final action.

1. create the three What objects (Spam filter)
2. create the three Actions (Modify subject)
3. create the three rules and set the priority, start with the rule containing spamlevel 8

example for the 1st rule, priority 80.

From:Anybody
To:
Anybody
When:
Always
What:
Spam 8
Action:Modify Spam Level, Modify Spam Subject with [SPAM][HIGH], Quarantine


instead of quarantine you can use accept. quarantine and accept are final actions, which means the processing of the email is finished and no other rule after this will trigger. (if you do not use a final action, the next rule will also trigger and that is currently your problem.)

the second rule look similar, but with a lower priority, e.g 79.

an alternative:

Just move all spam emails higher 5 to the quarantine (accessible by the users) and move all spam emails higher 10 via BCC object to an admin email address, only accessible via admin. so you the users do not get these spam emails.
 
Hi.

Thanks for the input.
What you explained was what I tried.

I send a mail with the (GTUBE?) spam test string.

The subject I get is [SPAM][LOW] [SPAM][MID] [SPAM][HIGH].

When I switch the priority the subject contains

[SPAM][HIGH] [SPAM][MID] [SPAM][LOW]

So the server is always applying all rules.



We want to keep the filtering completely on user side. For legal reasons.

Any input is welcome.

Thanks
Robert
 
Hi.

Thanks for the input.
What you explained was what I tried.

I send a mail with the (GTUBE?) spam test string.

The subject I get is [SPAM][LOW] [SPAM][MID] [SPAM][HIGH].

When I switch the priority the subject contains

[SPAM][HIGH] [SPAM][MID] [SPAM][LOW]

So the server is always applying all rules.



We want to keep the filtering completely on user side. For legal reasons.

Any input is welcome.

Thanks
Robert

Hi,
please make a backup from your configuration via web interface and send this file directly to me (t.huber@proxmox.com) for analysis.
 
Thanks a lot for the offer.
I just found what I was missing.


I didn't add the accept action.

I will keep your offer to check my config in mind for support cases after we did purchase the product :-)

Greets and thanks for the help.
Robert
 
Thanks a lot for the offer.
I just found what I was missing.


I didn't add the accept action.

I will keep your offer to check my config in mind for support cases after we did purchase the product :-)

Greets and thanks for the help.
Robert

you´re always welcome,