HTML stripped from posted email [message #28948] |
Mon, 21 November 2005 07:03 |
PaulC
Messages: 13 Registered: November 2005 Location: Silicon Valley
Karma: 0
|
Junior Member |
|
|
I've probably made a configuration error, but I can't see one...
Fedora Core 4, with FUDforum 2.7.3 just installed. Apache 2.0.54, MySql 4.1.14, postfix 2.2.2
I've set up a simple alias 'post(at)domain(dot)com' that does:
post: "|/var/www/FUDforum/scripts/maillist.php 1"
The email is posted correctly, in the right forum. But it's been converted to plain text. Or possibly maillist.php prefers the plain text part over the HTML part of the email, despite 'Accept HTML emails' being enabled.
BTW, I understand that accepting HTML email has its risks, but this forum & mail sources won't be visible to the public, and most of the emails will be generated from RSS feeds using 'newspipe'.
|
|
|
|
|
Re: HTML stripped from posted email [message #28967 is a reply to message #28966] |
Tue, 22 November 2005 03:12 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
I cannot say for certain without seeing the full text of the message, but I suspect your assumption about those being mime references are correct. Although usually they are in the cid:identifier form.
FUDforum Core Developer
|
|
|
|
|
|
Re: HTML stripped from posted email [message #28993 is a reply to message #28988] |
Thu, 24 November 2005 00:40 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
PaulC wrote on Wed, 23 November 2005 03:20 |
It doesn't help with fixing up references to inline 'image/jpeg' parts though. Is that something you'll be able to address?
|
Do you have attachment support enabled? I tried you sample e-mail on my development machine and the embed xbox image was showing up properly inside the message.
FUDforum Core Developer
|
|
|
|
Re: HTML stripped from posted email [message #29004 is a reply to message #29000] |
Thu, 24 November 2005 16:26 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
To add an attachment the user running the script must have the permission to create new files inside files/ and the tmp/ directories. If it does not, then attachments will not be imported.
FUDforum Core Developer
|
|
|
|
Re: HTML stripped from posted email [message #29008 is a reply to message #29006] |
Thu, 24 November 2005 16:59 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Well, all I can tell you that it works perfectly on my system here... so it is not a forum bug. If it works with one user account and not another it has to be a permissions issue somewhere down the line.
FUDforum Core Developer
|
|
|
Re: HTML stripped from posted email [message #29025 is a reply to message #29008] |
Fri, 25 November 2005 07:08 |
PaulC
Messages: 13 Registered: November 2005 Location: Silicon Valley
Karma: 0
|
Junior Member |
|
|
Yes, I agree, it looks like a permissions issue, not a forum bug. It works fine for me from the command line. I haven't had time to diagnose what's up with Postfix delivery (it's Thanksgiving in the US).
I really appreciated the suggestion on a good place to look, I was just letting you know I'd checked, and that wasn't it.
Paul
|
|
|