I am a new to mailman.I have installed mailman-2.1.11 twice, as the following 
steps,but i can not open http://localhost/mailman/admin 
In http.conf, i have already added: 
             ScriptAlias /mailman/  /usr/local/mailman/cgi-bin/  

Alias /pipermail/ /usr/local/mailman/archives/public/
<Directory "/usr/local/mailman/archives/public/">
    AddDefaultCharset Off
</Directory>
when i open http://localhost/mailman/admin, it shows Internal Server Error. So 
I get open error_log of http, it shows


[Wed Aug 06 01:02:49 2008] [error] [client 127.0.0.1] (13)Permission denied:    
 exec of '/usr/local/mailman/cgi-bin/admin' failed
[Wed Aug 06 01:02:49 2008] [error] [client 127.0.0.1] Premature end of script 
headers: admin

Thanks to anyone who can give me help!




bash# groupadd mailman
bash# useradd -g mailman -M -s /sbin/nologin mailman
bash# mkdir -p /usr/local/mailman
bash# chown -R mailman.mailman /usr/local/mailman
bash# chmod -R 2775 /usr/local/mailman


INSTALL 

Running configure 
             bash# ./configure --with-mail-gid=mail --with-cgi-gid=root 
--prefix=/usr/local/mailman



install 


bash# make
bash# make install


Check install 


bash# cd /usr/local/mailman
bash# bin/check_perms
bash# bin/check_perms -f


Configure web server 


    ScriptAlias   /mailman/       $prefix/cgi-bin/



Copy the Mailman, Python, and GNU logos to proper dirs of your web server. 

bash# cp $prefix/icons/*.{jpg,png} /path/to/apache/images



Alias /pipermail/ $varprefix/archives/public/



<Directory "/usr/local/mailman/archives/pub
lic/">
    AddDefaultCharset Off
</Directory>

bash# service httpd restart



Configure email server 

以 sendmail 为例: 
 sendmail.mc: 


define(`ALIAS_FILE', `/etc/aliases,/etc/aliases.mailman')dnl


bash# m4 sendmail.mc > sendmail.cf
bash# touch /etc/aliases.mailman
bash# service sendmail restart


关于 sendmail restricted shell (smrsh) 
Configure Mailman 

mm_cfg.py and Default.py 在创建新的 list 时被读取,并作为确省参数来配置新的 list 的参数。如果对 list 
的参数不满意,可以通过地址 http://hostname/mailman/admin/ 来修改参数。 
 
------------------------------------------------------
Mailman-Users mailing list
[email protected]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: http://wiki.list.org/x/QIA9

Reply via email to