[Rspamd-Users] Spamtrap module looks only at To header and not actual recipient
George Shammas
rspamd at shamm.as
Sun Jul 12 12:07:27 UTC 2020
On Sun, Jul 12, 2020 at 09:40:32AM +0300, Alexander Moisseev via Users wrote:
> 12.07.2020 6:45, George Shammas via Users пишет:
> > Is there a way to make the spamtrap module look at the recipient
> > instead of the To: header?
> >
>
> The spamtrap module doesn't look at the To: header, it checks SMTP recipients.
>
> https://github.com/rspamd/rspamd/blob/1b66df81cd9fa6799f1fd8d2fd92781661d722d8/src/plugins/lua/spamtrap.lua#L40
The code does suggest that you are correct...
Dug a little deeper, there was only a few lines in my spamtrap map, and the
one with excessive spoofing was the last line. That line was missing the
trailing newline, rendering it invalid.
Sorry for the confusion.
More information about the Users
mailing list