I discovered a little bug in your program. The
(alias: message x of y)
string that is added to the Subject: line of the
forwarded messages should be put on a line of its
own and not appended at the end of the Subject: line,
as that header could be occupying more than one lines.
Example:
A message containing the following headers:
From: .....
Subject: This is a msg with a ridiculously long subject header.
This is a msg with a ridiculously long subject header.
This is a msg with a ridiculously long subject header.
Date: .....
becomes:
From: .....
Subject: This is a msg with a ridiculously long subject header. (testalias: message 1 of 4)
This is a msg with a ridiculously long subject header.
This is a msg with a ridiculously long subject header.
Date: .....
which is obviously incorrect. It's easier to add the (alias: message x of y)
part on a line of its own, after all other Subject: lines, like this:
From: .....
Subject: This is a msg with a ridiculously long subject header.
This is a msg with a ridiculously long subject header.
This is a msg with a ridiculously long subject header.
(testalias: message 1 of 4)
Date: .....
Thanks for providing such a great service.