On 8/10/05, Earl Hood <earl(_at_)earlhood(_dot_)com> wrote:
On August 9, 2005 at 22:26, East Coast Coder wrote:
Is there anything that could cause MessageHeadRead to be called, but
not MessageBodyRead?
I had a set of callbacks working fine. Recently, MessageBodyRead will
not be called. I've done some modifications, but none that I can
think should stop this. I double checked the lines in the
mhasiteinit.pl
Do "perl -e" on the file?
I assume s/e/c/. Syntax OK.
(-e produces no output, as expected)
I should note that I use a require $ENV{...} in the callbacks, to
allow easy change to a config file - but I've been doing this for a
while, with no problems. If the envar isn't set, -c fails.
The last line of MessageHeadRead callback is return 1; , and it gets
to this line (confirmed via logging). Is it possible that for some
reason Mhonarc is not calling the BodyRead callback? Like I said, I
really can't think of any change I have done to disrupt this - but the
email archive has grown very large, and maybe some of the delivery /
headers are comming in differently...
Are the messages still getting converted and showing up on the
archive?
I've been running with -noarchive, and using the callbacks to store
the rendered html in a database (as I had discussed with you - it has
been working fine). To answer your question, I removed the -noarchive
flag.
The answer: no, the messages are not being created. The mhonarcdb ,
threads.html, and maillist.html are created, but have no message
specific information (they do have the file specifc headers - the db
has all of the mhonarc metainformation, but lists no messages at all).
I'm really puzzled.
Also:
MHonArc v2.6.12 (Perl 5.008005 linux)
perl5 (revision 5 version 8 subversion 5)
Any ideas?
--ewh
---------------------------------------------------------------------
To sign-off this list, send email to majordomo(_at_)mhonarc(_dot_)org with the
message text UNSUBSCRIBE MHONARC-DEV
---------------------------------------------------------------------
To sign-off this list, send email to majordomo(_at_)mhonarc(_dot_)org with the
message text UNSUBSCRIBE MHONARC-DEV