Avoiding duplicate reply-to lines in header

Previous Topic Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Avoiding duplicate reply-to lines in header

Just Ian
I have an email address that sends to five people using a virtual-map line:

[hidden email]        [hidden email], [hidden email], (etc)

When tinylist receives email, header_checks uses the following test to
add a reply-to line to the header, so that replies go to 'tinylist'
rather than the original sender:

/^To: .*tinylist@example\.com/     PREPEND Reply-To: [hidden email]

For mail from three of us, that works fine.

Two people's mail clients have already added a reply-to line in the
header, so two reply-to lines end up in the header:

Delivered-To:  [hidden email]
Reply-To: [hidden email]
Subject: Re: Some stuff
Reply-To: [hidden email]
To: [hidden email]

.. which is contrary to the relevant RFCs and, worse :), means that
everyone else's client only looks at the first one when deciding where
to send replies.

How can this be avoided while maintaining the simplicity?