"Morten Trab" <[EMAIL PROTECTED]> writes:

> How do I make TMDA only look at the first found X-Original-To header and not
> the others in the mail?

Well, the way the deep-down internals of the email parsing code works,
TMDA should be looking at the first X-Original-To field encounted,
reading from top to bottom of the header.  Maybe that's the problem?
In any case, there isn't any way to configure which one it looks at.

> Postfix doesn't seem to be able to replace an existing header, only prepend
> another.

A couple of ideas....  Can Postfix rename an already-existing field to
a different name, such as Old-X-Original-To, before adding the new
one?  Also, can you tell Postfix to use a different field name, other
than X-Original-To; e.g., X-TMDA-Original-To?  Then you can tell TMDA
to look for that field instead.  It is extremely unlikely that a
header field of that name would show up "in the wild."


Tim

_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users

Reply via email to