[Rspamd-Users] Spamtraps with tagged addresses
Philip Paeps
philip at trouble.is
Tue Mar 19 06:01:50 UTC 2019
On 2019-03-14 02:07:50 (+0800), Ralph Seichter wrote:
> * Philip Paeps:
>
>> I would like user+spam at example.com to be a spamtrap but
>> user+notspamyet at example.com not to be a spamtrap.
>
> You can use
>
> rspamd_config:add_condition('EMAIL_PLUS_ALIASES', function(task)
> return false end)
>
> to prevent removal of extensions in <name+extension at domain.tld>, and
> then task:get_principal_recipient() to access the unmodified envelope
> recipient.
That sounds good. But how would I configure that for spamtraps?
Do I just add that Lua snippet somewhere to make the right thing happen?
Thank you.
Philip
--
Philip Paeps
Senior Reality Engineer
Ministry of Information
More information about the Users
mailing list