[Mailman-Users] external web interface

Mark Sapiro msapiro at value.net
Thu Oct 19 17:56:29 CEST 2006


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 <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