Zitat von Matthias Andree <matthias.and...@gmx.de>:
Am 23.03.2011 14:19, schrieb Andrea Di Mario:
Hi, I've a relay server that receives emails from some other. For some
of these servers, that have a particular prefix, i wrote some
header_checks' rules to change header, now i want rewrite the
Message-Id header and i wrote:
if /^Message-Id: <(.*)@prefix.*\.domain\.tld>$/ REPLACE Message-Id:
<$1...@domain.tld>
endif
It doesn't work. Could you tell me some suggestions?
Don't mess with Message-IDs. They are supposed to be unique, and if
that's not the case, messages may get discarded as duplicates, and
nobody ever knows.
+1 : See for example RFC 2822 section 3.4.6
Regards
Andreas