BRAVAL François wrote:
>
>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 ?


Wrong. When you run the create script on the web interface on machine2,
it does the postalias and postmap commands to update aliases.db and
virtual-mailman.db. If those paths (as defined by POSTFIX_ALIAS_CMD
and POSTFIX_MAP_CMD) don't exist, that's the reason for the error you
see.

Note that the lists have been created and aliases and virtual-mailman
have been updated, but the postalias and postmap commands will still
need to be run to update the .db files.


>- which user (or group) runs the /usr/sbin/postalias command when =
>creating a list on machine2 with the web interface


The user is the user under which the web server runs the CGI wrapper.
The group is the mailman group because the wrapper is SETGID.


>     do I need to add this user to the postfix group or something ?


You shouldn't have to. My understanding is anyone can run postalias and
postmap as long as that user/group has permissions on the files being
processed. If things are correct, the commands will run as group
mailman which will have permission.

-- 
Mark Sapiro <[EMAIL PROTECTED]>       The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

------------------------------------------------------
Mailman-Users mailing list
[email protected]
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