Here is a summary of how I got it to work in case someone else gets
confused like I did :D

####################################################################

* Cannot log into webmail/IMAP after setting up virtual user account
with userdb --  Maildir is not set *

####################################################################
I tried this:

#  userdb simontest.com/si...@simontest.com set
Maildir=/var/spool/imap/users/0000001/simontest.com/simon/Maildir
# makeuserdb

But did not get the desired results.

# authtest si...@simontest.com
Authentication succeeded.

     Authenticated: si...@simontest.com  (uid 7200, gid 7200)
    Home Directory: /var/spool/imap/users/0000001/simontest.com/
           Maildir: (none)
             Quota: (none)
Encrypted Password: $1$LViOuQeo$GwRVhzKFbPNo7VRnY30KY0
Cleartext Password: (none)
           Options: (none)

Then I changed Maildir to mail and it worked:

# userdb simontest.com/si...@simontest.com set \
mail=/var/spool/imap/users/0000001/simontest.com/simon/Maildir
# makeuserdb
# authtest si...@simontest.com
Authentication succeeded.

     Authenticated: si...@simontest.com  (uid 7200, gid 7200)
    Home Directory: /var/spool/imap/users/0000001/simontest.com/
           Maildir:
/var/spool/imap/users/0000001/simontest.com/simon/Maildir
             Quota: (none)
Encrypted Password: $1$LViOuQeo$GwRVhzKFbPNo7VRnY30KY0
Cleartext Password: (none)
           Options: (none)

Now it works.

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have 
the opportunity to enter the BlackBerry Developer Challenge. See full prize 
details at: http://p.sf.net/sfu/blackberry
_______________________________________________
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to