On Fri, 5 Sep 2003 22:48:57 +0200 Vadim Zeitlin <[EMAIL PROTECTED]>

wrote:



>  In any case, I still don't really understand what the problem is. To

> the best of my knowledge, we did do this part right and so the problem

> must be in the composer as it is the only thing which has changed.



Last "Ignore (testing minimal editor)" message was written using layout

editor. I couldn't believe it works, because minimal editor does everything

like layout editor. I've got empty lines with it too. It wasn't observed

before because everybody is using Smtp on Linux too. This is all good news,

because we now know that the problem is specific to sendmail pipe.



> Why

> do you have to look at the CR/CRLF problems elsewhere if we have no

> reason (that I know of) to suspect that they exist?



I have debugged it further and I observe that Exim is sending out CRCRLF

newlines to local Smtp smarthost (which is qmail). This is because it

translates LF on sendmail pipe to CRLF on Smtp stream. We are already

pushing CRLF to sendmail pipe. This CRCRLF gets translated into final

CRLFCRLF somewhere on Internet (probably at sourceforge).



I know you said that sendmail pipe code shouldn't be changed, but we cannot

send that same newline to both Smtp and sendmail pipe. If you say that all

strings should be LF-terminated, then maybe we should change Smtp code

instead and remove CRLF translation from minimal editor.



> You simply should

> ensure that the composer never adds any CRs.



We would be then sending out LF-only newlines through Smtp. This is how

minimal editor did it before and I fixed it after somebody reported

problems with qmail.



I will look into existing code and if there are no objections, I will add

CRLF translation to Smtp code and remove it from minimal editor.





-------------------------------------------------------
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

Reply via email to