I think what Wallace meant was that his message get truncated when they have a bodyline that starts with From

 --
 From: [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: blah

 From where I stand this should
 work
 --

Wallace: please explain how you hooked up exim and dbmail. This problem hasn't been reported since before dbmail 2.0 (it was a problem for early versions of dbmail-lmtpd, iirc).







Aleksander Kamenik wrote:
Wallace Tan wrote:
I have installed dbmail-2.2.7 with exim 4.63

Message body is truncated before line starting with "From"

I can receive emails except for emails with message body starting with "From"
This truncates the entire message body.

I don't get you here. The line with From has to be the first one and the message body before this line is then truncated? Doesn't make sense.


Anyone have this problem?
Is this a bug or is it a configuration setting that I have missed.

I did some testing, and when inserting the message directly to postfix via smtp, I noticed that the From line is treated as a header. The rest of the body is still there. And this only works if I don't insert any real headers too. Two examples.


mail:~ # telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 krediidiinfo.ee ESMTP Postfix
HELO test
250 krediidiinfo.ee
MAIL FROM:<[EMAIL PROTECTED]>
250 Ok
RCPT TO:<[EMAIL PROTECTED]>
250 Ok
DATA
354 End data with <CR><LF>.<CR><LF>
 From me to you
some text
..
250 Ok: queued as D6797F06E
QUIT
221 Bye
Connection closed by foreign host.


Results in:

---
Received: from test (localhost [127.0.0.1])    by krediidiinfo.ee (Postfix)
    with SMTP id D6797F06E    for <[EMAIL PROTECTED]>;
    Mon,  3 Dec 2007 13:12:57 +0200 (EET)
X-Mailbox-Line: From me to you
Message-Id: <[EMAIL PROTECTED]>
Date: Mon,  3 Dec 2007 13:12:57 +0200 (EET)
From: [EMAIL PROTECTED]
To: undisclosed-recipients:;
Return-Path: [EMAIL PROTECTED]
MIME-Version: 1.0

some text
---

And this:

mail:~ # telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 krediidiinfo.ee ESMTP Postfix
HELO test
250 krediidiinfo.ee
MAIL FROM:<[EMAIL PROTECTED]>
250 Ok
RCPT TO:<[EMAIL PROTECTED]>
250 Ok
DATA
354 End data with <CR><LF>.<CR><LF>
whatever1
whatever2
..
250 Ok: queued as 61DF3F071
QUIT
221 Bye
Connection closed by foreign host.


Results in:

---
Received: from test (localhost [127.0.0.1])    by krediidiinfo.ee (Postfix)
    with SMTP id 61DF3F071    for <[EMAIL PROTECTED]>;
    Mon,  3 Dec 2007 13:13:57 +0200 (EET)
Message-Id: <[EMAIL PROTECTED]>
Date: Mon,  3 Dec 2007 13:13:57 +0200 (EET)
From: [EMAIL PROTECTED]
To: undisclosed-recipients:;
Return-Path: [EMAIL PROTECTED]
MIME-Version: 1.0

whatever1
whatever2
---

These passed postfix, dspam before being handed off to dbmail lmtp. And I wasn't able to reproduce this when talking directly with the dbmail-lmtpd unix socket. So not sure it's dbmail nor that it's a bug at all.



--
  ________________________________________________________________
  Paul Stevens                                      paul at nfg.nl
  NET FACILITIES GROUP                     GPG/PGP: 1024D/11F8CD31
  The Netherlands________________________________http://www.nfg.nl
_______________________________________________
DBmail mailing list
[email protected]
https://mailman.fastxs.nl/mailman/listinfo/dbmail

Reply via email to