- - writes:
So the question is:Does someone know, if there's a possibility to create two authpgsqlrc files - one for courier-imap and one for maildrop? Or any other solution, that the authdaemon could handle two different sql queries? Or is it for the moment simply not possible,
No, it's not possible. Well, actually there may be a way to do this, using the service parameter, but it's a hack. When maildrop issues a query, the $(service) variable is "login", for IMAP it will be "imap", or what AUTHSERVICE gets set to, in the imapd configuration file.
You could use PGSQL_SELECT_CLAUSE to concoct come bizarre SQL that would drive your query, based on the value of $(service).
that Courier-Authlib can handle currently such a request. - Then it would be possibly a useful enhancement in one of the next releases....
I do not agree. There's simply no rhyme or reason for this. It unnecessarily complicates things, for no useful benefit.
pgpM6tCYWT5Xq.pgp
Description: PGP signature
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________ courier-users mailing list [email protected] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
