[Mailman-Users] Permission issues

Stefan Berglund stefan.berglund at gmail.com
Wed Mar 7 22:12:45 CET 2007


Hi again, thanks for the help w/ my previous problem.. However, I had messed
it up a bit, so I reinstalled it (postfix + mailman) :-)

Now I got some user/group issues.. It complains about postfix running the
scripts(?) as "nobody" instead of "mailman". Some googling tells me that
this is kindof common, and that postfix should use the same identity as the
owner of the aliases file...?

Right now I have this postfix config;

alias_maps = hash:/etc/mail/aliases,
             hash:/usr/local/mailman/data/aliases

..and user mailman owns both these files. Something wrong there..?

Also, I get some problem when I try to create a new list now, using the web
interface. I get a "Oops, there was a bug" page, and looking at the mailman
error log, it seems to be some kind of permission problem here also;

...
admin(29718):     os.mkdir(self.archive_dir()+'.mbox', 02775)
admin(29718): OSError: [Errno 13] Permission denied:
'/usr/local/mailman/archives/private/testlist.mbox'
admin(29718): [----- Python Information -----]
admin(29718): sys.version     =   2.4.2 (#1, Jun 13 2006, 15:10:48)
[GCC 3.3.5-20050130 (Gentoo 3.3.5.20050130-r1, ssp-3.3.5.20050130-1,
pie-8.7.7.
admin(29718): sys.executable  =   /usr/bin/python
admin(29718): sys.prefix      =   /usr
admin(29718): sys.exec_prefix =   /usr
admin(29718): sys.path        =   /usr
admin(29718): sys.platform    =   linux2
admin(29718): [----- Environment Variables -----]
admin(29718):   HTTP_REFERER: http://boffman.mine.nu/mailman/create
admin(29718):   SERVER_SOFTWARE: Apache
admin(29718):   SCRIPT_NAME: /mailman/create
admin(29718):   SERVER_SIGNATURE: <address>Apache Server at
boffman.mine.nuPort 80</address>
...

And, looking at the path mentioned;
# ls -ld /usr/local/mailman/archives/private
drwxr-s--x 4 mailman mailman 4096 Mar  7 14:52
/usr/local/mailman/archives/private/

# ls -l /usr/local/mailman/archives/private/
total 8
drwxrwsr-x 2 mailman mailman 4096 Mar  7 14:52 mailman
drwxrwsr-x 2 mailman mailman 4096 Mar  7 14:52 mailman.mbox

It feels like I've missed to do some settings of permissions.. I run gentoo,
and followed some gentoo guide.. Did I miss something? Does anyone have any
tips?


(hehe, I think this is among the most tricky things I've stumbled upon..
I've re-done it a couple of times now, and get new errors every time..! I
thought "hm, maybe I should set up a mailing list!".. how naive :))


Grateful for help


More information about the Mailman-Users mailing list