Firefox PHP

Phorummail for Phorum 5

Posted by Brian Moon 
Re: Phorummail for Phorum 5
October 16, 2006 02:35PM
This means someone has a bad email client that is only including HTML email and not a plain text version. Most HTML emails contain and alternate text only version. If you get ahold of one of the emails, send it to me. brian@phorum.org

Brian - Cowboy Ninja Coder - Personal Blog - Twitter
Re: Phorummail for Phorum 5
October 17, 2006 12:10AM
Quote
brianlmoon
This means someone has a bad email client that is only including HTML email and not a plain text version. Most HTML emails contain and alternate text only version. If you get ahold of one of the emails, send it to me. brian@phorum.org

Well, it looks like it is more complex than that (at least to me!) Some replies to messages don't have any text from users that, when posting alone, work fine. And what's funny is that the MailMan archives have the proper text in all the emails.

I can send you several examples, the URL of the forum and the URL of the MailMan archives if you wish. Just let me know (I keep thinking there might be some kind of configuration item that I'm missing.)
Re: Phorummail for Phorum 5
October 17, 2006 08:38PM
Well, it looks like it won't work for the mailing list I'm using. The users quote extensively (deeply nested quotes) and have HTML email clients that are ill behaved (Incredimail, Hotmail and Outlook Express). Quite a few messages are imported without usernames, and quite a few are completely blank.

I may just use Mhonarc to make the archives more appealing, and leave it at that. Or try the phpBB Mail2Forum solution (although I didn't want to go down that road.)
Re: Phorummail for Phorum 5
October 18, 2006 11:14AM
Send me that URL to the archives.

Brian - Cowboy Ninja Coder - Personal Blog - Twitter
Re: Phorummail for Phorum 5
October 20, 2006 01:54AM
Hi Brian,

I sent you a PM with the URLs to the forum and the archives.
Re: Phorummail for Phorum 5
October 20, 2006 04:19PM
I can't get to the server.

Brian - Cowboy Ninja Coder - Personal Blog - Twitter
Re: Phorummail for Phorum 5
February 18, 2007 09:43PM
I have a Verio vps2, and I'm trying to get this script to work. The vps2 uses:

FreeBSD 4.7
Apache 1.3x
Sendmail/Procmail

I manually installed PHP5 and MySQL 5 via FreeBSD ports. I have the pear module installed, and placed the pear file in an include/Mail folder as well, just in case. My phorum install:

http://mscis.org/discussion

I placed phorummail.php in /home/mscis/www/discussion (docroot is www), and put this line:

define("PHORUM_DIR", "/home/mscis/www/discussion/");

My virtmap (/etc/mail/virtusertable) has this applicable entry:

list@flfn.org     mscislist

Note that the mail uses a different domain, that I host on the same server because I host my mail for mscis.org on another server. My aliases table has this entry:

mscislist:     "|/home/mscis/www/discussion/phorummail.php 1"

When I send mail to list@flfn.org, I get these mail log entries:

Feb 18 19:34:24 bstout sm-mta[27920]: l1J2YOA4027920: from=<bms@mscis.org>, size=1115, class=0, nrcpts=1, msgid=<45D90CAC.6090800@mscis.org>, proto=ESMTP, daemon=MTA-v4, relay=mout.perfora.net [217.160.230.41]
Feb 18 19:34:26 bstout sm-mta[27922]: l1J2YOA4027920: to="|/home/mscis/www/discussion/phorummail.php 1", ctladdr=<list@flfn.org> (26/0), delay=00:00:02, xdelay=00:00:02, mailer=prog, pri=31339, dsn=5.3.0, stat=unknown mailer error 255
Feb 18 19:34:26 bstout sm-mta[27922]: l1J2YOA4027920: l1J2YQA4027922: DSN: unknown mailer error 255
Feb 18 19:34:28 bstout sm-mta[27922]: l1J2YQA4027922: to=<bms@mscis.org>, delay=00:00:02, xdelay=00:00:02, mailer=local, pri=32363, relay=local, dsn=2.0.0, stat=Sent

And I get a non-deliverable email notice with this applicable information:

Quote

----- The following addresses had permanent fatal errors -----
|/home/mscis/www/discussion/phorummail.php 1
(reason: 127)
(expanded from: <list@flfn.org>)

----- Transcript of session follows -----
/home/mscis/www/discussion/phorummail.php.1: not found
554 5.3.0 unknown mailer error 127

Notice that the session transcript has a .1 at the end and the fatal error has [space]1 (no "." before the "1").

Any ideas?

Brandon Stout
[mscis.org]
Re: Phorummail for Phorum 5
February 19, 2007 03:26AM
My first guess is that your mailserver user isn't allowed to read and execute your phorummail.php script. Be sure that the path components are open for your mailserver user and that the phorummail.php script is readable and executable for that user.


Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
Re: Phorummail for Phorum 5
February 19, 2007 12:39PM
Quote
mmakaay
My first guess is that your mailserver user isn't allowed to read and execute your phorummail.php script. Be sure that the path components are open for your mailserver user and that the phorummail.php script is readable and executable for that user.

Thank you Maurice. The file is owned by www, and in the www group, but it also has 755 permissions (readable and executable by owner, group, and other, and writable by owner only). Should it work this way?

Brandon Stout
[mscis.org]



Edited 1 time(s). Last edit at 02/19/2007 04:39PM by brasto.
Re: Phorummail for Phorum 5
February 19, 2007 02:46PM
Also check if all path components are open. The script itself should be okay this way. But there could be a directory up the tree that is closed. Make those 755 as well.


Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
Sorry, only registered users may post in this forum.

Click here to login