On 01/18/2018 05:49 PM, Chip wrote:
Very well stated.  Bravo!

The end point here is to examine the email headers that specifically
refer to dkim and spf signatures.  Based on fail or pass, or some
combination in concert with the sender's email address, they get moved
into fail or pass folders.

That's it!


Finally we get some details!  :)  This is very simple then:

1. Enable the Shortcircuit plugin in v320.pre

2. Enable these SPF and DKIM rules to be shortcircuit'd in your local.cf:

shortcircuit SPF_PASS on
shortcircuit DKIM_VALID_AU on
score SPF_PASS -100
score DKIM_VALID_AU -100

3. Now you should see the SHORTCIRCUIT rule hit in your logs. Setup a sieve rule to look for those 2 rules above to move them to the pass folder. They will always be ham (score very low) and never be blocked by the "glue" even with the default required_score.

P.S. Technically, you could just set the 2 scores and not enable the shortcircuit plugin. The 2 score lines in the local.cf should do what you want to do.

--
David Jones

Reply via email to