On Fri, 5 Sep 2003 22:48:57 +0200 Vadim Zeitlin <[EMAIL PROTECTED]> wrote:
> I forgot > about sendmail pipe but this was discussed in depth some (long) time ago > and the existing code is correct (please don't change it!) in this > respect, so you can just have a look at it. Actually, this is the only code that I have changed (so far...). I added CRLF->LF conversion and I now get correct newlines in sendmail pipe, Smtp after sendmail pipe, c-client's Smtp, and outbox file. > C-client is EOL-agnostic, > AFAIK it doesn't do anything with the data. In unix_append_msg I read /* copy line, toss out CR from CRLF */. C-client converts CRLF to LF when writing to Unix mailbox. My conclusion is that c-client expects network newlines (CRLF) on input and always produces CRLF on output. We must do CRLF<->LF conversion for all c-client calls. > Finally, Mahogany should use > just LFs internally, always. The conversion should happen only when the > data gets in and when it comes out. It depends where is out and where is in. According to what I describe above, c-client is out. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Mahogany-Developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mahogany-developers
