You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Reindl Harald <h....@thelounge.net> on 2015/05/26 15:17:27 UTC

is "Shortcircuit" not part of the default SA

SA 3.4.1 (Fedora 21)

i played around with the rules below but messages still get 
"BAYES_00,USER_IN_MORE_SPAM_TO,USER_IN_SPF_WHITELIST" and so hit bayes 
and likely other rules which i thought can be skipped

"shortcircuit=_SCTYPE_" is also not replaced in the report headers
http://wiki.apache.org/spamassassin/ShortcircuitingRuleset

# skip most tests for 'whitelist_auth' messages
ifplugin Mail::SpamAssassin::Plugin::Shortcircuit
  meta         SC_NET_HAM (USER_IN_DKIM_WHITELIST || USER_IN_SPF_WHITELIST)
  priority     SC_NET_HAM -500
  shortcircuit SC_NET_HAM ham
  score        SC_NET_HAM -20
endif


Re: is "Shortcircuit" not part of the default SA

Posted by Reindl Harald <h....@thelounge.net>.
solved, was tehre but commented in the .pre files

[root@localhost:~]$ cat /etc/mail/spamassassin/shortcircuit.pre
loadplugin Mail::SpamAssassin::Plugin::Shortcircuit

Am 26.05.2015 um 15:17 schrieb Reindl Harald:
> SA 3.4.1 (Fedora 21)
>
> i played around with the rules below but messages still get
> "BAYES_00,USER_IN_MORE_SPAM_TO,USER_IN_SPF_WHITELIST" and so hit bayes
> and likely other rules which i thought can be skipped
>
> "shortcircuit=_SCTYPE_" is also not replaced in the report headers
> http://wiki.apache.org/spamassassin/ShortcircuitingRuleset
>
> # skip most tests for 'whitelist_auth' messages
> ifplugin Mail::SpamAssassin::Plugin::Shortcircuit
>   meta         SC_NET_HAM (USER_IN_DKIM_WHITELIST || USER_IN_SPF_WHITELIST)
>   priority     SC_NET_HAM -500
>   shortcircuit SC_NET_HAM ham
>   score        SC_NET_HAM -20
> endif