Simon Loewen wrote:
> Simon Loewen wrote:
> 
> Oddly it did not work properly because the Maildir and Password is not
> set (shown below) and the account cannot log in via webmail.  There are
> some authentication failures from authtest
> 
> # 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: (none)
> Cleartext Password: (none)
>            Options: (none)
> 
> Here the password I originally set was "q".
> # authtest si...@simontest.com q
> Authentication FAILED: Operation not permitted
> # authtest si...@simontest.com q 1
> Authentication FAILED: Operation not permitted
> # authenumerate
> si...@simontest.com   7200    7200
> /var/spool/imap/users/0000001/simontest.com/

Realised that I had to specify the service: pop3 or imad

I updated both the user with systempw and imappw with the -md5 option
with the same password.  I notice that the encrypted password is
different for each entry.  Why is this so?  Is the key that is used
different.  Also, why was the maildir not added when I originally did
this? - I have been unable to find out how to add this option - Perhaps,
userdb us...@example.com set \
options=Maildir=/var/spool/imap/users/0000001/simonloewen.com/Maildir



r...@courier:/home/vmail/bin# authtest -s imap 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$s.bIewPY$WaNQy.qTVhHkU19W54kPx.
Cleartext Password: (none)
           Options: (none)

r...@courier:/home/vmail/bin# 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)

------------------------------------------------------------------------------
_______________________________________________
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to