Package: grepmail Version: 5.3030-1 Severity: important Hi, I have been regularly following testing packages and since a few days (maybe last week), grepmail loops for ever on a mailbox which only contains one very simple message (which I am sure it processed successfully before). I somewhat simplified the header and removed identifications:
$ cat foo >From VM Mon Mar 1 17:26:34 2004 Message-ID: <[EMAIL PROTECTED]> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------040300050603040500030007" From: Dr. No <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: bug report Date: Tue, 24 Feb 2004 12:00:39 +0100 This is a multi-part message in MIME format. --------------040300050603040500030007 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Bien cordialement à tous. Dr. No --------------040300050603040500030007 Content-Type: text/plain; charset=us-ascii [Deleted Word document] --------------040300050603040500030007-- $ grepmail -D none foo DEBUG: Version: 5.3030 DEBUG: Command line was (special characters not escaped): DEBUG: /usr/bin/grepmail -D none foo DEBUG: Options are: DEBUG: B: 0 DEBUG: C: /tsi/udon/cappe/.grepmail-cache DEBUG: D: 1 DEBUG: E: 0 DEBUG: F: 0 DEBUG: H: 0 DEBUG: M: 0 DEBUG: R: 0 DEBUG: S: 0 DEBUG: T: 0 DEBUG: V: undef DEBUG: X: ^-- $ DEBUG: Y: 0 DEBUG: Z: 0 DEBUG: a: 0 DEBUG: b: 0 DEBUG: d: undef DEBUG: e: 0 DEBUG: f: 0 DEBUG: h: 0 DEBUG: i: 0 DEBUG: j: 0 DEBUG: l: 0 DEBUG: m: 0 DEBUG: n: 0 DEBUG: q: 0 DEBUG: r: 0 DEBUG: s: 0 DEBUG: t: 0 DEBUG: u: 0 DEBUG: v: 0 DEBUG: w: 0 DEBUG: INC is: DEBUG: /etc/perl DEBUG: /usr/local/lib/perl/5.8.4 DEBUG: /usr/local/share/perl/5.8.4 DEBUG: /usr/lib/perl5 DEBUG: /usr/share/perl5 DEBUG: /usr/lib/perl/5.8 DEBUG: /usr/share/perl/5.8 DEBUG: /usr/local/lib/site_perl DEBUG: /usr/local/lib/perl/5.8.3 DEBUG: /usr/local/share/perl/5.8.3 DEBUG: . DEBUG: PATTERN: none DEBUG: FILES: foo DEBUG: DATE RESTRICTION: 4 DEBUG: SIZE RESTRICTION: 14 DEBUG: FIRST SIZE: 0 DEBUG: SECOND SIZE: DEBUG: ###################################################################### DEBUG: Processing file foo DEBUG (Mail::Mbox::MessageParser): Preparing file handle DEBUG (Mail::Mbox::MessageParser): Filename "foo" file type: mailbox DEBUG (Mail::Mbox::MessageParser): Opening file "foo" DEBUG (Mail::Mbox::MessageParser): File "foo" is not compressed DEBUG (Mail::Mbox::MessageParser): Version: 1.2130 DEBUG (Mail::Mbox::MessageParser): email_length: 0 DEBUG (Mail::Mbox::MessageParser): email_number: 0 DEBUG (Mail::Mbox::MessageParser): email_offset: 0 DEBUG (Mail::Mbox::MessageParser): file_handle: <non-scalar> DEBUG (Mail::Mbox::MessageParser): end_of_file: 0 DEBUG (Mail::Mbox::MessageParser): email_line_number: 0 DEBUG (Mail::Mbox::MessageParser): file_name: foo DEBUG (Mail::Mbox::MessageParser): READ_BUFFER: DEBUG (Mail::Mbox::MessageParser): Valid cache entry exists: Yes DEBUG (Mail::Mbox::MessageParser): Cache is valid DEBUG (Mail::Mbox::MessageParser): Instantiate mailbox parser implementation: Mail::Mbox::MessageParser::Cache DEBUG (Mail::Mbox::MessageParser): Version: 1.2130 DEBUG (Mail::Mbox::MessageParser): email_length: 0 DEBUG (Mail::Mbox::MessageParser): email_number: 0 DEBUG (Mail::Mbox::MessageParser): email_offset: 0 DEBUG (Mail::Mbox::MessageParser): file_handle: <non-scalar> DEBUG (Mail::Mbox::MessageParser): end_of_file: 0 DEBUG (Mail::Mbox::MessageParser): email_line_number: 0 DEBUG (Mail::Mbox::MessageParser): file_name: foo DEBUG (Mail::Mbox::MessageParser): READ_BUFFER: DEBUG (Mail::Mbox::MessageParser): Valid cache entry exists: Yes DEBUG: Reading email DEBUG: ---------------------------------------------------------------------- DEBUG: Processing email: DEBUG: Message-ID: <[EMAIL PROTECTED]> DEBUG: From: Dr. No <[EMAIL PROTECTED]> DEBUG: Subject: bug report DEBUG: Date: Tue, 24 Feb 2004 12:00:39 +0100 DEBUG: Size: 636 DEBUG: Checking for early match or abort based on header information. DEBUG: Doing an early printout based on header. DEBUG: Making email mbox format. DEBUG: Printing email. >From VM Mon Mar 1 17:26:34 2004 Message-ID: <[EMAIL PROTECTED]> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------040300050603040500030007" From: Dr. No <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: bug report Date: Tue, 24 Feb 2004 12:00:39 +0100 This is a multi-part message in MIME format. --------------040300050603040500030007 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Bien cordialement à tous. Dr. No --------------040300050603040500030007 Content-Type: text/plain; charset=us-ascii [Deleted Word document] --------------040300050603040500030007-- DEBUG: Reading email As shown above it correctly prints the message (if match, or not if not) but nerver returns, interrupting with ^C yields: grepmail: Canceled DEBUG (Mail::Mbox::MessageParser): Exiting and writing cache if necessary -- System Information: Debian Release: 3.1 APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Kernel: Linux 2.4.27-2-686 Locale: LANG=POSIX, LC_CTYPE=en_US.iso88591 (charmap=ISO-8859-1) Versions of packages grepmail depends on: ii libinline-perl 0.44-3 Write Perl subroutines in other pr ii libmail-mbox-messageparser-pe 1.2130-1 fast and simple mbox folder reader ii libtimedate-perl 1.1600-4 Time and date functions for Perl ii perl 5.8.4-5 Larry Wall's Practical Extraction ii perl-base [libscalar-list-uti 5.8.4-5 The Pathologically Eclectic Rubbis -- no debconf information