Well thanks to all of you guys, I've solved my problem.
However even with vpopmail support built into PHP it didn't work out 'cause
permissions where not set right.
I solved this way:
I setuid che vpopmail scripts. (not all of them just vadduser and vmoduser)
Don't know if it's correct but it w
i think they write something about that in the README file of the
vpopmail extension
greetz & hope it helps
Flavio
On Fri, Sep 21, 2001 at 12:01:21PM +0200, The Guyver wrote:
> Yes, you're right! But then when using the correct function I had the
> UID/GID problem.
> I'm working on that right n
Yes, you're right! But then when using the correct function I had the
UID/GID problem.
I'm working on that right now.
Regards,
Guyver
- Original Message -
From: "Flavio Curti" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, September 21, 2001 1
he solution but still cannot reach
> it.
> Thanks again to anyone answering!
>
> Guyver
>
> - Original Message -
> From: "The Guyver" <[EMAIL PROTECTED]>
> To: "Sean C Truman" <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
>
uyver
- Original Message -
From: "The Guyver" <[EMAIL PROTECTED]>
To: "Sean C Truman" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, September 21, 2001 9:51 AM
Subject: Re: Urgent Help, please!
> Don't worry I wasn't going to ask yo
27;t
work out.
I'll let you know if this PHP recompile will do.
Best regards,
Guyver
- Original Message -
From: "Sean C Truman" <[EMAIL PROTECTED]>
To: "guyver" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, September 21, 2001 12:36 AM
S
, September 20, 2001 3:29 PM
Subject: Re: Urgent Help, please!
> I forgot all about that option. Thanks for telling me about that. But
> woudn't it still need to be run as a different user?
>
> --
> Brandon Ramirez
> UnrealHost H
ssage -
From: "guyver" <[EMAIL PROTECTED]>
To: "Sean C Truman" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, September 20, 2001 4:38 PM
Subject: Re: Urgent Help, please!
> Sean C Truman writes:
>
> > Brandon,
> >
> > If
Sean C Truman writes:
> Brandon,
>
> If you configure PHP --with-vpopmail=/home/vpopmail you can call the
> vadduser() function from within your PHP script. This is one of the reason
> Ken created the API for vpopmail.
>
> Sean
Wow, that sounds very interesting, could you please be m
n C Truman" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, September 20, 2001 4:24 PM
Subject: Re: Urgent Help, please!
> Brandon,
>
> If you configure PHP --with-vpopmail=/home/vpopmail you can call
the
> vadduser() function from within your PHP
lt;[EMAIL PROTECTED]>
Sent: Thursday, September 20, 2001 2:01 PM
Subject: Re: Urgent Help, please!
> PHP scripts are parsed, not executed. Setuid is useless with PHP. The only
> thing I can think of is to make your web server run as root or vpopmail
(NOT
> recommended) or turn the PHP
You also can use sudo to execute programs as a certain user.
http://www.courtesan.com/sudo
-
Ing. Ruben Olague |
Systems Administrator |
Podernet, S.A. de C.V. |
Mexico, D.F.|
Tel: (01) 5257 0730 |
-
main
$password`;
print header(), start_html("Done."), end_html();
-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 scri
Or add the the user that runs the webserver to the vchkpw group.
-Original Message-
From: Brandon Ramirez [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 20, 2001 12:01 PM
To: [EMAIL PROTECTED]
Subject: Re: Urgent Help, please!
PHP scripts are parsed, not executed. Setuid is
#x27;The Guyver'" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Thursday, September 20, 2001 2:56 PM
Subject: Re: Urgent Help, please!
> Why dont you just compile the vpopmail in PHP and do the calls from PHP
> iteself.
>
> Sean
> - Original Message -
&
CTED]>; <[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
er 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 permissi
Thanks again!!
I'll try it, hope it works.
Best regards,
Guyver
- Original Message -
From: "Sean O'Dea" <[EMAIL PROTECTED]>
To: "'The Guyver'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Thursday, September 20, 2001 8:37 PM
[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 G
RTFM. http://www.apache.org is your friend.
Regards,
Tren.
-Original Message-
From: The Guyver [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 20, 2001 12:37 PM
To: Sean O'Dea; [EMAIL PROTECTED]
Subject: Re: Urgent Help, please!
How do I do it please??
Thanks
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, pleas
does your webserver user have rights to work in the vpopmail dirs?
> -Original Message-
> From: The Guyver [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, September 20, 2001 2:30 PM
> To: [EMAIL PROTECTED]
> Subject: Urgent Help, please!
>
>
> Hello there,
>
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
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 any
Dears Friends
I have installed vpopmail... but have a problem
My users can't donwload their e-mails from my server
I don't none virtualdomains ... I have a only domain
and don't would have never.
I can send emails a my users and it arrive their Maildir directory
They have their Maildir here:
25 matches
Mail list logo