I'm using mod_auth_imap successfully on Apache 2.2.3, and the only
difference in my config is that I have the following line in addition to
what you already have:
AuthBasicAuthoritative off
If I remember correctly, I didn't need this with Apache 2.0.x, but it was
required for 2.2.x.
Hope this helps.
Robert
-----Original Message-----
From: owner-dspam-users@lists.nuclearelephant.com
[mailto:owner-dspam-users@lists.nuclearelephant.com] On Behalf Of Richard
Valk
Sent: Friday, October 20, 2006 9:17 AM
To: dspam-users
Subject: [dspam-users] problem using the imap authentication module
Hi all,
Been lurking for some time now, learning DSPAM by setting it up on my
own server with some positive results.
But I'm still having issues with the webgui authentication. I'm using a
setup with virtual users and would like to re-use the authentication
I've got with postfix, courier IMAP.
The mod_auth_imap module looked like a promising solution but I'm unable
to get it working. I've tried contacting the author but he doesn't
respond to my emails.
I hope that you can help me out as I'm unable to find the cause of my
problem using Google.
The error I'm getting in the apache log is:
[Wed Oct 11 20:57:41 2006] [error] [client 127.0.0.1] (9)Bad file
descriptor: Could not open password file: (null)
I think I'm doing something wrong with the apache configuration as I
can't find this error message in the sourcecode.
This is the part from my httpd.conf that should matter:
<VirtualHost *:80>
DocumentRoot "/Library/Apache2/htdocs/dspam"
ServerName dspam.richard5.net
ServerAdmin webmaster@example.com
ErrorLog /Library/Apache2/logs/dspam.error_log
TransferLog /Library/Apache2/logs/dspam.access_log
<Directory "/Library/Apache2/htdocs/dspam">
Options +ExecCGI FollowSymLinks
AddHandler cgi-script cgi pl
Order deny,allow
Deny from all
DirectoryIndex dspam.cgi
Auth_IMAP_Enabled on
AuthType Basic
Auth_IMAP_Authoritative on
Auth_IMAP_Server 127.0.0.1
Auth_IMAP_Port 143
Auth_IMAP_Log on
AuthName "DSPAM Control Center"
Require valid-user
Satisfy Any
</Directory>
</VirtualHost>
I've got my setup completely documented here:
http://switch.richard5.net/isp-in-a-box-v2/
And I'm currently working on documenting how to setup DSPAM on OS X
using my mailserver setup
Hope you can help,
Richard
Received on Fri Oct 20 10:35:30 2006
This archive was generated by hypermail 2.1.8 : Wed Oct 25 2006 - 03:01:50 CEST