10 messages in net.sourceforge.lists.courier-users[courier-users] Re: Courier IMAP / Au...
FromSent OnAttachments
Kathleen FarberJul 6, 2000 5:24 pm 
Sam VarshavchikJul 6, 2000 5:39 pm 
Kathleen FarberJul 6, 2000 5:40 pm 
Sam VarshavchikJul 6, 2000 6:15 pm 
Gary MillerJul 7, 2000 7:42 am 
Ken JonesJul 7, 2000 8:02 am 
Kathleen FarberJul 7, 2000 11:23 am 
Jason BakerJul 7, 2000 12:06 pm 
Kathleen FarberJul 7, 2000 1:54 pm 
Kathleen FarberJul 7, 2000 5:50 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[courier-users] Re: Courier IMAP / Autoresponders / SQWebMailActions...
From:Ken Jones (kb@inter7.com)
Date:Jul 7, 2000 8:02:20 am
List:net.sourceforge.lists.courier-users

Kathleen Farber wrote:

Anything I should be aware of for installing Courier IMAP with vpop and vchkpw

We would like to install sqwebmail but worried about screwing things up since it took a month to get it running the right way with no error messages ::whew::

Red Hat Linux 6.2 Current Qmail, QmailAdmin, EzMLM, vpop, vchkpw

Also, if anyone knows why when using autoresponders why the mail bounces but yet the autoresponder goes out would be much appreciated!

Here is my configure line for sqwebmail to work with vpopmail: ./configure --enable-webpass=vpopmail --without-authuserdb --without-authpam \ --without-authpwd --without-authshadow --without-authldap --with-cachedir \ --with-authvchkpw --enable-imageurl=/images/sqwebmail/ \ --enable-imagedir=<dir>

Here is my configure line for courier imap ./configure --without-authuserdb --without-authpam \ --without-authpwd --without-authshadow --without-authldap \ --with-authvchkpw --enable-workarounds-for-imap-client-bugs

One gotcha with the courier-imap. If you are using mysql, sybase or oracle, you need to edit the courier-imap code. In the authlib directory, find the vauth_getpw function call and add a vclose(); right after it.

The reason why is, a courier-imap client causes a courier-imap process to run on the server. Unlike pop, the courier-imap server process stays active for the entire session. So if you have 200 people using imap, you'll have 200 courier-imap server processes running on your machine.

Now the reason for the vclose() is that vpopmail API doesn't explicitly close the connection to the database. Once the vauth_getpw() function is run, courier-imap has all the information it ever needs from the database. At that point we need to call vclose() to close the database connection. If not, those 200 imap clients will cause 200 database connections to stay open.

The vclose() call isn't needed if you are using the file based authentication module in vpopmail. Since the files are closed during each vpopmail api function call.

Ken