Authenticating Neomail with Apache mod_auth

"seamus.kane" <[email protected]>
Newsgroups gmane.mail.neomail.general
Message-ID <[email protected]>
Hi
I run a number of Perl based applications e.g Calendar Scheduling,  and
authenticate using Apache mod_auth. Since I have captured the
authenticated user as an ENV var REMOTE_USER I wanted to then access
Neomail without further authentication. ( Note , new Linux users are
added are added automatically to my mod_auth password file )

I thought I could do this by adding the following to checklogin.pl
my $remoteuser = $ENV{'REMOTE_USER'};
if (length($remoteuser)> 1) {exit 0;}
( this is executed before check for ( $passwdfile && $username &&
$password )


and call neomail with arguments
neomail.pl?action=login

No Luck so far.

I would appreciate any hints or tips

best regards

S Kane



-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.