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

Home » FUDforum » How To » maillist - almost - but no body
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
maillist - almost - but no body [message #8807] Sun, 23 February 2003 07:06 Go to next message
kael is currently offline  kael   United States
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 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
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 Go to previous messageGo to next message
bbarnett is currently offline  bbarnett   Canada
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 #9046 is a reply to message #9033] Sun, 09 March 2003 15:58 Go to previous messageGo to next message
jgbutler is currently offline  jgbutler   United States
Messages: 19
Registered: March 2003
Location: Northport, AL
Karma: 0
Junior Member
I had the same problem with the recent version of FUDforum, too.

The solution, for me, involved changing the permissions of the file that holds the message bodies.

FUDforum stores message bodies in

data/messages/msg_1

When I checked the perms for msg_1 I found:

-rw-r--r-- 1 nobody nobody 5567 Mar 8 13:28 msg_1

I tried changing the perms to

-rw-rw-rw- 1 nobody nobody 6139 Mar 8 17:25 msg_1

and <bada-bing> my message bodies began appearing. So, apparently, the user that the PHP script executes as did not have permission to write to msg_1.

I don't know if this is the best solution, but it worked for me.

Regards,

Jeremy
Re: maillist - almost - but no body [message #9047 is a reply to message #9046] Sun, 09 March 2003 16:24 Go to previous message
bbarnett is currently offline  bbarnett   Canada
Messages: 19
Registered: March 2003
Karma: 0
Junior Member


Ah, ok... makes sense now Wink

The README in that dir should include some info on this. Unfortunately, the sticky bit can't be used on shell scripts Sad 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!
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: How to change to *open* tree view (as in FUDforum)?
Next Topic: help
Goto Forum:
  

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

Current Time: Sun Nov 10 00:25:55 GMT 2024

Total time taken to generate the page: 0.02224 seconds