[Rspamd-Users] Spamtraps with tagged addresses

Ralph Seichter abbot at monksofcool.net
Wed Mar 13 18:07:50 UTC 2019


* 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.

-Ralph


More information about the Users mailing list