[Rspamd-Users] Simple rule trouble.

Michelle Sullivan michelle at isux.com
Tue Sep 9 22:17:27 UTC 2025



> On 10 Sep 2025, at 00:03, Benny Pedersen via Users <users at lists.rspamd.com> wrote:
> 
> Michelle Sullivan skrev den 2025-09-09 14:45:
> 
>> If sender-IP is NOT in range 10.10.0.0/16 and header-from matches regexp then score = 10.0
> 
> you realize that is rfc 1918 ?


Well duh, I had no idea…. Perhaps you should come work for me, you seem so clever.


> 
> you punish your own server


Maybe I wan to punish my own users!



> 
>> Is there a simple way to do this?
> 
> yes dont


So nothing to add then.



> 
>> Specifically for this example:
>> If the incoming IP is NOT in 161.146.0.0/16 and the header From: matches /(ato|mygov|myid|centerlink).*\<.+\@.+\>$/ then score 10.0
> 
> train bayes, done


Really not a useful or appropriate answer.




More information about the Users mailing list