It's not an "active" authentication. The script I created only dumps the 
Xmail users once and creates Apache user and group files. I set mine to 
run as a cron job every 48 hours so it picks up changes.

The only overhead involved is the script running via cron every 48 hours 
(less than 2 seconds for a 200+ user system) and Apache's normal 
overhead for authenticating users. The user and group files are static 
until corn or I regenerate them using my script. The script might as 
well be a bash script, but I was experimenting with PHP on the command 
line (nice!)

Hope that explains it a bit better,

Bryn

----- Original Message -----
Subject: [xmail] Re: Xmail users to Apache users Usefull?
Date: Thu, 19 May 2005 22:57:29 +0200
From: S�nke_Ruempler

NOTA Postmaster wrote:
 > I posted this a little bit back, but the list was down.
 >
 > I wrote a PHP command line util for *nix boxen that will output Xmail as
 > Apache AuthUsersFile and AuthGroupFile format files for use with
 > ..htaccess. If you enough people are interested, I'll clean up the code
 > an release it. If not, oh well - It did it's job for me already.

Don't you think that has too much overhead for real-time web
applications? Note: The authentication is done on _every_ request to the
webserver. I can't believe that works without caching mechanisms ...
-
To unsubscribe from this list: send the line "unsubscribe xmail" in
the body of a message to [EMAIL PROTECTED]
For general help: send the line "help" in the body of a message to
[EMAIL PROTECTED]

-
To unsubscribe from this list: send the line "unsubscribe xmail" in
the body of a message to [EMAIL PROTECTED]
For general help: send the line "help" in the body of a message to
[EMAIL PROTECTED]

Reply via email to