[Rspamd-Users] rewrite subject twice

Yahoo luchris at yahoo.com
Fri Feb 24 05:14:34 UTC 2023


Hi,

I have only 1 instant of rspamd running with postfix. Amavisd is running 
for clamd. Whenever i receive a spam email,  the subject will be 
rewritten twice. The matching spam score is always the later,  the 
result is False and it won't be dropped into the Junk/Spam folder

For example SPAM:6.21 SPAM:5.31 Latest Business Financing Schemes for 
SMEs to grow your business!!!

X-Spamd-Result: default: False [5.31 / 50.00];

	BAYES_SPAM(3.21)[94.38%];
	MISSING_TO(2.00)[];
	BAD_REP_POLICIES(0.10)[];
	MIME_GOOD(-0.10)[multipart/related,multipart/alternative,text/plain];
	MIME_BASE64_TEXT(0.10)[];
	DMARC_NA(0.00)[trinexis.sg];
	MIME_TRACE(0.00)[0:+,1:+,2:+,3:~,4:~];
	FROM_EQ_ENVFROM(0.00)[];
	RCVD_TLS_LAST(0.00)[];
	ARC_ALLOW(0.00)[microsoft.com:s=arcselector9901:i=1];
	ASN(0.00)[asn:8075, ipnet:40.104.0.0/14, country:US];
	R_SPF_ALLOW(0.00)[+ip4:40.107.0.0/16];
	SUBJECT_ENDS_EXCLAIM(0.00)[];
	RCVD_IN_DNSWL_NONE(0.00)[40.107.255.102:from];
	FROM_HAS_DN(0.00)[];
	R_DKIM_ALLOW(0.00)[trinexis.onmicrosoft.com:s=selector2-trinexis-onmicrosoft-com];
	RCVD_COUNT_THREE(0.00)[3];
	GREYLIST(0.00)[pass,body];
	DKIM_TRACE(0.00)[trinexis.onmicrosoft.com:+];
	RWL_MAILSPIKE_POSSIBLE(0.00)[40.107.255.102:from]
X-Rspamd-Action: rewrite subject
X-Rspamd-Server: dominate.mydomain.com
X-Spamd-Bar: +++++
X-Rspamd-Queue-Id: E0D9CC05DCC2

This is my actions.conf

actions {
     reject = 50; # Reject when reaching this score
     rewrite_subject = 5.01;
     subject = "SPAM: %d %s";
     add_header = 5;
     greylist = 4;

What did i missed out.

Thank you



More information about the Users mailing list