Why dont you just compile the vpopmail in PHP and do the calls from PHP
iteself.

Sean
----- Original Message -----
From: "Tren Blackburn" <[EMAIL PROTECTED]>
To: "'Sean O'Dea'" <[EMAIL PROTECTED]>; "'The Guyver'"
<[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Thursday, September 20, 2001 1:47 PM
Subject: RE: Urgent Help, please!


> Scripts cannot be suid.  At least on Linux and AIX and SCO they can't.
> Can't speak for others.  You'd have to use some C program to call this,
> or re-write it in C.
>
> Regards,
>
> Tren.
>
> -----Original Message-----
> From: Sean O'Dea [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, September 20, 2001 12:38 PM
> To: 'The Guyver'; '[EMAIL PROTECTED]'
> Subject: RE: Urgent Help, please!
>
>
> The script should be owned by vpopmail
> chown vpopmail script
> Set the script to run as vpopmail
> chmod u+s script
>
> That will allow the script to have the same permissions as vpopmail and
> it should be able to write the the directory.
>
> -----Original Message-----
> From: The Guyver [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, September 20, 2001 11:37 AM
> To: Sean O'Dea; [EMAIL PROTECTED]
> Subject: Re: Urgent Help, please!
>
>
> How do I do it please??
> Thanks again!
>
> ----- Original Message -----
> From: "Sean O'Dea" <[EMAIL PROTECTED]>
> To: "'The Guyver'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
> Sent: Thursday, September 20, 2001 8:32 PM
> Subject: RE: Urgent Help, please!
>
>
> > The script probably needs to run setuid to the vpopmail user.
> >
> > -----Original Message-----
> > From: The Guyver [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, September 20, 2001 11:30 AM
> > To: [EMAIL PROTECTED]
> > Subject: Urgent Help, please!
> >
> >
> > Hello there,
> > I'm in a desperate need to write a PHP script that creates a new
> > mailbox with vpopmail 4.10.35 I've written everything correctly but
> > when I use exec or system I always
> end
> > up with this error:
> >
> > Error: Unable to chdir to vpopmail/domains directory
> >
> > please help me it's very urgent if anybody has a clue I'll appreciate
> > so much.
> >
> > Guyver
> >
>
>

Reply via email to