Sieve writes an empty line in headers for reject/vacation
Bernhard Erdmann
be at berdmann.de
Sat Jul 19 14:01:54 EDT 2003
> I'm not convinced that this is being caused by Cyrus. Here a snippit of
> the code which produces the vacation response. As you can see, there is
> no extra CRLF after the Message-ID (or before Date).
You're right. I generated a bounce message using sieve. Exim was
configured not to deliver any mail, so I could watch the bounce's header
lines in Exim's spool.
This is the output of "exim -Mvh 19dvc2-0000lu-00" (show header of mail).:
---- start ----
19dvc2-0000lu-00-H
cyrus 76 12
<>
1058636114 0
-ident cyrus
-received_protocol local
-body_linecount 46
XX
1
be at berdmann.de
141P Received: from cyrus by ente.berdmann.de with local (Exim 3.36 #1)
id 19dvc2-0000lu-00
for be at berdmann.de; Sat, 19 Jul 2003 19:35:14 +0200
060I Message-ID: <cmu-sieve-2906-1058636114-0 at ente.berdmann.de>
039 Date: Sat, 19 Jul 2003 19:35:14 +0200
024 X-Sieve: CMU Sieve 2.2
041* From: Mail Sieve Subsystem <postmaster>
053F From: Mail Sieve Subsystem <postmaster at berdmann.de>
022T To: <be at berdmann.de>
019 MIME-Version: 1.0
106 Content-Type: multipart/report; report-type=disposition-notification;
boundary="2906/ente.berdmann.de"
038 Subject: Automatically rejected mail
041 Auto-Submitted: auto-replied (rejected)
----- end -----
Very interesting is the line termination. 14 lines end on LF (\n, 0x0a)
and starting with "060I Message-ID" the lines terminate with CRLF (\r\n,
0x0d 0x0a).
After having delivered this mail into a cyrus box, there was an extra
blank line between Message-ID: and Date:
So it doesn't seem to be Sieve's failure when generating the bounce
mail. But someone else adds an extra line.
Return-Path: <>
Received: from ente.berdmann.de ([unix socket])
by ente.berdmann.de (Cyrus v2.1.13) with LMTP; Sat, 19 Jul 2003
19:41:22 +0200
X-Sieve: CMU Sieve 2.2
Received: from cyrus by ente.berdmann.de with local (Exim 3.36 #1)
id 19dvc2-0000lu-00
for be at berdmann.de; Sat, 19 Jul 2003 19:35:14 +0200
Message-ID: <cmu-sieve-2906-1058636114-0 at ente.berdmann.de>
Date: Sat, 19 Jul 2003 19:35:14 +0200
X-Sieve: CMU Sieve 2.2
From: Mail Sieve Subsystem <postmaster at berdmann.de>
To: <be at berdmann.de>
MIME-Version: 1.0
Content-Type: multipart/report; report-type=disposition-notification;
boundary="2906/ente.berdmann.de"
Subject: Automatically rejected mail
Auto-Submitted: auto-replied (rejected)
[...]
More information about the Info-cyrus
mailing list