Re: error messages

David Coppit <[email protected]> Sun, 9 Aug 2009 21:09:05 -0400 (EDT)
Newsgroups gmane.mail.grepmail.general
Message-ID <[email protected]>
On Fri, 10 Apr 2009, Robert Holtzman wrote:

> I'm running grepmail 5.3033-2 on Ubuntu 8.04.
>
> Trying to run the app and got this:
>
> [holtzm@localhost]~$ grepmail -bBR 'not connecting' /home/holtzm/mail >
> /home/holtzm/mail/network
> Use of uninitialized value in print at /usr/bin/grepmail line 1663.
> Use of uninitialized value in print at /usr/bin/grepmail line 1663.
> Use of uninitialized value in print at /usr/bin/grepmail line 1664.
> Use of uninitialized value in print at /usr/bin/grepmail line 1665.
> Use of uninitialized value in print at /usr/bin/grepmail line 1666.

It looks like you have an email in your mailbox that seems to be missing
some pretty important headers:

       print Get_Header_Field($email_header,'From ',$endline);
       print Get_Header_Field($email_header,'Date:',$endline);
       print Get_Header_Field($email_header,'From:',$endline);
       print Get_Header_Field($email_header,'Subject:',$endline);

If you run into this again, first update your version of
Mail::Mbox::MessageParser with a command like "sudo cpan
Mail::Mbox::MessageParser". If it still persists, first try to anonymize
the mailbox using the anonymize_mailbox program that is in the grepmail
distribution. The problem should still persist after anonymizing the
mailbox, in which case you can email the mailbox to me for further
debugging.

David

_____________________________________________________________________
David Coppit                                       http://coppit.org/

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july