[exim-dev] [Bug 1649] rework SRS to avoid using dead librari…

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: admin
Data:  
Para: exim-dev
Tópicos Antigos: [exim-dev] [Bug 1649] New: rework SRS to avoid using dead libraries
Assunto: [exim-dev] [Bug 1649] rework SRS to avoid using dead libraries
https://bugs.exim.org/show_bug.cgi?id=1649

--- Comment #11 from Mike Brudenell <mike.brudenell@???> ---
Hi, Jim!
You're quite right about "max_rcpt = 1", which Jeremy had in his original
transport and I lost in my version. Mea culpa! I think that happened because I
was trying to extract code from my config and backporting it to Jeremy's
example.

My own config here does two tests -- one to see whether to SRS-rewrite, the
other whether to DKIM-sign -- within my single remote_smtp router. The SRS test
doesn't use $original_domain at all (I now explicitly use a different domain
name for SRS-rewritten addresses), but the DKIM test does still use
$original_domain so I've just been peering at it long and hard...

I *think* I'm safe using $original_domain in that test because it's only used
when identifying incoming NDRs to messages we sent out with an SRS-rewritten
sender. I *think* I'm right in believing that an NDR should normally only be
going to a single recipient? (Sure a spammer could forge an NDR message from
"<>" and going to multiple recipients, but my test will fail safe and not
DKIM-sign in that case.)

Cheers,
Mike B-)

--
You are receiving this mail because:
You are on the CC list for the bug.