[Dovecot] Problems with deliver (LDA)

Claus Alboege csa at csa-net.dk
Wed Jul 12 10:57:58 EEST 2006


Hi,

Claus Alboege <csa at csa-net.dk> writes:
> I'm using Dovecot's (1.0.rc2) 'deliver' (no sieve) as LDA - calling it
> from a .qmail file.
>
> It seems that 'deliver' destroys "message/rfc822" attachments (forward
> as attachment).

[...]

> % ls -l Maildir/new
> -rw-------  1 csa csa 2818 2006-07-06 09:29 1152170973.7420.silver
> -rw-------  1 csa csa 1372 2006-07-06 09:29 1152170973.P7422Q0M136220.silver

I've looked a bit further into this problem. On delivery 'deliver' adds
a "From " (not "From: ") header. Why is that btw? - This is Maildir
delivery.

Anyway, when a mail with a "From " header is forwarded as a
"message/rfc822" attachment and delivered with 'deliver'. 'deliver'
simply kills everything from the "From " line (in the "message/rfc822"
attachment).

% grep -n -A6 "message/rfc822" 1152170973.7420.silver
34:Content-Type: message/rfc822; name="Testing"
35-Content-Transfer-Encoding: 7bit
36-Content-Disposition: attachment; filename="Testing"
37-
38-From csa at csa-net.dk Thu Jul 06 07:31:13 2006
39-Return-Path: <csa at csa-net.dk>
40-Delivered-To: csa at csa-net.dk
%

% grep -n -A6 "message/rfc822" 1152170973.P7422Q0M136220.silver
35:Content-Type: message/rfc822; name="Testing"
36-Content-Transfer-Encoding: 7bit
37-Content-Disposition: attachment; filename="Testing"
%

% wc -l 1152170973.*
  79 1152170973.7420.silver
  37 1152170973.P7422Q0M136220.silver

Any chance to get that fixed before Dovecot 1.0?


/Claus A


More information about the dovecot mailing list