[aiaiai PATCH v3 08/12] email: check the "Old-To:" header as well as "To:" and "Cc:"

Artem Bityutskiy dedekind1 at gmail.com
Thu Feb 6 08:37:20 PST 2014

On Thu, 2014-02-06 at 12:34 +0200, Artem Bityutskiy wrote:
> In my workflow, a procmail filter determines which project to send a patch
> against, and then replaces the "To:" header so that the proper project
> receives the patch. However, this results in dropping any other recipients of
> the email on the "To:" line. This prevents the reply_all from properly sending
> back notices and the test results to everyone. Fix this by recognizing the
> "Old-To" header which formail uses to store the previous "To:" data. This
> enables aiaiai to keep track of who the original patch was sent to as well,
> which in turn fixes the reply_to_all option.
> Signed-off-by: Jacob Keller <jacob.e.keller at intel.com>

Frankly, I did not really understand your setup. I'll try to read the
code, which may help understanding what you do and why, but if you could
send a bit expanded explanation, that would help.

Am I right that "Old-To" is something you define in your procmail rules
yourself, or this is something standard? Should we use, as you also
said, "X-Aiaiai-Old-To" or something? But anyway, I did not really
understand yet what is this :)

Best Regards,
Artem Bityutskiy

More information about the aiaiai mailing list