[Rspamd-Users] Spamtraps with tagged addresses

Philip Paeps philip at trouble.is
Wed Mar 13 07:22:44 UTC 2019


On 2019-03-13 15:02:35 (+0800), Alexander Moisseev via Users wrote:

> On 13.03.19 9:12, Philip Paeps wrote:
>> I think I asked this before on the old Google mailing list, but I 
>> don't believe I've seen an answer.
>>
>> I use a lot of email addresses in the form of philip+foo at example.com. 
>> The +foo lets me track who leaked my address.
>>
>> When I configure these in spamtrap.map, the spamtrap does not seem to 
>> trigger.  E.g.:
>>
>> spamtrap.conf:
>> map = file://$LOCAL_CONFDIR/local.d/spamtrap.map;
>>
>> spamtrap.map:
>> /^user\+xuung0he at example\.com$/
>>
>> Other spamtraps listed in spamtrap.map (untagged addresses) seem to 
>> work fine.
>>
>> Is there a way to let spamtrap see the tagged addresses?  Or to trap 
>> based on tags?
>>
>
> Rspamd removes subaddress extensions before address matching.
>
> /^user at example\.com$/
> should catch untagged and tagged addresses.

Right.  But that's exactly what I don't want to do.

I would like user+spam at example.com to be a spamtrap but 
user+notspamyet at example.com not to be a spamtrap.

That doesn't seem to be possible.

Philip

-- 
Philip Paeps
Senior Reality Engineer
Ministry of Information


More information about the Users mailing list