[Mailman-Users] Problem with running mailman commands from php

Nicholas Knouf nknouf at music.caltech.edu
Mon Sep 9 05:06:57 CEST 2002

Hi All,

I am trying to run sync_members from a php script.  I have a series of
e-mail address in the file /tmp/$groupName that I want to syncronize with
the mailing list $groupName.  My php command is:

system("/usr/local/mailman/bin/sync_members -w=no -f /tmp/$groupName

However, the command does not work correctly when run from my php script.
When I run the previous command from the command line (substituting, of
course, the correct groupName's for the $groupName variables), the command
works correctly, so I know that it is not a problem with the
/tmp/$groupName file.  As well, /usr/local/mailman/locks is writable by
the web server user and group.  Does anybody have a solution to this


Nick Knouf
Webmaster, music.caltech.edu

More information about the Mailman-Users mailing list