INN-CURRENT Folding Injection-Info: header messes up headers when mailed to moderator

Russ Allbery rra at stanford.edu
Thu Dec 31 07:07:33 UTC 2009


Russ Allbery <rra at stanford.edu> writes:

> I suspect it's your mailer that's doing the \r to \n substitution, but
> indeed, MailArticle assumes that there is no wrapping in the header
> lines and just appends \n to the end of each line and writes them to the
> mailer.

> It's not doing any line ending conversion for the body either... is that
> handled elsewhere?

Ah, I see, CMDpost plus line_read does that.

ARTpost is converting newlines to CRLF, so I suspect the solution is to
just define Injection-Info using a bare newline for continuation.  ARTpost
will convert that to a CRLF if needed.

-- 
Russ Allbery (rra at stanford.edu)             <http://www.eyrie.org/~eagle/>

    Please send questions to the list rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.



More information about the inn-workers mailing list