atom feed19 messages in net.sourceforge.lists.courier-imapRe: [Courier-imap] Different user for...
FromSent OnAttachments
Winanjaya - PBXSoftwaresDec 21, 2005 5:33 am 
Winanjaya - PBXSoftwaresDec 21, 2005 5:46 am 
Brian CandlerDec 22, 2005 1:22 am 
Winanjaya - PBXSoftwares.comDec 22, 2005 1:41 am 
Winanjaya - PBXSoftwares.comDec 22, 2005 2:07 am 
Brian CandlerDec 22, 2005 2:20 am 
Winanjaya - PBXSoftwaresDec 22, 2005 4:37 am 
Winanjaya - PBXSoftwaresDec 22, 2005 4:46 am 
Brian CandlerDec 22, 2005 5:08 am 
Winanjaya - PBXSoftwaresDec 22, 2005 6:29 am 
Winanjaya - PBXSoftwares.comDec 22, 2005 6:05 pm 
Winanjaya - PBXSoftwares.comDec 22, 2005 7:06 pm 
Alan Marco IsimanFeb 15, 2006 1:23 am 
Brian CandlerFeb 15, 2006 10:47 pm 
Alan Marco IsimanFeb 20, 2006 2:33 am 
Brian CandlerFeb 20, 2006 6:34 am 
Alan Marco IsimanFeb 22, 2006 1:29 am 
Brian CandlerFeb 22, 2006 5:28 am 
Alan Marco IsimanFeb 23, 2006 5:44 am 
Subject:Re: [Courier-imap] Different user for courier-pop and courier-imap
From:Brian Candler (B.Ca@pobox.com)
Date:Feb 22, 2006 5:28:44 am
List:net.sourceforge.lists.courier-imap

On Wed, Feb 22, 2006 at 10:29:30AM +0100, Alan Marco Isiman wrote:

But how can I compile ? There's no option to change the authdaemon path. Otherwise, I haven't been able to find any patch about this.

When building courier-authlib, you can control where to put the socket by setting --with-authdaemonvar. The socket is then relative to this directory:

authdaemonrc.h:#define AUTHDAEMONSOCK AUTHDAEMONVAR "/socket"

This information is not explicitly published via "courierauthconfig --configfiles". However, if you build courier-authlib twice, and install it into two separate directory trees (e.g. with --prefix), you should end up with two sets of libraries, including the client library libcourierauth.a. This will have the path to the socket hardwired.

So when you build courier-imap, you have to set LD_RUN_PATH and/or LD_LIBRARY_PATH to the location of the directory where you installed the libraries, and PATH to the location of the bin/ directory which contains courierauthconfig, then you can pick up the authentication library of your choice.