Dear Merjin,

Excellent! It's work prefect!

Besides, can I change the lines as following?

header      __DKIM_REQUIRED From:addr =~ /\@(example\.com)$/i
header      __DKIM_REQUIRED From:addr =~ /\@( example\.org)$/i
header      __DKIM_REQUIRED From:addr =~ /\@( example\.nl)$/i
.
.


As I have lots of domain to handle.

Regards,
Lee

-----Original Message-----
From: Merijn van den Kroonenberg [mailto:mer...@web2all.nl]
Sent: Monday, August 15, 2016 7:19 PM
To: users@spamassassin.apache.org
Subject: Re: DKIM Score

> Hi,
>
> How to setup to give high score for specific domain cannot pass DKIM test?
>
> For example: My own email domain is example.com
>
> Any incoming email from:  example.com does not pass DKIM test score
> 10.0
>

describe    __DKIM_REQUIRED Require a valid DKIM signature for these domains
header      __DKIM_REQUIRED From:addr =~ /\@(example\.com|example\.org)$/i

describe    DKIM_REQUIRED_FAIL Sender requires a valid DKIM signature but
it was not present
meta        DKIM_REQUIRED_FAIL (__DKIM_REQUIRED && !DKIM_VALID_AU)
score       DKIM_REQUIRED_FAIL 10.0

This tests the from address for a *@example.com (and org) address. If it 
matches then it requires a valid DKIM signature for the domain of the sender 
(in this case example.com or example.org).




This message and its attachment (if any) are strictly confidential and sent to 
the designated recipient(s) only. If you are not the intended recipient, please 
notify the sender by e-mail and delete this message and its attachment (if any) 
from your computer system immediately . Century City International Holdings 
Limited, Paliburg Holdings Limited, Regal Hotels International Holdings 
Limited, its respective related subsidiaries, associated companies and 
affiliates do not guarantee this message and its attachment (if any) are free 
of computer virus and would not accept any liability whatsoever arising from 
Internet transmission.

Reply via email to