On Sat, May 12, 2001 at 12:20:53PM -0400, Jeff Gordon wrote:
> Someone on the qmail list advised I could set up an announce-only list,
> by eliminating ~/.qmail-list and ~/list, then piping messages directly
> to ezmlm-send. Piping to ezmlm-send works okay, from the command
> line, as root -- but I need for this to happen via a web form.
>
> After two solid days of attempts, the most common error I find says
> ezmlm-send doesn't have permission to 'cd' to (read from):
>
> /home/vpopmail/domains/my-domain/my-list
>
> Any idea how to enable this, using a web form that submits to a Perl
> script which in turn opens a pipe to ezmlm-send?
ANSWER to that part: 'suexec', which makes CGI scripts appear to be the
user/owner of the file -- thus, this succeeds to a point:
open(EZ,"|/usr/sbin/suexec $ezpath/ezmlm-send $listdir ");
print EZ $message;
BUT NOW, we get the error, "failed to open log file" and the mission
aborts anyway. :-) Anybody know -which- log file? I can see maillog
got no entry but then it wouldn't if the run aborted -- so perhaps this
is someone else's log file...?
--
-- Jeff -- <http://www.wellnow.com>
"There's nothing left in the world to prove. All that's worth doing
is to love one another, using whatever means are available to serve."