I've got a brand-spanking new installation (stable version--2.6.1) running on a redhat server, with up to date versions of PHP and MySQL.
I'm currently trying to get the forums<->mailing list integration working. I have a GNU Mailman mailing list (version 2.1), which I have associated with a forum in the FUD Mailing List Manager. I've added the appropriate procmail filter (pasted from the MLM, with the script location fixed).
Now, when I add a post directly to the forums, it gets posted as expected to the mailing list (albeit with a blank subject line. I note that there's a thread about this problem, which I'll be looking at shortly).
When I submit a message to the mailing list, a post likewise gets added to the appropriate FUD forum, with the subject line and poster name appropriately set. However, the body of the post is empty. I'm not entirely sure where to go next to troubleshoot this. maillist.php appears to run without errors (nothing in procmail.log, or in standard error when I run it manually).
I'm not sure what other information might be relevant. Body mangling has been left blank.
If anyone can recommend a place to start looking, it would be greatly appreciated!
Thanks in advance.]]>sutehi2004-04-05T23:26:41-00:00Re: maillist.php creating empty posts
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=17590&th=3650#msg_17590
Ilia2004-04-06T13:07:46-00:00Re: maillist.php creating empty posts
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=17597&th=3650#msg_17597
I've just re-installed from the current CVS, and now maillist.php *does* generate errors when trying to import a mail list message to the forums.
~test.data is my data directory
~test.cp is the web root for FUD test@listserv.domain.net is the mail list address for my forum.
----------------------------------------------------------------
procmail: Match on "(^((Original-)?(Resent-)?(To|Cc|Bcc)|(X-Envelope|Apparently(-Resent)?)-To).*[^-a-zA-Z0-9_.])?).*test@listserv.clutchpig.net"
procmail: Assigning "LASTFOLDER=/u2/afs/home/arakune/web_tree/test.data/scripts/maillist.php 1"
From test-bounces@listserv.domain.net Tue Apr 6 10:34:47 2004
Subject: [test] test from email to forums 2
Folder: /u2/afs/home/arakune/web_tree/test.data/scripts/maillist.php 2576
procmail: Notified comsat: "arakune@:/u2/afs/home/arakune/web_tree/test.data/scripts/maillist.php 1"
procmail: Unlocking "/afs/home/arakune/.lockmail"
procmail: Executing "/u2/afs/home/arakune/web_tree/test.data/scripts/maillist.php,1"
/u2/afs/home/arakune/web_tree/test.data/scripts/maillist.php: From: command not found
/u2/afs/home/arakune/web_tree/test.data/scripts/maillist.php: syntax error near unexpected token `<test-bounces@listserv.domain.net>'
/u2/afs/home/arakune/web_tree/test.data/scripts/maillist.php: /u2/afs/home/arakune/web_tree/test.data/scripts/maillist.php: line 2: `Return-Path: <test-bounces@listserv.domain.net>'
------------------------------------------------------
As near as I can tell (and I could be way off on this), it seems to be having trouble parsing the message headers. If this is indeed the case, the message headers from the post are as follows:
I tried removing the first 'From' line (on the chance that it was confused by it), and piped the message to maillist.php manually, but the same errors appeared.
I think the problem is that it tries to run maillist.php as a shell script and not a PHP script.]]>Ilia2004-04-06T15:22:43-00:00Re: maillist.php creating empty posts
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=17601&th=3650#msg_17601
Thanks so much for all of your help (and for a great piece of software)! =D I'm very excited about the forum to mail list mirroring (this is something that I've been looking for, for some time).]]>sutehi2004-04-06T15:55:08-00:00Re : maillist.php creating empty posts
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=35606&th=3650#msg_35606
Same problem in FUDforum 2.7.6. : Body is empty.
Is there an issue ?
Edit:
I found why.
The topic is registered on "messages" folder by procmail with name of procmail user. I use different name (apache) and it is unreadable.]]>DiliaK2007-01-24T21:13:11-00:00Re: Re : maillist.php creating empty posts
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=35611&th=3650#msg_35611
Ilia2007-01-24T23:54:08-00:00Re : maillist.php creating empty posts
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=35616&th=3650#msg_35616
They are 666. But apache:apache and when procmail work, it change it to maildiliak:maildiliak... and forum display empty topics.]]>DiliaK2007-01-25T11:35:18-00:00Re: Re : maillist.php creating empty posts
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=35618&th=3650#msg_35618
Ilia2007-01-25T13:36:35-00:00Re : Re: Re : maillist.php creating empty posts
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=35625&th=3650#msg_35625
If i change to apache:apache after procmailrc work, messages appears on forum.]]>DiliaK2007-01-25T20:46:59-00:00Re: Re : Re: Re : maillist.php creating empty posts
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=35626&th=3650#msg_35626
Ilia2007-01-25T23:39:19-00:00Re : maillist.php creating empty posts
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=35656&th=3650#msg_35656
My .procmailrc make messages on user name of my mail account but make it on 600. I must change it to 666. I am trying to do it on my .procmailrc file.]]>DiliaK2007-01-29T14:01:15-00:00