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

Reply via email to