maillist - almost - but no body [message #8807] |
Sun, 23 February 2003 07:06 |
kael
Messages: 1 Registered: February 2003
Karma: 0
|
Junior Member |
|
|
Hey Folks:
I would really like to the the posting by email working.
What works:
*Sync to the list works (i.e. posts are mailed to the list).
(hence the list -> FUDforum relationship is working)
*Posts to the list ny email are forwarded to the maillist script.
(hence the forwarding is working)
*The maillist script inserts the message into the forum with the correct subject, user, etc.
(hence the maillist script can parse the headers)
*Attached files sent by email are displayed correctly in the forum
The Problem:
All the bodies that are send by e-mail are marked "No Message Body"
The server software:
php-4.3.1
apache-1.3.12
mysql-3.23.27-beta
FUDFourm-2_20030123
FreeBSD 4.6-STABLE
Email clients tested:
Berkeley Mail
Eudora 5.0 (win32)
By-the-by, there was a typo in the distribution's mlist.inc. On line 62 there was a trailing comma before the closing ')' that constituted a SQL error, as it specified one more VALUE than field in the INSERT.
Best wishes (please help),
Kael
|
|
|
Re: maillist - almost - but no body [message #8813 is a reply to message #8807] |
Sun, 23 February 2003 18:54 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Please upgrade to a later version of FUDforum, given the errors you are reporting (Fixed in later versions) I think you may be using an old version with a few bugs in mailing list import code.
FUDforum Core Developer
|
|
|
Re: maillist - almost - but no body [message #9033 is a reply to message #8813] |
Sat, 08 March 2003 17:28 |
bbarnett
Messages: 19 Registered: March 2003
Karma: 0
|
Junior Member |
|
|
I get this same error with the current (.8) release of FUDforum. Every message I send from the mailing list seems to end up with "no message body".
Just for fun, I've posted with the Mozilla mail client, to make sure it isn't some that my client (Sylpheed) is doing.
Same problem with it, so I doubt it's because of my mail client.
[Updated on: Sat, 08 March 2003 17:43] Report message to a moderator
|
|
|
|
Re: maillist - almost - but no body [message #9047 is a reply to message #9046] |
Sun, 09 March 2003 16:24 |
bbarnett
Messages: 19 Registered: March 2003
Karma: 0
|
Junior Member |
|
|
Ah, ok... makes sense now
The README in that dir should include some info on this. Unfortunately, the sticky bit can't be used on shell scripts However, there is another method you can use to keep those files with normal permissions, and still run the mailinglist script on them.
I find this important, because new forums may be added, and I don't want to have to bother with chmod on those files when they are created.
Install sudo, and add an entry like :
ALL ALL=(www-data) NOPASSWD: /home/httpd/html/fud/forum/scripts/maillist.php
You run your webserver as "nobody", so that's probably a good idea instead of www-data. Then, use this:
sudo -H -u www-data /home/httpd/html/fud/forum/scripts/maillist.php
in procmailrc instead of the normal line. This should probably be documented. That is, one method or the other.
Anyhow, thanks again dude!
|
|
|