On 2021-04-20 13:48, Matus UHLAR - fantomas wrote:
On 19 Apr 2021, at 21:28, John Hardin wrote:
...so:

 header  ALL_INTERNAL  X-Spam-Relays-External =~ /^$/

?

On 19.04.21 22:15, Bill Cole wrote:
Actually, what I committed earlier today in my sandbox and will move to the main rules tree if it doesn't do anything crazy in masschecks:

describe __NO_EXTERNALS No external relays
header   __NO_EXTERNALS X-Spam-Relays-External =~ /^$/

describe ALL_INTERNAL   Has only internal relays
meta     ALL_INTERNAL   __NO_EXTERNALS && !NO_RELAYS
tflags   ALL_INTERNAL   nice

afik NO_RELAYS hits when mail was locally generated, which means, so you need
at least one relay, otherwise it won't hit.

Are you sure you need it this way?

!NO_RELAYS is external ip since NO_RELAYS is internal_networks

this is so cool that Bill created another rule for ALL_EXTERNAL when NO_RELAYS exists :/

please fokus on DKIM signed mails is LOCAL domains or not

KAM cant help knowing what is local or not, we all wait for spamassassin 4.x.x where this mess is solved by no need for any rules waste anymore

Bill have this in mind when AuthRes doing this on 4.x.x then KAM rule will be not needed or atleast change for 4.x.x usage

hope the best for the future of spamassassin

Reply via email to