FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Bug Reports » no body / info from mailman posts
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
no body / info from mailman posts [message #38844] Fri, 31 August 2007 21:18 Go to previous message
jeffg is currently offline  jeffg   Canada
Messages: 4
Registered: August 2007
Karma:
Junior Member
I have set up FF 2.7.6 with mailman on a test server to see if I can get 2-way posting to work between a forum and a mailing list. Everything *seems* to be working except that there is info missing in posts from the mailing list to FF. The subject of the email seems to survive but I get no body or name for the person posting.

specific setup:

- php 5.2
- Debian Etch system
- Thunderbird on OS X as the sending email client
- postfix / mailman seem to be working correctly
- procmail rules seems to be working correctly

I set up a logging function[1] in maillist.php to dump info out of the script when it is run, and placed a call ot it inside fed_emsg::read_data() to print out $this->raw_msg, this dumped out the entire body of the email, so it seems like the email is getting piped into the script correctly.

[1]
function _Logger($str) {
    $str = (string) $str; // casting for luck
    if(strlen($str) > 0) {
	$str = "\nLog @ ". strftime('%c')."\n".$str."\n";
	$logdir = '/path/to/_tmp_log/';
	if(!is_dir($logdir)) {
	    mkdir($logdir);
	}
	$logfile = $logdir.'fudmaildump.txt';
	$fh = fopen($logfile, 'a');
	fwrite($fh, $str); fclose($fh);
    }
}


Any ideas where to look in maillist.php? The logic is complex and I imagine some edge-case is triggering the destruction of the email content on its way into the forum.

cheers, JeffG
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: IPv6 bug
Next Topic: Avatar Size
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Nov 30 01:51:37 GMT 2024

Total time taken to generate the page: 0.06034 seconds