PHP_ORIG_SCRIPT not too high?

General eFa discussion
Post Reply
robertboyl
Posts: 25
Joined: 09 Feb 2015 11:29

PHP_ORIG_SCRIPT not too high?

Post by robertboyl »

Hello, everyone

Im wonder, this test, which doesnt seem to be in the original Spamassassin, IMHO, seems a bit too high of a score, as it seems to just identify the email came from a PHP script...

Any thoughts?

X-efa-SpamCheck: not spam, SpamAssassin (not cached, score=3.452,
required 4, autolearn=disabled, PHP_ORIG_SCRIPT 2.25,
SUBJECT_NEEDS_ENCODING 0.10, SUBJ_ILLEGAL_CHARS 1.10)
X-efa-SpamScore: 3

The email itself simply has:

X-PHP-Originating-Script: 786:orcamento.php

Thanks!
Robert
akl
Posts: 20
Joined: 04 Mar 2016 18:26

Re: PHP_ORIG_SCRIPT not too high?

Post by akl »

Hi,

you can edit the score in /var/lib/spamassassin/3.004001/updates_spamassassin_org/72_scores.cf

I am running EFA 3.0.0.9 and my scores are
score PHP_ORIG_SCRIPT 0.500 2.245 0.500 2.245

I assume, that you have a different ruleset base because it is 2.25 in your posting.
This might be because of updates....

The rule itself is specified in 72_active.cf and as far as I understand it is not simply the PHP scripüt, that matters

##{ PHP_ORIG_SCRIPT

meta PHP_ORIG_SCRIPT __PHP_ORIG_SCRIPT_SONLY && !ALL_TRUSTED && !__SUBSCRIPTION_INFO
describe PHP_ORIG_SCRIPT Sent by bot & other signs
#score PHP_ORIG_SCRIPT 2.500 # limit
tflags PHP_ORIG_SCRIPT publish
##} PHP_ORIG_SCRIPT

Maybe you should investigate the other rules for your sender. I understand, that PHP_ORIG_SCRIPT is only true if all three subrules match.

But please keep in mind, that i am kind of new to this stuff as well. I am still learning myself.
Maybe some of the experts can confirm my suggestion or not, please.

Regards
akl
User avatar
shawniverson
Posts: 3783
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: PHP_ORIG_SCRIPT not too high?

Post by shawniverson »

Don't edit /var/lib/spamassassin/ it'll just get overwritten in the next update :o

Instead, override it in /etc/mail/spamassassin/local.cf :D
akl
Posts: 20
Joined: 04 Mar 2016 18:26

Re: PHP_ORIG_SCRIPT not too high?

Post by akl »

yes, that makes sense :D

can I override anything that's elsewhere in the SA chain in local.cf?

e.g.
adding just score PHP_ORIG_SCRIPT 0.500 1.000 0.500 1.000 in local.cf will override the statement no matter in which other file it is used?

I'd like to override the Image Cerberus myself, because it is really strict and I did not yet really understand its criterias, wether a rule is true for a Picture or not...

regards
akl
User avatar
pdwalker
Posts: 1585
Joined: 18 Mar 2015 09:16

Re: PHP_ORIG_SCRIPT not too high?

Post by pdwalker »

I believe so, yes.

At least, that is where I am doing it.
akl
Posts: 20
Joined: 04 Mar 2016 18:26

Re: PHP_ORIG_SCRIPT not too high?

Post by akl »

ok, thanks!
robertboyl
Posts: 25
Joined: 09 Feb 2015 11:29

Re: PHP_ORIG_SCRIPT not too high?

Post by robertboyl »

Thanks!!
Post Reply