Re: Enabling USER_IN_BLOCKLIST

2022-10-17 Thread jdow
Go find the rule in the rule sets. In my old SL7 install I get a bundle more 
than makes sense with a simple  "sudo grep -r USER_IN BLACKLIST 
/var/lib/spamassassin". People with more prejudices than good sense decided 
"BLACK" in a rule name is R*A*C*I*S*T so they broke everything renaming it 
"BLOCK". So change any rules YOU may have that say USER_IN_BLACKLIST to 
USER_IN_BLOCKLIST so the block heads are happy.


I'll go crawl back in my hole of hates needless controversy and leave the rest 
to you and others. I'm racist because I'd rather spend effort on something 
productive after dealing with a government jerk over the term of art "fork". 
Basically we were told to do the impossible and "get the fork out of there," 
That wasted about $100,000 of our time that could have been used to make the 
product work better. After the ensuing problems we went back to the unmodified 
version of GRiD-OS and magically everything worked again. The waste was 
offensive - in that case and this one.


{o.o}

On 20221017 09:42:39, Roberto Puzzanghera via users wrote:

Hello,
I have plenty of these in my headers

0.0 USER_IN_BLOCKLIST  From: user is listed in the block-list
100 USER_IN_BLACKLIST  DEPRECATED: See USER_IN_BLOCKLIST

but I don't know how to get USER_IN_BLOCKLIST working in place of 
USER_IN_BLACKLIST.


Any help appreciated

Greetings, Roberto

Re: Enabling USER_IN_BLOCKLIST

2022-10-17 Thread jdow
Go find the rule in the rule sets. In my old SL7 install I get a bundle more 
than makes sense with a simple  "sudo grep -r USER_IN BLACKLIST 
/var/lib/spamassassin". People with more prejudices than good sense decided 
"BLACK" in a rule name is R*A*C*I*S*T so they broke everything renaming it 
"BLOCK". So change any rules YOU may have that say USER_IN_BLACKLIST to 
USER_IN_BLOCKLIST so the block heads are happy.


I'll go crawl back in my hole of hates needless controversy and leave the rest 
to you and others. I'm racist because I'd rather spend effort on something 
productive after dealing with a government jerk over the term of art "fork". 
Basically we were told to do the impossible and "get the fork out of there," 
That wasted about $100,000 of our time that could have been used to make the 
product work better. After the ensuing problems we went back to the unmodified 
version of GRiD-OS and magically everything worked again. The waste was 
offensive - in that case and this one.


{o.o}

On 20221017 09:42:39, Roberto Puzzanghera via users wrote:

Hello,
I have plenty of these in my headers

0.0 USER_IN_BLOCKLIST  From: user is listed in the block-list
100 USER_IN_BLACKLIST  DEPRECATED: See USER_IN_BLOCKLIST

but I don't know how to get USER_IN_BLOCKLIST working in place of 
USER_IN_BLACKLIST.


Any help appreciated

Greetings, Roberto

Re: Enabling USER_IN_BLOCKLIST

2022-10-17 Thread Kevin A. McGrail

Are you using the 4.0 release candidate?

On 10/17/2022 12:42 PM, Roberto Puzzanghera via users wrote:

Hello,
I have plenty of these in my headers

0.0 USER_IN_BLOCKLIST  From: user is listed in the block-list
100 USER_IN_BLACKLIST  DEPRECATED: See USER_IN_BLOCKLIST

but I don't know how to get USER_IN_BLOCKLIST working in place of 
USER_IN_BLACKLIST.


Any help appreciated

Greetings, Roberto


--
Kevin A. McGrail
kmcgr...@apache.org

Member, Apache Software Foundation
Chair Emeritus Apache SpamAssassin Project
https://www.linkedin.com/in/kmcgrail - 703.798.0171



Re: Enabling USER_IN_BLOCKLIST

2022-10-18 Thread Roberto Puzzanghera via users

Il 2022-10-17 23:10 Kevin A. McGrail ha scritto:

Are you using the 4.0 release candidate?


I'm using version 3.4.6



On 10/17/2022 12:42 PM, Roberto Puzzanghera via users wrote:

Hello,
I have plenty of these in my headers

0.0 USER_IN_BLOCKLIST  From: user is listed in the block-list
100 USER_IN_BLACKLIST  DEPRECATED: See USER_IN_BLOCKLIST

but I don't know how to get USER_IN_BLOCKLIST working in place of 
USER_IN_BLACKLIST.


Any help appreciated

Greetings, Roberto


