Hi again On 30 August 2010 22:56, Jean-Yves Avenard <jyaven...@gmail.com> wrote: > 4- I have added in sendmail a very simple rule allowing to create > dummy email address such as: > reg-username-ser...@domain.com > > this is equivalent to usern...@domain.com > > In sendmail, I would ad in the main .mc file: > > LOCAL_CONFIG > Klist regex -s2,1,3 -d+ ^(reg)-(.+)-(.+)$$ > LOCAL_RULE_0 > R$+ < @ $=w . > $: $(list $1 $: $1 $) < @ $2 . > > > I thought I could add something like this in the canonical file: > /^(reg)-(.*)-(.*)$/ ${2} > > However, I read in a few place that this would break recipient validation.
Should add that while with the canonical above I do get the email to the proper mailbox delivered, the recipient is being rewritten to the simple form instead. so if I send to reg-jya-likelyspam...@domain.com, the recipient I can see in the mail client is j...@domain.com And I loose the whole idea I had to start with, which was to be able to identify who is the one spamming and leaked the submitted email address. JY