>>I'd really like this to be fixed as its littering my mail archiving >>system with junk addresses. I've attached the complete, unmodified >>message as "annoyance'txt".
> The message received at your end shows up as > "Content-Transfer-Encoding: 8bit" whereas the original message is > "Content-Transfer-Encoding: 7bit". > The transfer-encoding conversion may have caused the header problem. That sounds likely. Thanks for the information. I already have a filter installed immediately downstream of SA, so this is easy to check by extending it: any header byte containing 0x80 or higher is invalid because headers must be US-ASCII encoding (RFC 2821). I can log the details of any messages containing them. As for detoxifying the headers and stopping any further upsets, at a guess something like: if (c > 0x7f) { c = c & 0x80; if (c < 0x20) c = c + 'A"; } would detoxify the invalid header bytes headers without adding significant problems. Comments? Martin