mod_auth_imap2 -- Version 2.0.1
By Ben Brillat <brillat-apachemodule@mainsheet.org>
Modified by Jian Zhen <jlz@zhen.org>

This is a modified version of mod_auth_pop by Milos Prodanovic of AWL:
                                              <awl@verat.net>
 
This plugin is meant to allow Apache to authenticate to an IMAP server.

This plugin will ONLY! work with Apache 2.x and not 1.x.

You can obtain the original version (1.1) from 
- http://ben.brillat.net/projects/mod_auth_imap/

You can obtain the current version (2.0.1) from
- http://www.zhen.org/cowiki/Software/ModAuthImap
- http://ben.brillat.net/projects/mod_auth_imap/

Features
========
* Allows your web server to authenticate to the mail server, allowing
  you to maintain one username/password database.
* Works great in combination with stunnel <http://www.stunnel.org>, for
  authenticating using IMAP over SSL.

Description
===========
This plugin 

Future Work
===========
* Clean up the code because it is a nightmare to read & work with... :)
* You tell me...

Limitations (Known bugs)
========================
* This is BETA code.  I don't know if it will break your computer or not.
  I do not provide any warranty, and do not assume any responsibility if
  anything goes wrong as a result of this code.

Installation (shared module)
============================
- CD to the mod_auth_imap directory.
- Use Apache's APXS program (you may have to hunt for it):
  apxs -i -a -c mod_auth_imap.c
- Note: if you have previously installed mod_auth_imap, don't use the "-a"
        flag to APXS, as you already have the necessary changes in httpd.conf
- Make the appropriate changes to your .htaccess or httpd.conf, see the
    files in the included "examples" directory for some examples.
- Restart Apache.
       

Changes
=======
See the "CHANGELOG" file.
New versions are available at:
http://www.brillat.net/~ben/files/projects/mod_auth_imap

Copyright
=========
Copyright (C) 2002 Benjamin Brillat

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program ("GPL.txt"); if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.

Contact
=======
Let me know what you think:
Ben Brillat <brillat-apachemodule@mainsheet.org>
74 Punch Bowl Trail
W. Kingston, RI 02892 USA

Jian Zhen <jlz@zhen.org>
