[Rspamd-Users] Ordering of DMARC reject and spamtrap reject

Philip Paeps philip at trouble.is
Tue Apr 9 09:49:51 UTC 2019


Log entry:

2019-04-09 09:33:28 #80052(rspamd_proxy) <36087f>; lua; spamtrap.lua:66: 
spamtrap found: <[redacted]>
2019-04-09 09:33:28 #80052(rspamd_proxy) <36087f>; proxy; 
rspamd_add_passthrough_result: <[redacted]>: set pre-result to reject 
(no score): 'message rejected' from spamtrap(1)
[...]
2019-04-09 09:33:28 #80052(rspamd_proxy) <36087f>; proxy; 
rspamd_task_write_log: id: 
[...],DMARC_POLICY_QUARANTINE(1.50){[redacted] : No valid SPF, No valid 
DKIM;quarantine;},[...],R_DKIM_NA(0.00){},R_SPF_SOFTFAIL(0.00){~all;},SPAMTRAP(0.00){[redacted];},[...], 
rcpts: <[redacted]>, mime_rcpts: <[redacted]>, forced: add header 
"Action set by DMARC"; score=nan (set by dmarc)

This message hit a spamtrap but had its 'reject' adjusted to 'add 
header' by DMARC.  The message was delivered to the Junk mailbox but I 
would have preferred it to be rejected.

Is there a way to force the spamtrap pre-result to take precedence 
rather than DMARC?

Thanks.
Philip

-- 
Philip Paeps
Senior Reality Engineer
Ministry of Information


More information about the Users mailing list