Where can I edit the scores for RECEIVED_IN_MSPIKE?

Questions and answers about how to do stuff
Post Reply
budy
Posts: 74
Joined: 10 Sep 2017 07:33

Where can I edit the scores for RECEIVED_IN_MSPIKE?

Post by budy »

Hi,

I want to play a bit with efa's scores regarding the mailspike scores, but I seem to be unable to find the config for those on the eFa box.
I assumed, that they somewhow would show up in /etc/MailScanner/spamassasin.conf, but they don't.

Where are those configured and is there a sanctioned way of modifying them?
User avatar
pdwalker
Posts: 1553
Joined: 18 Mar 2015 09:16

Re: Where can I edit the scores for RECEIVED_IN_MSPIKE?

Post by pdwalker »

Code: Select all

[root@efa ~]# cd /var/lib/spamassassin/3.004001/updates_spamassassin_org

[root@efa updates_spamassassin_org]# grep -i mailspike *
20_mailspike.cf:# MailSpike is included in SpamAssassin 3.4+
20_mailspike.cf:header __RCVD_IN_MSPIKE_B	eval:check_rbl('mspikeb-lastexternal', 'bl.mailspike.net.')
20_mailspike.cf:header __RCVD_IN_MSPIKE_L	eval:check_rbl('mspikeg-firsttrusted', 'wl.mailspike.net.')
20_mailspike.cf:describe RCVD_IN_MSPIKE_BL	Mailspike blacklisted
20_mailspike.cf:describe RCVD_IN_MSPIKE_WL	Mailspike good senders
50_scores.cf:# MAILSPIKE RBL ENABLED FOR SA3.4 and above - BUG 6400

[root@efa updates_spamassassin_org]# grep MSPIKE *|grep score
50_scores.cf:  score RCVD_IN_MSPIKE_ZBI     2.7
50_scores.cf:  score RCVD_IN_MSPIKE_L5      2.5
50_scores.cf:  score RCVD_IN_MSPIKE_L4      1.7
50_scores.cf:  score RCVD_IN_MSPIKE_L3      0.9
50_scores.cf:  score RCVD_IN_MSPIKE_H3      -0.01
50_scores.cf:  score RCVD_IN_MSPIKE_H4      -0.01
50_scores.cf:  score RCVD_IN_MSPIKE_H5      -1.0
50_scores.cf:  score RCVD_IN_MSPIKE_BL      0.01
50_scores.cf:  score RCVD_IN_MSPIKE_WL      -0.01
72_scores.cf:score RCVD_IN_MSPIKE_BL                     0.001 0.010 0.001 0.010
72_scores.cf:score RCVD_IN_MSPIKE_H2                     0.001 -2.800 0.001 -2.800
72_scores.cf:score RCVD_IN_MSPIKE_H3                     0.001 -0.010 0.001 -0.010
72_scores.cf:score RCVD_IN_MSPIKE_H4                     0.001 -0.010 0.001 -0.010
72_scores.cf:score RCVD_IN_MSPIKE_H5                     0.001 -1.000 0.001 -1.000
72_scores.cf:score RCVD_IN_MSPIKE_L2                     0.001 0.001 0.001 0.001
72_scores.cf:score RCVD_IN_MSPIKE_L3                     0.001 0.001 0.001 0.001
72_scores.cf:score RCVD_IN_MSPIKE_L4                     0.001 0.001 0.001 0.001
72_scores.cf:score RCVD_IN_MSPIKE_L5                     0.001 0.001 0.001 0.001
72_scores.cf:score RCVD_IN_MSPIKE_WL                     0.001 -0.010 0.001 -0.010
72_scores.cf:score RCVD_IN_MSPIKE_ZBI                    0.001 0.001 0.001 0.001
Using this information, override these values by putting them in your /etc/mail/spamassassin/local.cf with the values you want.
budy
Posts: 74
Joined: 10 Sep 2017 07:33

Re: Where can I edit the scores for RECEIVED_IN_MSPIKE?

Post by budy »

Great - thanks. Now looking at the scores, can anybody enlighten me as of why a message received in H2 gets such an excellent score:

72_scores.cf:score RCVD_IN_MSPIKE_H2 0.001 -2.800 0.001 -2.800

when the higher reputation senders don't?
User avatar
pdwalker
Posts: 1553
Joined: 18 Mar 2015 09:16

Re: Where can I edit the scores for RECEIVED_IN_MSPIKE?

Post by pdwalker »

Code: Select all

[root@efa updates_spamassassin_org]# grep RCVD_IN_MSPIKE_H2 *
20_mailspike.cf:header RCVD_IN_MSPIKE_H2	eval:check_rbl_sub('mspikeg-firsttrusted', '127.0.0.17')
20_mailspike.cf:describe RCVD_IN_MSPIKE_H2	Average reputation (+2)
20_mailspike.cf:tflags RCVD_IN_MSPIKE_H2	nice net
72_scores.cf:score RCVD_IN_MSPIKE_H2                     0.001 -2.800 0.001 -2.800
because that list appears to be a "mailer you can trust" list.
budy
Posts: 74
Joined: 10 Sep 2017 07:33

Re: Where can I edit the scores for RECEIVED_IN_MSPIKE?

Post by budy »

Yeah - I know, but from looking at Anubis site, what qualifies the H2 hosts to be more trustworthy then the higher ones?
H3 to H5 only get their SA scores reduced marginally. H5 gets credit of only -1.0, H3 and H4 only receive -0.1 each.
Post Reply