I've made a hack in pipe.c, which should take care of MTAs sending an empty line before the body. It skips the first line (which can be '\r\n' or '\n').

This stuff is getting "hackier" by the minute.. I guess our code for getting the message from the MTA can use a litte refactoring. But that's for post-2.0 development.

Anyway, I'll put the code in CVS. Can you guys test it on your boxes?

Ilja


Ilja Booij wrote:

Postfix seems to send an extra empty line after the headers, so it's like this:

------ begin message ------
Header1: value
Header2: value


Body
------- end message ----

I would expect one empty line.


Do other MTAs do this as well?

Ilja


Ilja Booij wrote:

I can see the problem now, although it's a bit different: Both dbmail-smtp and lmtp add a newline too many. Why, I still don't know. I can see they read it from the input from Postfix.

I'll be doing some more testing.

Ilja


Ilja Booij wrote:

i can't reproduce the problem. I cannot see a difference between messages delivered by dbmail-smtp and dbmail-lmtp

can you give some more details?

Ilja


Ilja Booij wrote:

I'll have a look at this problem.

Ilja


UEMURA (fka. MAENAKA) Tetsuya wrote:

Hi.

With pipe.c 1.120 and lmtp, I don't see any duplicated messages, but it
adds newline into the most beginning of message body. With smtp,
everything seems fine.

--
UEMURA (fka. MAENAKA) Tetsuya
[EMAIL PROTECTED]



_______________________________________________
Dbmail-dev mailing list
Dbmail-dev@dbmail.org
http://twister.fastxs.net/mailman/listinfo/dbmail-dev




_______________________________________________
Dbmail-dev mailing list
Dbmail-dev@dbmail.org
http://twister.fastxs.net/mailman/listinfo/dbmail-dev



_______________________________________________
Dbmail-dev mailing list
Dbmail-dev@dbmail.org
http://twister.fastxs.net/mailman/listinfo/dbmail-dev


_______________________________________________
Dbmail-dev mailing list
Dbmail-dev@dbmail.org
http://twister.fastxs.net/mailman/listinfo/dbmail-dev

_______________________________________________
Dbmail-dev mailing list
Dbmail-dev@dbmail.org
http://twister.fastxs.net/mailman/listinfo/dbmail-dev

Reply via email to