• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Mailman and SuExec.

B

ban520

Guest
Mailman doesnt seem to work on Plesk 7.5.3 with FC2.

After some research time I found that there are logically incompatible

configuration directivres:



1. httpd uses SUEXEC to improve security between different CGI scripts of

different users. More about this feature: http://httpd.apache.org/docs/2.0/

suexec.html


2. Suexec have hard-coded variable named 'docroot' where all cgi-scripts must be

placed in.


3. Apparently, PSA installed Mailman cgi-bin files outside of Suexec 'docroot',

this creates this problem can be seen in error log file:


==== /home/httpd/vhosts/domain.us/statistics/logs/error_log =====

[Fri Jul 29 07:14:31 2005] [error] [client 217.144.68.77] Premature end of

script headers: admin

==================================================================


more detailed information can be seen here:



=== /var/log/httpd/suexec_log ===================================

[2005-07-29 07:14:31]: uid: (10001/fawcett) gid: (10001/10001) cmd: admin

[2005-07-29 07:14:31]: command not in docroot (/var/mailman/cgi-bin/admin)



Do you see: PSA installs files to /var/mailman, and this does not match

'docroot' setting which _compiled in_ to suexec.



Anyone have any suggestions?

Thanks.
 
Back
Top