Differences between revisions 2 and 3
Revision 2 as of 2008-08-01 21:34:08
Size: 1623
Editor: rclemings
Comment: Migrated to Confluence 4.0
Revision 3 as of 2015-01-31 02:36:58
Size: 1556
Editor: msapiro
Comment: Removed FAQ Wizard last edited
Deletions are marked like this. Additions are marked like this.
Line 20: Line 20:
''Last changed on Fri Jul 16 02:11:02 2004 by'' Brad Knowles<<BR>> Converted from the Mailman FAQ Wizard Converted from the Mailman FAQ Wizard

4.22. Messages that are translated from HTML to plain text have a body like ""/root/8e8Ta4: Permission denied"

Chances are you are running Mailman on a Red Hat version of Linux ...

Turns out that Red Hat decided to change the temporary directory that lynx uses to be the users home directory. Since qrunner is suid to mailman, the processes environment information it runs with is not actually mailman's (home directory, etc) ... so if you start qrunner when signed on as root, the processes home directory is still root's home directory (in my case '/root').... so, you have a process that has a home directory that it has no authority to write to.

To fix the problem, we have to change the temporary directory that lynx uses.

Change the HTML_TO_PLAIN_TEXT_COMMAND to the following ...

HTML_TO_PLAIN_TEXT_COMMAND = 'LYNX_TEMP_SPACE=/tmp /usr/bin/lynx -force_html -dump %(filename)s'

This causes the temporary directory that lynx will use to be /tmp (which, btw, is the default for a freshly built lynx).

(thanks to John Buttery for the modified lynx command)

A similar problem may occur in Mailman installations on cPanel with CentOS 4.6 (and possible others). In this case, there is no error message; rather, the message sent to the list is blank after being translated from HTML to plain text. The cause appears to be the same and the above fix applies.

Converted from the Mailman FAQ Wizard

This is one of many Frequently Asked Questions.

MailmanWiki: DOC/4.22 Messages that are translated from HTML to plain text are empty or have a body like ""-root-8e8Ta4- Permission denie (last edited 2015-01-31 02:36:58 by msapiro)