I don't get it !
Permissions seems to be right on aliases* files. Owner is mailman:mailman perms 
is 777 for now.

2 questions:
With my config, postfix+mailman on machine1, apache on machine2
- /usr/sbin/postalias (and portmap) is on machine1, not needed on machine 2, 
right ?
- which user (or group) runs the /usr/sbin/postalias command when creating a 
list on machine2 with the web interface
     do I need to add this user to the postfix group or something ?
 
When I was using postfix+mailman+apache on the same machine, everything was 
working fine
So I also think it is a perms problem, but can't fix it...


> -----Message d'origine-----
> De : Mark Sapiro [mailto:[EMAIL PROTECTED] 
> Envoyé : jeudi 19 octobre 2006 17:56
> À : BRAVAL François; mailman-users@python.org
> Objet : RE: [Mailman-Users] external web interface
> 
> BRAVAL François wrote:
> >
> >If I remove the VIRTUAL_HOST_OVERVIEW = Off and set the
> >DEFAULT_URL_HOST to machine2.domain.com. I get a 'bug' error.
> >
> >See my error log.
> >
> >Oct 19 13:32:48 2006 (10276) command failed: 
> /usr/sbin/postalias /usr/local/mailman/data/aliases (status: 
> 127, Unknown error 127)
> >Oct 19 13:32:48 2006 admin(10276): 
> @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
> >admin(10276): [----- Mailman Version: 2.1.9 -----]
> >admin(10276): [----- Traceback ------]
> >admin(10276): Traceback (most recent call last):
> >admin(10276):   File "/usr/local/mailman/scripts/driver", 
> line 101, in run_main
> >admin(10276):     main()
> >admin(10276):   File 
> "/usr/local/mailman/Mailman/Cgi/create.py", line 56, in main
> >admin(10276):     process_request(doc, cgidata)
> >admin(10276):   File 
> "/usr/local/mailman/Mailman/Cgi/create.py", line 238, in 
> process_request
> >admin(10276):     sys.modules[modname].create(mlist, cgi=1)
> >admin(10276):   File 
> "/usr/local/mailman/Mailman/MTA/Postfix.py", line 232, in create
> >admin(10276):     _update_maps()
> >admin(10276):   File 
> "/usr/local/mailman/Mailman/MTA/Postfix.py", line 53, in _update_maps
> >admin(10276):     raise RuntimeError, msg % (acmd, status, errstr)
> >admin(10276): RuntimeError: command failed: /usr/sbin/postalias =
> >/usr/local/mailman/data/aliases (status: 127, Unknown error 127)
> 
> This issue should have nothing to do with the settings of
> VIRTUAL_HOST_OVERVIEW and DEFAULT_URL_HOST in mm_cfg.py.
> 
> The list has been created and the data/aliases and, if the host is in
> POSTFIX_STYLE_VIRTUAL_DOMAINS, the data/virtual-mailman files have
> been updated, and now the Postfix MTA module is calling
> /usr/sbin/postalias to update the data/aliases.db file, and the
> postalias command fails.
> 
> Assuming /usr/sbin/postalias is the correct path (if not, set it in
> mm_cfg.py with POSTFIX_ALIAS_CMD), this is almost certainly an
> ownership/permissions issue.
> 
> Permissions should be at least 0660 on both the aliases and aliases.db
> files and the owner:group should be the mailman user:group. In older
> versions, bin/check_perms doesn't check all this.
> 
> -- 
> Mark Sapiro <[EMAIL PROTECTED]>       The highway is for gamblers,
> San Francisco Bay Area, California    better use your sense - B. Dylan
> 
> 
------------------------------------------------------
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
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://www.python.org/cgi-bin/faqw-mm.py?req=show&amp;file=faq01.027.htp

Reply via email to