On Thursday 02 September 2004 12:04 pm, Cheurfa Linda wrote:
> Jeremy Kitchen wrote:
> >On Thursday 02 September 2004 11:37 am, Cheurfa Linda wrote:
> >>Hello,
> >>
> >>I'm using qmail 1.03 coupled with vpopmail 5.2.1 on a Red Hat 7.2
> >> machine. I experience some access rights problems with vpopmail when I
> >> execute vadddomain. It returns an error code (240) and the message "Can
> >> not make domains directory".
> >
> >tru running it as root.
> >
> >>I suppose the inner directories of qmail can't be accessed by my user
> >>and I don't want to use root to do this.
> >
> >you have to, because vadddomain also HUPs qmail-send, which you'd have to
> > be root to do.
> >
> >-Jeremy
>
> Well, I hear you, but why the FAQ of vpopmail says I can use vadddomain
> as non-root ? And since I want to execute the program from a web page,
> it'll be executed with apache privileges, which aren't root.

Sounds like the FAQ should be updated. You won't be able to get apache
to run vadddomain. The current ways to get apache to run it are to build
a cgi program, like vqadmin, that runs setuid root. Or to use the new
vpopmaild (vpopmail daemon) and have it add the domain for you.

Ken Jones

Reply via email to