I'm running dovecot 1.0.rc2 (package from ubuntu 6.10) and use the dovecot lda 'deliver' (also a package from ubuntu 6.10 with sieve filtering) to deliver messages to maildir. Everything works well, until I discovered a truncated message this week.
The problematic message is a message bounced by the majordomo mailinglist software. I think the problem is related to the fact that the message body is another mail message (including the original headers and body).
I attached two (scramled) versions of the message. The first one (message-normal.txt) is the file which is delivered to the maildir by the built-in postfix lda. The second one (message-truncated.txt) is delivered by the dovecot lda.
Return-Path: xxxxx-xxxxxxx@xxxxxxxxxxx.xx
X-Original-To: xxx@xxxxxxxxxxx.xxxxx
Delivered-To: xxx@xxxxxxxxxxx.xxxxx
Received: xxxx xxxxxxxxx (xxxxxxxxx [xxx.x.x.x])
xx xxxxx.xxxxxxxxxxx.xxxxx (xxxxxxx) xxxx xxxxx xx xxxxxxxxxx
xxx xxx@xxxxxxxxxxx.xxxxx; xxx, xx xxx xxxx xx:xx:xx +xxxx (xxx)
Delivered-To: xxxxxxxxxx@xxxxxxx.xx
Received: xxxx xxx.xxxxxxx.xx [xxx.xxx.xxx.xx]
xx xxxxxxxxx xxxx xxxx (xxxxxxxxx-x.x.x)
xxx xxx@xxxxxxxxxxx.xxxxx (xxxxxx-xxxx); xxx, xx xxx xxxx xx:xx:xx +xxxx (xxx)
Received: (xxxxx xxxxx xxxxxxx xxxx xxxxxxx); xx xxx xxxx xx:xx:xx -xxxx
Received: xxxx xxxxxxxxx.xxxxxxx-xxx.xx ([xxx.xxx.xxx.xx])
(xxxxxxxx-xxxxxx xxxxx-xxxxxxx@xxxxxxxxxxx.xx)
xx xxxxxx.xxxxxxx-xxx.xx (xxxxx-xxxx-x.xx) xxxx xxxx
xxx xxxxxxxxxx@xxxxxxx.xx; xx xxx xxxx xx:xx:xx -xxxx
Received: xxxx xxxxxxxxx.xxxxxxx-xxx.xx (xxxxxxxxx.xxxxxxx-xxx.xx [xxx.xxx.xxx.xx])
xx xxxxxxxxx.xxxxxxx-xxx.xx (x.xx.x/x.xx.x) xxxx xxxxx xx xxxxxxxxxxxxxx
xxx xxxxxxxxxx@xxxxxxx.xx; xxx, xx xxx xxxx xx:xx:xx +xxxx
Received: xxxx xxxxx.xxxxxxx-xxx.xx (xxxxx.xxxxxxx-xxx.xx [xxx.xxx.xxx.xx])
xx xxxxxxxxx.xxxxxxx-xxx.xx (xxxxxxx) xxxx xxxxx xx xxxxxxxxxxx
xxx xxxxxxxxxx@xxxxxxx.xx; xxx, xx xxx xxxx xx:xx:xx +xxxx (xxx)
Received: xxxx xxx.xxxxxxxxxx.xx (xxx.xxxxxxxxxx.xx [xxx.xx.xx.xx])
xx xxxxx.xxxxxxx-xxx.xx (xxxxxxx) xxxx xxxxx xx xxxxxxxxxxx
xxx xxxxxxxxxx@xxxxxxx.xx; xxx, xx xxx xxxx xx:xx:xx +xxxx (xxx)
Received: xxxx xxxxxxxxx xx xxx.xxxxxxxxxx.xx xxxx xxxxx (xxxx x.xx)
xx xxxxxx-xxxxxx-xx
xxx xxxxxxx-xxxxxxxx@xxxxxxxxxxx.xx; xxx, xx xxx xxxx xx:xx:xx +xxxx
To: xxxxxxx-xxxxxxxx@xxxxxxxxxxx.xx
From: xxxxx-xxxxxxx@xxxxxxxxxxx.xx
Subject: xxxxxx xxxxxxx@xxxxxxxxxxx.xx: xxxxxxx xxx xxxx (>xxxxx xxxxx)
Message-Id: xxxxxxx-xxxxxx-xx@xxx.xxxxxxxxxx.xx
Date: Fri, 15 Dec 2006 13:31:45 +0100
From xxx.xxxx.xxxx@xxxxx.xx Fri Dec 15 13:31:44 2006 Received: xxxx xxxxxxxx.xx.xx.xx ([xxx.xxx.xxx.xx]) xx xxx.xxxxxxxxxx.xx xxxx xxxxxx (xxxxx:xxxxxx-xxx:xxx) (xxxx x.xx) xx xxxxxx-xxxxxx-xx xxx xxxxxxx@xxxxxxxxxxx.xx; xxx, xx xxx xxxx xx:xx:xx +xxxx Received: xxxx xxxxxxx.xx.xx.xx.xx (xxxxxxx.xx.xx.xx [xxx.xxx.xxx.xx]) xx xxxxxxxx.xx.xx.xx (x.xx.x/x.xx.x) xxxx xxxxx xx xxxxxxxxxxxxxx xxx xxxxxxx@xxxxxxxxxxx.xx; xxx, xx xxx xxxx xx:xx:xx +xxxx Received: xxxx [xxx.xxx.xx.xx] ([xxx.xxx.xx.xx]) xx xxxxxxx.xx.xx.xx.xx xxxx xxx xxxxxxx xxxxxxx xxxx xxxxxxxxx xxxxxxx(x.x.xxxx.xxxx); xxx, xx xxx xxxx xx:xx:xx +xxxx Message-ID: xxxxxxxx.xxxxxxx@xxxxx.xx Date: Fri, 15 Dec 2006 13:28:50 +0100 From: xxx xxxx xxxx xxxxxx xxx.xxxx.xxxx@xxxxx.xx Reply-To: xxxxxxxxxx@xxxxxxx.xx User-Agent: xxxxxxxxxxx x.x.x.x (xxxxxxx/xxxxxxxx) MIME-Version: x.x To: xxx xxxx xxxx xxxxx xxxxxxx@xxxxxxxxxxx.xx Subject: xxxxxxx: [xxx: xxx xxxxxxxx xxxx] Content-Type: multipart/mixed; xxxxxxxx="------------xxxxxxxxxxxxxxxxxxxxxxxx" X-OriginalArrivalTime: xx xxx xxxx xx:xx:xx.xxxx (xxx) xxxxxxxx=[xxxxxxxx:xxxxxxxx] X-Greylist: xxxxxx xx xxxxxxxxxxx, xxx xxxxxxx xx xxxxxx-xxxxxxxx-x.xxxx (xxxxxxxx.xx.xx.xx [xxx.xxx.xxx.xx]); xxx, xx xxx xxxx xx:xx:xx +xxxx (xxx) X-Envelope-Recipient: xxxxxxx@xxxxxxxxxxx.xx X-Virus-Scanned-By: xxxxxxxx.xx.xx.xx xxxxx xxxxx. xxxxxx: xxxxx. X-Scanned-By: xxxxxxxxxx x.xx xx xxx.xxx.xxx.xx
xxxx xx x xxxxx-xxxx xxxxxxx xx xxxx xxxxxx. --------------xxxxxxxxxxxxxxxxxxxxxxxx xxxxxxx-xxxx: xxxx/xxxxx; xxxxxxx=xxx-xxxx-x; xxxxxx=xxxxxx xxxxxxx-xxxxxxxx-xxxxxxxx: xxxx
-------- xxxxxxxx xxxxxxx -------- xxxxxxx: xxx xxxxxxxx xxxx xxxx: xxx, xx xxx xxxx xx:xx:xx +xxxx xxxx: xxxxxx xxxxxx xxxxxx.xxxxxx@xxxxxx.xx
xxxxx xxxxxxx ,
xx xxx xxxxxx xxx xxxxx xxxx xx xxxx xxxx xx xxx xxxxxxxxx xx xxxx xxxx xxxxx xx xxxxxxxxxx xxxxxx xx xxxxxxxxx xx xxxx xxxxxx xxxx xxxxxx.xxxxxx@xxxxxx.xx xx xx xxxxxxx xxx xxxxxxxx xxxx xx xxxxxxxx
xxxxxxxxx xxxxxxx xxxxxx
--------------xxxxxxxxxxxxxxxxxxxxxxxx xxxxxxx-xxxx: xxxxxxxxxxx/xxx; xxxx="xxxxxxxx xxxxx xx xxxxxxxxxx.xxx" xxxxxxx-xxxxxxxx-xxxxxxxx: xxxxxx xxxxxxx-xxxxxxxxxxx: xxxxxxxxxx; xxxxxxxx="xxxxxxxx xxxxx xx xxxxxxxxxx.xxx"
--------------xxxxxxxxxxxxxxxxxxxxxxxx--
From xxxxx-xxxxxxx@xxxxxxxxxxx.xx Sat Dec 16 16:48:08 2006 Return-Path: xxxxx-xxxxxxx@xxxxxxxxxxx.xx X-Original-To: xxx@xxxxxxxxxxx.xxxxx Delivered-To: xxx@xxxxxxxxxxx.xxxxx Received: xxxx xxxxxxxxx (xxxxxxxxx [xxx.x.x.x]) xx xxxxx.xxxxxxxxxxx.xxxxx (xxxxxxx) xxxx xxxxx xx xxxxxxxxxx xxx xxx@xxxxxxxxxxx.xxxxx; xxx, xx xxx xxxx xx:xx:xx +xxxx (xxx) Delivered-To: xxxxxxxxxx@xxxxxxx.xx Received: xxxx xxx.xxxxxxx.xx [xxx.xxx.xxx.xx] xx xxxxxxxxx xxxx xxxx (xxxxxxxxx-x.x.x) xxx xxx@xxxxxxxxxxx.xxxxx (xxxxxx-xxxx); xxx, xx xxx xxxx xx:xx:xx +xxxx (xxx) Received: (xxxxx xxxxx xxxxxxx xxxx xxxxxxx); xx xxx xxxx xx:xx:xx -xxxx Received: xxxx xxxxxxxxx.xxxxxxx-xxx.xx ([xxx.xxx.xxx.xx]) (xxxxxxxx-xxxxxx xxxxx-xxxxxxx@xxxxxxxxxxx.xx) xx xxxxxx.xxxxxxx-xxx.xx (xxxxx-xxxx-x.xx) xxxx xxxx xxx xxxxxxxxxx@xxxxxxx.xx; xx xxx xxxx xx:xx:xx -xxxx Received: xxxx xxxxxxxxx.xxxxxxx-xxx.xx (xxxxxxxxx.xxxxxxx-xxx.xx [xxx.xxx.xxx.xx]) xx xxxxxxxxx.xxxxxxx-xxx.xx (x.xx.x/x.xx.x) xxxx xxxxx xx xxxxxxxxxxxxxx xxx xxxxxxxxxx@xxxxxxx.xx; xxx, xx xxx xxxx xx:xx:xx +xxxx Received: xxxx xxxxx.xxxxxxx-xxx.xx (xxxxx.xxxxxxx-xxx.xx [xxx.xxx.xxx.xx]) xx xxxxxxxxx.xxxxxxx-xxx.xx (xxxxxxx) xxxx xxxxx xx xxxxxxxxxxx xxx xxxxxxxxxx@xxxxxxx.xx; xxx, xx xxx xxxx xx:xx:xx +xxxx (xxx) Received: xxxx xxx.xxxxxxxxxx.xx (xxx.xxxxxxxxxx.xx [xxx.xx.xx.xx]) xx xxxxx.xxxxxxx-xxx.xx (xxxxxxx) xxxx xxxxx xx xxxxxxxxxxx xxx xxxxxxxxxx@xxxxxxx.xx; xxx, xx xxx xxxx xx:xx:xx +xxxx (xxx) Received: xxxx xxxxxxxxx xx xxx.xxxxxxxxxx.xx xxxx xxxxx (xxxx x.xx) xx xxxxxx-xxxxxx-xx xxx xxxxxxx-xxxxxxxx@xxxxxxxxxxx.xx; xxx, xx xxx xxxx xx:xx:xx +xxxx To: xxxxxxx-xxxxxxxx@xxxxxxxxxxx.xx From: xxxxx-xxxxxxx@xxxxxxxxxxx.xx Subject: xxxxxx xxxxxxx@xxxxxxxxxxx.xx: xxxxxxx xxx xxxx (>xxxxx xxxxx)
Message-Id: xxxxxxx-xxxxxx-xx@xxx.xxxxxxxxxx.xx Date: Fri, 15 Dec 2006 13:31:45 +0100