Byteplant Forum

Home » CleanMail Support » CleanMail SpamAssassin Filter » unblock specific domain?
unblock specific domain? [message #688] Thu, 01 February 2007 11:22
Messages: 1
Registered: February 2007
Junior Member

Is it possible to create a rule that marks e-mails sent from domain Y always as NON spam IF sent to domain X?

What I've done so far is creating the following rule in file:
header DOMAIN_TRUSTED_TO To =~ /domainX\.com/i header DOMAIN_TRUSTED_FROM From =~ /domainY\.com/i meta domainX_CUSTOM (DOMAIN_TRUSTED_TO && DOMAIN_TRUSTED_FROM) score domainX_CUSTOM -8

but it doesn't work.

The score of such mails is calculated as follows:
0.2 NO_REAL_NAME From: does not include a real name
0.6 J_CHICKENPOX_21 BODY: 2alpha-pock-1alpha
0.6 J_CHICKENPOX_62 BODY: 6alpha-pock-2alpha
0.6 J_CHICKENPOX_63 BODY: 6alpha-pock-3alpha
0.6 J_CHICKENPOX_65 BODY: 6alpha-pock-5alpha -0.0 BAYES_44 BODY: Bayesian spam probability is 44 to 50%
[score: 0.4638]
2.7 SUBJ_HAS_UNIQ_ID Subject contains a unique ID
1.6 NO_DNS_FOR_FROM Domain in From header has no MX or A DNS records 0.0 UPPERCASE_25_50 message body is 25-50% uppercase


Any help or comment is appreciated. Thanks.
Previous Topic: image plugin
Next Topic: where is sa\learn db?
Goto Forum:

Current Time: Thu Oct 27 12:47:11 CEST 2016