Hi,
The bug reported in http://dovecot.org/list/dovecot/2006-July/014786.html still exists in 1.0.rc6
% grep "$ ./configure" dovecot-1.0.rc6/config.log $ ./configure --prefix=/srv/software/dovecot
Install prefix ...................... : /srv/software/dovecot File offsets ........................ : 64bit I/O loop method ..................... : poll File change notification method ..... : dnotify Building with SSL support ........... : no Building with IPv6 support .......... : yes Building with pop3 server ........... : yes Building with mail delivery agent .. : yes Building with GSSAPI support ........ : no Building with user database modules . : static prefetch passwd passwd-file checkpassword (modules) Building with password lookup modules : passwd passwd-file shadow checkpassword (modules) Building with SQL drivers ............:
I'm letting 'qmail' deliver one copy of the message and dovecot's 'deliver' another copy to the same maildir.
% cat /home/csa/.qmail |preline /srv/software/dovecot/libexec/dovecot/deliver ./Maildir/
Then I'm sending this mail to myself. % cat /tmp/mail.txt From: csa@csa-net.dk To: csa@csa-net.dk Subject: Test mail
Testing - mail
From csa@csa-net.dk Mon Aug 07 08:01:49 2006 This part of the body will be zapped by Dovecot's deliver... This is bad....
Injecting the message: % cat /tmp/mail.txt | /var/qmail/bin/qmail-inject
Having qmail process the message: % sudo /var/qmail/rc status: local 0/10 remote 0/20 new msg 1596241 info msg 1596241: bytes 364 from <csa@csa-net.dk> qp 23105 uid 1000 starting delivery 1: msg 1596241 to local csa@csa-net.dk status: local 1/10 remote 0/20 delivery 1: success: did_1+0+1/ status: local 0/10 remote 0/20 end msg 1596241
Looking at the result: % cd /home/csa/Maildir/new/
% ls -l total 8 -rw------- 1 csa csa 423 2006-08-07 10:21 1154938875.23114.silver -rw------- 1 csa csa 334 2006-08-07 10:21 1154938875.P23113Q0M326713.silver
First one (delivered by 'qmail') looks good: % cat 1154938875.23114.silver Return-Path: <csa@csa-net.dk> Delivered-To: csa@csa-net.dk Received: (qmail 23105 invoked by uid 1000); 7 Aug 2006 08:21:02 -0000 Date: 7 Aug 2006 08:21:02 -0000 Message-ID: <20060807082102.23104.qmail@csa-net.dk> From: csa@csa-net.dk To: csa@csa-net.dk Subject: Test mail
Testing - mail
From csa@csa-net.dk Mon Aug 07 08:01:49 2006 This part of the body will be zapped by Dovecot's deliver... This is bad....
/Claus A
Second one (delivered by Dovecot's 'deliver') doesn't look good: % cat 1154938875.P23113Q0M326713.silver
From csa@csa-net.dk Mon Aug 07 08:21:15 2006 Return-Path: <csa@csa-net.dk> Delivered-To: csa@csa-net.dk Received: (qmail 23105 invoked by uid 1000); 7 Aug 2006 08:21:02 -0000 Date: 7 Aug 2006 08:21:02 -0000 Message-ID: <20060807082102.23104.qmail@csa-net.dk> From: csa@csa-net.dk To: csa@csa-net.dk Subject: Test mail
Testing - mail
As we see, Dovecot's 'deliver' zapped everything in the message from and including the MBOX From line....
If more info is needed, please let me know.
Regards /Claus A