Spamassassin user_prefs problems

_rik_

Verified User
Joined
Sep 25, 2019
Messages
44
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?
 
Back
Top