3 messages in net.sourceforge.lists.courier-users[courier-users] Re: userdb passwords ...
FromSent OnAttachments
Gary MacKayApr 7, 2003 6:01 am 
Sam VarshavchikApr 7, 2003 6:39 am 
AndrewApr 7, 2003 8:26 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[courier-users] Re: userdb passwords not workingActions...
From:Andrew (and@arda.homeunix.net)
Date:Apr 7, 2003 8:26:05 pm
List:net.sourceforge.lists.courier-users

Gary MacKay wrote:

I tried to set a new users' password to the same thing as a working user but the string of characters that end up in userdb are different. I added a bunch of test users, all with the same password and no two are alike. How can that be?

I'm using Courier IMAP with no POP service offered. Here is how I created my mail user accounts in the userdb file. I'm using virtual mail accounts controlled by the system account 'vmail'.

userdb "<username>" set home=/home/vmail \ mail=/home/vmail/arda-homeunix-net/<username>/Maildir uid=398 gid=398

userdbpw -md5 | userdb "<username>" set imappw

makeuserdb

I executed these commands as root in the directory where the userdb file resides.

If you want the same password to work for both POP and IMAP, I think you would replace 'set imappw' with 'set systempw' in the second command.

I'm running Courier IMAP 1.7.1 on a FreeBSD 4.7 box.