Re: Enabling USER_IN_BLOCKLIST

2022-10-18 Thread Laurent S.
On 3.4.X, adding those rules should be enough:

score   URI_HOST_IN_BLOCKLIST 100.0
score   URI_HOST_IN_BLACKLIST 0
score   URI_HOST_IN_WHITELIST 0
score   URI_HOST_IN_WELCOMELIST   -100
score   USER_IN_BLOCKLIST 100.0
score   USER_IN_BLACKLIST 0
score   USER_IN_WELCOMELIST   -100.0
score   USER_IN_WHITELIST 0

You should put them in your LOCAL_RULES_DIR. For most users, it is in 
/etc/mail/spamassassin. Adding them to local.cf is probably a good place.

Jdow, don't change stuff directly in /var/lib/spamassassin and don't recommend 
others to do so. Nothing is broken because of that renaming, except your ego.

Best,
Laurent


Re: Enabling USER_IN_BLOCKLIST

2022-10-18 Thread Roberto Puzzanghera via users

It works!

Thanks everyone for the support
Roberto

Il 2022-10-18 16:29 Laurent S. ha scritto:

On 3.4.X, adding those rules should be enough:

score   URI_HOST_IN_BLOCKLIST 100.0
score   URI_HOST_IN_BLACKLIST 0
score   URI_HOST_IN_WHITELIST 0
score   URI_HOST_IN_WELCOMELIST   -100
score   USER_IN_BLOCKLIST 100.0
score   USER_IN_BLACKLIST 0
score   USER_IN_WELCOMELIST   -100.0
score   USER_IN_WHITELIST 0

You should put them in your LOCAL_RULES_DIR. For most users, it is in 
/etc/mail/spamassassin. Adding them to local.cf is probably a good 
place.


Jdow, don't change stuff directly in /var/lib/spamassassin and don't 
recommend others to do so. Nothing is broken because of that renaming, 
except your ego.


Best,
Laurent


Re: Enabling USER_IN_BLOCKLIST

2022-10-18 Thread jdow

On 20221018 07:29:49, Laurent S. wrote:

On 3.4.X, adding those rules should be enough:

score   URI_HOST_IN_BLOCKLIST 100.0
score   URI_HOST_IN_BLACKLIST 0
score   URI_HOST_IN_WHITELIST 0
score   URI_HOST_IN_WELCOMELIST   -100
score   USER_IN_BLOCKLIST 100.0
score   USER_IN_BLACKLIST 0
score   USER_IN_WELCOMELIST   -100.0
score   USER_IN_WHITELIST 0

You should put them in your LOCAL_RULES_DIR. For most users, it is in 
/etc/mail/spamassassin. Adding them to local.cf is probably a good place.

Jdow, don't change stuff directly in /var/lib/spamassassin and don't recommend 
others to do so. Nothing is broken because of that renaming, except your ego.


I'm sorry you read it that way. My intent was to provide documentation that 
could lead to understanding what was going on. You are correct, use user_prefs 
or local.cf or a custom XXX.cf file in the appropriate place for local.cf. 
(Specifically I'd have it in with the surviving SARE rules I use.)


{^_^}


Re: Enabling USER_IN_BLOCKLIST

2022-10-18 Thread jdow

And "gabor.sz...@gmail.com" can stuff his mail setup where the sun doesn't 
shine.

{^_^}

On 20221018 16:23:26, jdow wrote:

On 20221018 07:29:49, Laurent S. wrote:

On 3.4.X, adding those rules should be enough:

score   URI_HOST_IN_BLOCKLIST 100.0
score   URI_HOST_IN_BLACKLIST 0
score   URI_HOST_IN_WHITELIST 0
score   URI_HOST_IN_WELCOMELIST   -100
score   USER_IN_BLOCKLIST 100.0
score   USER_IN_BLACKLIST 0
score   USER_IN_WELCOMELIST   -100.0
score   USER_IN_WHITELIST 0

You should put them in your LOCAL_RULES_DIR. For most users, it is in 
/etc/mail/spamassassin. Adding them to local.cf is probably a good place.

Jdow, don't change stuff directly in /var/lib/spamassassin and don't recommend 
others to do so. Nothing is broken because of that renaming, except your ego.


I'm sorry you read it that way. My intent was to provide documentation that 
could lead to understanding what was going on. You are correct, use user_prefs 
or local.cf or a custom XXX.cf file in the appropriate place for local.cf. 
(Specifically I'd have it in with the surviving SARE rules I use.)


{^_^}