[Mailman-Users] List Creation via web UI

Mark Sapiro msapiro at value.net
Thu Nov 2 17:52:07 CET 2006

Odhiambo Washington wrote:

>I am trying, for the 1st time in my life with Mailman, to create a list 
>via the web UI. I have read all the available doco, and I believe that
>I have configured my setup properly.
>`check_perms -f` says no error found,

There may be a problem with check_perms. We won't know for sure until
we find the immediate problem.

>yet when I try to create a list,
>the web UI says:
>"Bug in Mailman version 2.1.9 \
>We're sorry, we hit a bug! \
>Please inform the webmaster for this site of this problem. Printing of 
>traceback and other system information has been explicitly inhibited, 
>but the webmaster can find this information in the Mailman error logs"
>Well the error itself from $Mailman_Home/logs/error is:
>Nov 02 19:07:39 2006 admin(69413): @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
>admin(69413): [----- Mailman Version: 2.1.9 -----]
>admin(69413): [----- Traceback ------]
>admin(69413): Traceback (most recent call last):
>admin(69413):   File "/usr/local/mailman/scripts/driver", line 101, in run_main
>admin(69413):     main()
>admin(69413):   File "/usr/local/mailman/Mailman/Cgi/create.py", line 56, in main
>admin(69413):     process_request(doc, cgidata)
>admin(69413):   File "/usr/local/mailman/Mailman/Cgi/create.py", line 190, in process_request
>admin(69413):     mlist.Create(listname, owner, pw, langs, emailhost)
>admin(69413):   File "/usr/local/mailman/Mailman/MailList.py", line 493, in Create
>admin(69413):     self.InitVars(name, admin, crypted_password)
>admin(69413):   File "/usr/local/mailman/Mailman/MailList.py", line 404, in InitVars
>admin(69413):     baseclass.InitVars(self)
>admin(69413):   File "/usr/local/mailman/Mailman/Archiver/Archiver.py", line 96, in InitVars
>admin(69413):     os.mkdir(self.archive_dir()+'.mbox', 02775)
>admin(69413): OSError: [Errno 13] Permission denied: '/usr/local/mailman/archives/private/potopoto.mbox'
>admin(69413): [----- Python Information -----]

Verify that the wrapper /usr/local/mailman/cgi-bin/create has
permissions like

-rwxr-sr-x  1 root mailman

The critical things are the SETGID bit and group 'mailman'.

Then verify that the directories /usr/local/mailman/,
/usr/local/mailman/archives/ and /usr/local/mailman/archives/private/
are all group 'mailman' and group writeable. Also, the directory
/usr/local/mailman/archives/private/potopoto.mbox/ should not exist at
this point.

Mark Sapiro <msapiro at value.net>       The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

More information about the Mailman-Users mailing list