Your message dated Tue, 01 Mar 2005 11:02:06 -0500
with message-id <[EMAIL PROTECTED]>
and subject line Bug#295604: fixed in procmail 3.22-11
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 16 Feb 2005 22:33:35 +0000
>From [EMAIL PROTECTED] Wed Feb 16 14:33:35 2005
Return-path: <[EMAIL PROTECTED]>
Received: from snoopy.microcomaustralia.com.au (snoopy.apana.org.au) 
[202.173.153.89] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1D1Xji-0000hX-00; Wed, 16 Feb 2005 14:33:35 -0800
Received: from localhost (snoopy.apana.org.au [127.0.0.1])
        by snoopy.apana.org.au (Postfix) with ESMTP id 0896DD8D6F;
        Thu, 17 Feb 2005 09:33:33 +1100 (EST)
Received: from snoopy.apana.org.au ([127.0.0.1])
        by localhost (snoopy [127.0.0.1]) (amavisd-new, port 10024) with LMTP
        id 22989-02-2; Thu, 17 Feb 2005 09:33:27 +1100 (EST)
Received: by snoopy.apana.org.au (Postfix, from userid 10003)
        id ABB12D8D6E; Thu, 17 Feb 2005 09:33:27 +1100 (EST)
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Brian May <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: procmail: formail -s option broken
X-Mailer: reportbug 3.2
Date: Thu, 17 Feb 2005 09:33:27 +1100
Message-Id: <[EMAIL PROTECTED]>
X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at snoopy.apana.org.au
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Package: procmail
Version: 3.22-10
Severity: important

When splitting email with the -s option, a mail will only be considered
a new mail if there is a "From:" header immediately after a "From "
header, e.g.

--- cut ---
>From nobody Mon Feb  9 20:21:05 2004
User-Agent: Microsoft-Outlook-Express-Macintosh-Edition/5.02.2022
From: "Brian May" <[EMAIL PROTECTED]>

>From nobody Mon Feb  9 20:21:05 2004
User-Agent: Microsoft-Outlook-Express-Macintosh-Edition/5.02.2022
From: "Brian May" <[EMAIL PROTECTED]>
--- cut ---

Is considered as one email, but:

--- cut ---
>From nobody Mon Feb  9 20:21:05 2004
From: "Brian May" <[EMAIL PROTECTED]>
User-Agent: Microsoft-Outlook-Express-Macintosh-Edition/5.02.2022

>From nobody Mon Feb  9 20:21:05 2004
From: "Brian May" <[EMAIL PROTECTED]>
User-Agent: Microsoft-Outlook-Express-Macintosh-Edition/5.02.2022
--- cut ---

This only happens if certain headers appear between the "From " and
"From:" headers, "User-Agent" is a good example. NNTP-Posting-Date is
also another one. Other headers like "Subject:" are OK.

Note 1: this happens on mbox files written by gnus.

Note 2: the emails in question have a "Lines: " header but not a
"Content-Length: " Header. I suspect formail only supports the latter.

Note 3: I have marked this as important, as I find this behaviour really
confusing and potentially damaging.

Note 4: To the best of my knowledge mbox mails should be split on the
"From " header, and what headers follow is completely irrelevant and
should not even be considered.

Note 5: In order to test this out, I used the following script:
--- cut ---
#!/bin/sh -e
echo "-----"
grep '^From'
--- cut ---
saved it as "doit", and passed "doit" as the parameter to "-s". When it
is working, every email should be split up by a line with "-----".

Note 6: An ugly work around is:
grep -v '^\(User-Agent\|NNTP-Posting-Date\):' < mailfile | formail -s ../doit

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-k7
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages procmail depends on:
ii  libc6                       2.3.2.ds1-20 GNU C Library: Shared libraries an

-- no debconf information

---------------------------------------
Received: (at 295604-close) by bugs.debian.org; 1 Mar 2005 16:08:03 +0000
>From [EMAIL PROTECTED] Tue Mar 01 08:08:03 2005
Return-path: <[EMAIL PROTECTED]>
Received: from newraff.debian.org [208.185.25.31] (mail)
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1D69ul-0007je-00; Tue, 01 Mar 2005 08:08:03 -0800
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
        id 1D69p0-0007Yk-00; Tue, 01 Mar 2005 11:02:06 -0500
From: Santiago Vila <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.55 $
Subject: Bug#295604: fixed in procmail 3.22-11
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Tue, 01 Mar 2005 11:02:06 -0500
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 
X-CrossAssassin-Score: 2

Source: procmail
Source-Version: 3.22-11

We believe that the bug you reported is fixed in the latest version of
procmail, which is due to be installed in the Debian FTP archive:

procmail_3.22-11.diff.gz
  to pool/main/p/procmail/procmail_3.22-11.diff.gz
procmail_3.22-11.dsc
  to pool/main/p/procmail/procmail_3.22-11.dsc
procmail_3.22-11_i386.deb
  to pool/main/p/procmail/procmail_3.22-11_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Santiago Vila <[EMAIL PROTECTED]> (supplier of updated procmail package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Tue,  1 Mar 2005 16:35:56 +0100
Source: procmail
Binary: procmail
Architecture: source i386
Version: 3.22-11
Distribution: unstable
Urgency: low
Maintainer: Santiago Vila <[EMAIL PROTECTED]>
Changed-By: Santiago Vila <[EMAIL PROTECTED]>
Description: 
 procmail   - Versatile e-mail processor
Closes: 236685 295604
Changes: 
 procmail (3.22-11) unstable; urgency=low
 .
   * Added Large File Support, using the output of "getconf LFS_CFLAGS".
     This will add -D_FILE_OFFSET_BITS=64 when the architecture needs it,
     and only when the architecture needs it (Closes: #236685).
   * Headers User-Agent: and NNTP-Posting-Date: are now recognized by formail
     when splitting messages (Closes: #295604).
Files: 
 8b88a43efb3256fb38cc94b4aa65a4fb 530 mail standard procmail_3.22-11.dsc
 dc073a968c177b5f56db16f672e6b82b 14166 mail standard procmail_3.22-11.diff.gz
 39d43141133352fa4c698cc0eadf8e1a 140108 mail standard procmail_3.22-11_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFCJIw7d9Uuvj7yPNYRAmveAJ470aul0m2zAwiOdl18Nw0iV4ZabQCfbJTY
kO0Avcvo4257XswKMWwUqR0=
=nqsy
-----END PGP SIGNATURE-----


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to