Spamassassin user_prefs problems

_rik_

Verified User
Joined
Sep 25, 2019
Messages
45
Location
England
I'm writing here because my hosting provider cannot find the problem.
blacklist_from works OK.
Instead the rules I set in
#SAFE AREA start
#SAFE AREA end
are completely ignored.

e.g., I've tested

header EMPTY_ENVELOPE_FROM EnvelopeFrom =~ /^<>$/
describe EMPTY_ENVELOPE_FROM Empty envelope sender
score EMPTY_ENVELOPE_FROM 2.5

header EMPTY_ENVELOPE_USER Received =~ /\(envelope-from <>?\)/
describe EMPTY_ENVELOPE_USER Empty envelope sender detected in Received
score EMPTY_ENVELOPE_USER 2.5

header EMPTY_RETURN_PATH Return-Path =~ /^<>$/
describe EMPTY_RETURN_PATH Empty Return-Path header
score EMPTY_RETURN_PATH 2.5

None of the above works


Same problem for the contrary. None of the below works.

header EMPTY_ENVELOPE_FROM EnvelopeFrom =~ /\@return\.idealista\.it\b/
describe EMPTY_ENVELOPE_FROM Empty envelope sender
score EMPTY_ENVELOPE_FROM 2.5

header RETURN_IDEALISTA Return-Path =~ /\@return\.idealista\.it\b/i
describe RETURN_IDEALISTA Return-Path from return.idealista.it
score RETURN_IDEALISTA -2.5

#header FROM_IDEALISTA From =~ /@idealista\.it/i
#describe FROM_IDEALISTA Message from Idealista
#score FROM_IDEALISTA -2.5

but at least for this I can use the whitelist (despite is not exacty the same since there is no negative score case by case like in these rules)

Any idea why none of the above works and what could I try?
 
Hi zEitEr,
I'm not an admin, I have only reseller permissions and I manage the user_prefs in any user account.
When you go in E-mail Manager --> Spamassassin Setup and click "Manually edit config file"
it opens the file /.spamassassin/user_prefs (where / is the user root).
Into such file you can see the safe area that is the part of the file that is not touched by the GUI.
 
Hi,

It's working on my end. I tested:

Bash:
#SAFE AREA start
score    FREEMAIL_FROM  0.5

#SAFE AREA end

I change other settings of SpamAssassin in the browser and click SAVE just in case to make sure the things are reloaded fine.

poralix.png
 
Back
Top