[vPostMaster] Mailman Configuration on Ubuntu LTS

Kristen Shuemaker kristen at tummy.com
Wed Nov 14 14:51:38 MST 2007


On Wed, Nov 14, 2007 at 09:35:32AM -0700, Ecomshare wrote:
>Trying to set up a new list in vpostmaster and something is not quite
>right. Nothing shows up in mailman/error or in apache2/error.log or
>mail.log/err but I get the following from the user interface when trying
>to create a list.
>
>Traceback (most recent call last):
>      * File "/usr/lib/mailman/bin/newlist", line 226, in ?
>      * main()
>      * File "/usr/lib/mailman/bin/newlist", line 106, in main
>      * os.setgid(gid)
>      * OSError: [Errno 1] Operation not permitted
>
>I did see that the install script did not create the mailman user or
>group so I added those. I do see a list user, should list be in the
>mailman group? What other users are needed? The above looks to be
>permissions related....

Please try running:

    visudo
change the last line from
    vpostmaster  ALL=(mailman) NOPASSWD: /usr/lib/mailman/mail/mailman
to
    vpostmaster  ALL=(list) NOPASSWD: /usr/lib/mailman/mail/mailman

Then comment out lines 104-106 of /usr/lib/mailman/bin/newlist, i.e.

    #gid = grp.getgrnam(mm_cfg.MAILMAN_GROUP)[2]
    #if os.getgid() != mm_cfg.MAILMAN_GROUP:
    #    os.setgid(gid) 

And see if that resolves the problem.

Thanks,
Kristen
-- 
tummy.com, ltd.
5400 Fossil Court North
Fort Collins, CO 80525
Tel: 970-494-0355
Fax: 970-377-2320
http://www.tummy.com/


More information about the vPostMaster mailing list