[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [afnog] FW: CourierImap authentication using qmail poppasswd
On Sun, Aug 03, 2003 at 01:16:57PM +0300, Samuel Gitta wrote:
> I am using checklocalpwd which is similar to checkpassword. It actually
> looks into poppasswd.cdb a database created out of the poppasswd file
> using cdbmake.
OK. It should be pretty easy to convert that to userdb.
There are several programs available which lets you use Courier's
authentication modules as a qmail checkpassword replacement: see links from
www.qmail.org
I also found this, which is a hack to get courier-imap to use qmail's
checkpassword:
http://www.suspectclass.com/~sgifford/qmail/courier-imap-checkpassword.txt
But for simplicity I'd probably just convert your data into userdb format.
Regards,
Brian.
>
> -----Original Message-----
> From: Brian Candler [mailto:B.Candler at pobox.com]
> Sent: Sunday, August 03, 2003 11:41 AM
> To: Samuel Gitta
> Cc: afnog at afnog.org
> Subject: Re: [afnog] FW: CourierImap authentication using qmail
> poppasswd
>
>
> On Sat, Aug 02, 2003 at 04:24:46PM +0300, Samuel Gitta wrote:
> > Does anyone have a tool that can enable courier-imap authenticate
> > using the qmail's poppasswd file? Thanks in advance.
>
> Well, I don't know what tool you're using to look in 'poppasswd' file
> anyway
> - qmail doesn't come with a password checker, you have to install a
> separate module.
>
> However Courier does contain a module called 'userdb' which is a file of
> key=value pairs. You could write a script to extract usernames /
> passwords / home directories from poppasswd, and repopulate userdb with
> them.
>
> Try 'man 8 makeuserdb' and 'man 8 userdb'
>
> If they don't work, go into the source distribution directory and do
> cd userdb
> nroff -mandoc makeuserdb.8.in | less
>
> Regards,
>
> Brian.
>
>
>
__________________________________________________
This is the Africa Network Operators' Group(AfNOG)
technical discussion list.
The AfNOG website is: <http://www.afnog.org>