Greg Troxel writes:
 > From: Greg Troxel <g...@lexort.com>
 > Date: Thu, 20 Jan 2022 16:32:53 -0500
 > 
 > I followed my own advice about egrep -R and found this immediately
 > 
 > it's in
 > 
 > 3.004006/updates_spamassassin_org/72_active.cf
 > 
 > and it is
 > 
 > ##{ FSL_HELO_NON_FQDN_1
 > header  FSL_HELO_NON_FQDN_1     X-Spam-Relays-External =~ /^[^\]]+ 
 > helo=[a-zA-Z0-9-_]+ /i
 > ##} FSL_HELO_NON_FQDN_1
 > 
 > with score
 > 
 > score FSL_HELO_NON_FQDN_1 2.361 0.001 1.783 0.001

BTW: You can create tags (using Exuberant ctags) for spamassassin rules:

I create the tags using:

ctags -f SPAMASSASSIN_TAGS --langdef=CF --langmap=CF:.cf --languages=CF 
--regex-CF='/^[ 
\t]*(header|mimeheader|describe|body|rawbody|full|meta|uri|urirhssub|uridnsbl|urirhsbl|tflags|score|replace_rules)[
 \t]+([^ \t]+)/\2/'   ~/.spamassassin  /var/lib/spamassassin 
/usr/share/spamassassin 

So, I can do Meta-. in Emacs and it goes directly to the 'header  
FSL_HELO_NON_FQDN_1' definition

-jeff

Reply via email to