On Wednesday, October 24, 2001, 11:26:25 PM, Bill wrote:

> I hadn't thought of using the vpopmail php functions..  But they would 
> require the web server to run as vpopmail, unless php was called as a 
> cgi that was suid vpopmail.

You have two choices:
1. run httpd as vpopmail:vchkpw
2. run script as vpopmail:vchkpw

My choice was the second point.
I'm using omail not squirrelmail cause it's written in perl and I run
it through suidperl wrapper as user vpopmail.
Also there is vpopmail.pm perl module which I used instead of omail's
external checking of password. It works fine now and imho you can do
the same.  In php you can have some problems but you can always wrap
squirrelmail through some program (sudo i.e.).

-- 
regards,
Sylwester Biernacki <[EMAIL PROTECTED]>

Reply via email to