Hi there,
I'd like to use courier as POP3 and IMAP server, but for one reason I
can't. It seems that none of the authentication modules fits my needs.
To find out if the user is permitted to access and to find out where the
mailbox for this user is located, I need to do both, a mysql-query and
a search agains an alias-file like flatfile.
So I thought, authcustom could be the way to get this. Unfortunately I
can't implement a custom module for myself.
Are there any implementations of other authentication modules available?
I searched the web about it, but found nothing.
And, if there are none, would it be possible to achieve my goals with other authentication modules?
Bye Marco
I'd think that this kind of custom module would be (relatively) straight-forward. You should be able to merely copy code out of the mysql module, only use part of the data it currently looks at from the database, and then look up the rest in the flat file -- overriding the relevant pieces of the data structure mysql is returning.
Could yet tell us exactly which pieces of information you are seeking from one place, and which from the other source?
-jab
P.S. Not to say using both data sources isn't necessarily valid in your situation or anything like that (because who am I after all), but it seems a little odd to me that you couldn't put the pieces of flat file info (whichever pieces they are in your case) into the database as well. (Or vice versa, to export database info periodically to the flat file.) So, umm... if you don't mind me being nosey... What's the situation that prevents that from being an option for you?
------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
