[Rspamd-Users] Dynamic score by sender or hostname

Achim Lammerts ml-rspamd at syntaxys.de
Tue May 16 10:14:34 UTC 2023


Hello list,
actually I recieve a lot of spam from GMail accounts with just an URL in 
the body.

The symbol HFILTER_URL_ONLY is by default set to a score of 2,200 and I 
like to screw that up only for those e-mails coming from GMail:

*HFILTER_URL_ONLY (1.283333) [0.58333333333333]*
DMARC_POLICY_ALLOW (-0.5) [gmail.com,none]
R_DKIM_ALLOW (-0.2) [gmail.com:s=20221208]
IP_REPUTATION_SPAM (0.164851) [asn: 15169(0.05), country: US(0.01), ip: 
2607:f8b0:4864:20::(0.00)]
MIME_GOOD (-0.1) [text/plain]
R_SPF_ALLOW (-0.1) [+ip6:2607:f8b0:4000::/36:c]
URL_REPUTATION (0.095299) [0.031766425178467]
FREEMAIL_TO (0) [hotmail.com,googlemail.com,hotmail.de,web.de]
REDIRECTOR_URL (0) [bit.ly]
ARC_NA (0)
FREEMAIL_FROM (0) [gmail.com]
RCPT_COUNT_FIVE (0) [6]
RCVD_COUNT_TWO (0) [2]
SPFBL_WHITELIST_DOMAIN (0)
DKIM_REPUTATION (0) [0]
DKIM_TRACE (0) [gmail.com:+]
RCVD_TLS_LAST (0)
SPFBL_WHITELIST_SERVER_BULK_SENDER (0) 
[mail-yb1-xb41.google.com:rdns,2607:f8b0:4864:20::b41:from]
NEURAL_SPAM (0) [0.615]
TO_MATCH_ENVRCPT_SOME (0)
PREVIOUSLY_DELIVERED (0) [sh at medicops.de]
BLOCKLISTDE_FAIL (0) [2607:f8b0:4864:20::b41:server fail]
MID_RHS_MATCH_FROMTLD (0)
ASN (0) [asn:15169, ipnet:2607:f8b0::/32, country:US]
MIME_TRACE (0) [0:+]
DWL_DNSWL_NONE (0) [gmail.com:dkim]
FROM_HAS_DN (0)
TO_DN_ALL (0)
FREEMAIL_ENVFROM (0) [gmail.com]
SPFBL_WHITELIST_DOMAIN_BULK_SENDER (0) [gmail.com.dnswl.spfbl.net : 
127.0.0.5]
RCVD_IN_DNSWL_NONE (0) [2607:f8b0:4864:20::b41:from]
FROM_EQ_ENVFROM (0)

What's the best way to do this without affecting the regular mails from 
GMail users?

Thanks for your help, kind regards

Achim


More information about the Users mailing list