I have a postfix / dovecot /roundcube running on a ubuntu 22.04
I have some user which get mail with a false warning on SPAM
=> [***** SPAM 6.2 *****] xxxx
With a score higher than 4 which is the value I set in the conf.
I have add the mail of the sender in "/usr/share/spamassassin/local.cf"
Quoteshortcircuit USER_IN_WHITELIST on
shortcircuit USER_IN_DEF_WHITELIST on
whitelist_from notif-colissimo-laposte.info
reboot the server
But mail from the sender still arrive with a SPAM score higer than 4...
any idea why ?
Thanks
Would you mind posting the headers so we can see what sa is triggering on?
Of course
Quotepts rule name description
---- ---------------------- --------------------------------------------------
3.5 BAYES_99 BODY: Bayes spam probability is 99 to 100%
[score: 1.0000]
0.2 BAYES_999 BODY: Bayes spam probability is 99.9 to 100%
[score: 1.0000]
-0.0 SPF_PASS SPF: sender matches SPF record
-0.0 SPF_HELO_PASS SPF: HELO matches SPF record
0.0 HTML_MESSAGE BODY: HTML included in message
0.8 MPART_ALT_DIFF BODY: HTML and text parts are different
0.1 MIME_HTML_ONLY BODY: Message only has text/html MIME parts
0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily
valid
-0.1 DKIM_VALID Message has at least one valid DKIM or DK signature
-0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from
envelope-from domain
-0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from
author's domain
2.5 MIXED_ES Too many es are not es
-0.0 T_SCC_BODY_TEXT_LINE No description available.
0.0 MIME_HTML_ONLY_MULTI Multipart message only has text/html MIME
parts
0.0 T_KAM_HTML_FONT_INVALID Test for Invalidly Named or Formatted
Colors in HTML
1.6 LONG_HEX_URI Very long purely hexadecimal URI
But I am wrong if I say that if a sender is in the white liste, whatever his message is bad, it should pass ?
OK. Some questions.
What version of SpamAssassin?
What version of the ShortCircuit plugin?
How is your whitelist configured?
Thanks for help
When trying to send my conf I have seen that my "whitelist_from_rcvd" in my local.cf where behind the endif...
I will try with above ;-)
And let you know if it works
... still not works...
So I answer to your questions :-)
Spamassassin version :
QuoteSpamAssassin Server version 3.4.6
running on Perl 5.34.0
with SSL support (IO::Socket::SSL 2.074)
with zlib support (Compress::Zlib 2.102)
Shortcircuit plugin? are you talking about spamass-milter ? :
spamass-milter 0.4.0
my conf in '/usr/share/spamassassin/local.cf' :
Quoteifplugin Mail::SpamAssassin::Plugin::Shortcircuit
shortcircuit USER_IN_WHITELIST on
shortcircuit USER_IN_DEF_WHITELIST on
whitelist_from_rcvd *@notif-colissimo-laposte.info notif-colissimo-laposte.info
whitelist_from_rcvd *@infos.digiposte.fr infos.digiposte.fr
whitelist_from_rcvd *@leboncoin.fr leboncoin.fr
endif
Thanks for help if you have any idea ?