Comment 7 for bug 701976

Revision history for this message
Gary Poster (gary) wrote :

The good news: as I reported in the previous message, the mail server configuration does seem to have been a problem, and as far as we can tell both on the SA side and in the Launchpad logs, *all* emails now have the header inserted.

The bad news: we still do have OOPSes like this. I saw 58 from Friday in the logs, for instance. Brad Marshall noticed that the representative message I sent him was spam, and had malformed headers (namely, an extra newline in the middle of the headers). This is probably confusing our log code, causing us to complain. I confirmed that all 58 have the header, and the ones I looked at manually all had the same problem Brad described.

For this last problem, then, I recommend that, if we don't find the X-Launchpad-Original-To header in the proper place, we look in the body for it. If we find it in the body, we should silently ignore the problem, without an OOPS, perhaps merely logging that we are regarding it as spam.

If we do *not* find it in the body, we should continue to generate an OOPS, because this caught a legitimate configuration error.