Addressed to: [EMAIL PROTECTED]
[EMAIL PROTECTED]
** Reply to note from Philip Wall <[EMAIL PROTECTED]> Mon, 12 Nov 2001 17:42:17 -0600
Thanks for reminding me. It seems I had to chmod 4550 the domain
related commands to get them to work. (vaddaliasdomain, vadddomain,
vdeldomain.) It has been a while since I messed with this.
Yes, that is the ominous SUID root setting for chmod.
Rick
> > If you are doing this with PHP as an apache module, suexec doesn't
> > matter. PHP will run out of any directory under DocumentRoot, and if
> > the server runs as
> >
> > User vpopmail
> > Group vchkpw
> >
> > you can exec _any_ of the commands in ~vpopmail/bin including
> > vadddomain and vdeldomain. Be careful!
>
> You can run the commands but keep in mind vadddomain and
> vdeldomain will segfault if not ran as root. Reason being the
> vpopmail user can't write the required qmail files rcpthosts,
> virtualdomains and so on. You might be able to chown those files
> but I'm not sure how qmail would react to that.
> vdeldomain and vadddomain should be corrected to not segfault
> but instead give a proper error message when it can't write files.
>
> Phil Wall
>
>
Rick Widmer
Internet Marketing Specialists
http://www.developersdesk.com