Hi again On 30 August 2010 22:56, Jean-Yves Avenard <[email protected]> wrote: > 4- I have added in sendmail a very simple rule allowing to create > dummy email address such as: > [email protected] > > this is equivalent to [email protected] > > 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 [email protected], the recipient I can see in the mail client is [email protected] 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
