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

I will look at PHP error logging config but at the current moment I can
not modify php.ini, I am working towards doing that but I am not yet.  I
have enabled statusnets log file (since I can not see syslog logs), is
this different from the debug log file?  I do not get anything in the
log I did enable.  I had tried the isolation but apparently I added one
to many < characters which is why I had a problem with it, here is the
error I now get:

"Fatal error: Call to undefined function
mailparse_rfc822_parse_addresses() in
/home/mcgurrin/trendstar.mcgurrin.net/scripts/maildaemon.php on line 208"

I get this when I run:

"/usr/local/php5/bin/php
/home/mcgurrin/trendstar.mcgurrin.net/scripts/maildaemon.php <
/home/mcgurrin/.getmail/trendstar_microblog/maildir/new/1264024317.M9813P13391Q0Ra60332e4005e7a91.pride"

I run that because php on this server will run php v4, so this calls php
v5.  This is the user that I was testing the email download script which
will also the the user that will run the script once it is working,
however the one difference will be that the final system will run this
as a cronjob not as a normal shell session (ssh session in this case).
The file that I am inputting is a plain text file including all headers
and so forth in Maildir format.  I am attaching the file I am piping in,
I do not know if attachments get through in the list though, if you need
it to help and it does not get through please let me know off list and I
can send it directly.  The file that I am sending is also the exact same
email as the mail retriever is failing on.  Thanks.


Brion Vibber wrote:
> On 01/20/2010 04:43 PM, Glenn McGurrin wrote:
>> I did have the wrong php version and I have corrected that.  I now do
>> not get that error but I do still get similar errors in my mail
>> retrieval script.  Below is the error I am getting.  I can not figure
>> out how to pass the script the EOF character to find out the exact PHP
>> error for further diagnosing the problem.  Below the error I have
>> included my php version information for if that helps.  If someone tells
>> me how to get the script to receive an EOF so that I can diagnose what
>> error the script is giving me I can send that as well.  I can also send
>> out a maildir formatted file of the message if that might help because
>> my mail retriever is also outputting it to a maildir.
>>    
> 
> You may wish to familiarize yourself with PHP's error logging
> configuration options:
> http://www.php.net/manual/en/errorfunc.configuration.php
> 
> Errors may be logged to syslog, file, etc. You might also try enabling
> StatusNet's debug log file, which will include many but not all PHP
> errors. (See config.php.sample)
> 
> 
> If you don't get a clear picture from there, I would strongly recommend
> debugging this in a little more isolation which should be easier:
> 
> 1) save an e-mail message to be handled to a file (raw message source
> including all headers!)
> 
> 2) Send that into the mail handler and see what happens:
> 
> php scripts/maildaemon.php < samplemessage.eml
> 
> Make sure also you try that running as the system user that handles
> incoming mail. This may be a different user account than handles your
> web clients, shell, etc, so may have differing file permissions etc.
> 
> -- brion vibber (brion @ status.net)
> _______________________________________________
> StatusNet-dev mailing list
> StatusNet-dev@lists.status.net
> http://lists.status.net/mailman/listinfo/statusnet-dev
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)

iEYEARECAAYFAktYp8YACgkQzSSLW0oTVN5iFACghRGTOiukHHMQsSJBGDUpokC3
6K8AnR5eCo5t5iX76ss2PZ/Dzt7Ez3C8
=wWxO
-----END PGP SIGNATURE-----
Return-Path: <gl...@mcgurrin.net>
Delivered-To: ezwprlgwzt...@trendstar.mcgurrin.net
Received: from mail.trendstar.mcgurrin.net (208.97.132.223) by
  pride.dreamhost.com with POP3 for <ezwprlgwzt...@trendstar.mcgurrin.net>; 20
  Jan 2010 21:51:57 -0000
X-Original-To: ezwprlgwzt...@trendstar.mcgurrin.net
Delivered-To: x10286...@homiemail-a19.g.dreamhost.com
Received: from Glenn.local (ip98-169-23-223.dc.dc.cox.net [98.169.23.223])
        by homiemail-a19.g.dreamhost.com (Postfix) with ESMTPA id 19C9B604069
        for <ezwprlgwzt...@trendstar.mcgurrin.net>; Wed, 20 Jan 2010 13:53:59 
-0800 (PST)
Message-ID: <4b577b76.6010...@mcgurrin.net>
Date: Wed, 20 Jan 2010 16:53:58 -0500
From: Glenn McGurrin <gl...@mcgurrin.net>
User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812)
MIME-Version: 1.0
To: ezwprlgwzt...@trendstar.mcgurrin.net
Subject: test subject
X-Enigmail-Version: 0.96.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

test body

Attachment: 1264024317.M9813P13391Q0Ra60332e4005e7a91.pride.sig
Description: Binary data

_______________________________________________
StatusNet-dev mailing list
StatusNet-dev@lists.status.net
http://lists.status.net/mailman/listinfo/statusnet-dev

Reply via email to