On Fri, Feb 02, 2007 at 11:18:51AM +0200, [EMAIL PROTECTED] wrote:
> I have a small problem, my courier-imap work with exim and postgresql.  
> When the user enters (via courier-imap and courier-authlib) I would like to 
> execute in a database the some query (before or after work with a post).
> How to?

I don't understand exactly what you're trying to achieve, but maybe the
loginexec hook could be used.

>From INSTALL.html:

ACCOUNT INITIALIZATION HOOK

   If there is a file or a symbolic link in the maildir called
   "loginexec", and if it is executable, then the executable file will be
   invoked after a succesful login. If the program terminates with an
   exit code of 0, the "loginexec" file (or a symbolic link) will be
   removed.

Otherwise, you could consider using the 'authpipe' module to implement your
own authentication service.

B.

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Courier-imap mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap

Reply via email to