Test authentification
Now we should be able to authenticate through POP3, POP3-SSL, IMAP, IMAP-SSL
Test courier-authlib
I suppose you still have the dummy account created when we've tested qmail
Check first if the created account is still there (without testing the authentification)
You should have an answer like this:
passwd: $1$E6ZeM1cj$B6/2kgZgjtycVtHteTPOC1
clear passwd: brol2
comment/gecos: test
uid: 0
gid: 0
flags: 0
gecos: test
limits: No user limits set.
dir: /home/vpopmail/domains/0/test.com/test
quota: NOQUOTA
usage: NOQUOTA
account created: Thu Jul 15 16:02:29 2010
last auth: Never logged in
If the account do no exist, please create it by following instructions on the test qmail page
Test now the authentification process
You should have an answer like this:
Home Directory: /home/vpopmail/domains/test.com/test
Maildir: (none)
Quota: (none)
Encrypted Password: $1$Atj/HMvq$UBXjgO0sGl2Jy22b0Du0
Cleartext Password: brol2
Options: disablewebmail=0,disablepop3=0,disableimap=0
This is the sign authlib is working well!
HINT : Most of the authentification problems here are linked to /etc/courier/authmysqlrc configured in previous step
- 1� White space before or after login/password
- 2� The uid of vpopmail created at step "create needed users/groups" does not match the uid specified in the select clause at step "configure courier and courier-authlib".
Test POP3 service
Let's test your new server's POP3 service...
You should see something like this:
Connected to localhost.localdomain.
Escape character is '^]'.
+OK Hello there.
user [email protected]
+OK Password required.
pass bril
-ERR Login failed.
pass brol2
+OK logged in.
quit
+OK Bye-bye.
This is the sign of a successfull POP connection to the server!
Test POP3-SSL service
Let's test your new server's POP3-SSL service...
You should see something like this:
verify error:num=18:self signed certificate
verify return:1
depth=0 /C=US/ST=NY/L=New York/O=Courier Mail Server/OU=Automatically-generated POP3 SSL key/CN=localhost/[email protected]
verify return:1
+OK Hello there.
user [email protected]
+OK Password required.
pass brol2
+OK logged in.
quit
+OK Bye-bye.
Test IMAP service
Let's test your new server's IMAP service...
You should see something like this:
Connected to localhost.localdomain.
Escape character is '^]'.
* OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION STARTTLS] Courier-IMAP ready. Copyright 1998-2005 Double Precision, Inc. See COPYING for distribution information.
a login [email protected] brol2
a OK LOGIN Ok.
a logout
* BYE Courier-IMAP server shutting down
a OK LOGOUT completed
This is the sign of a successfull IMAP connection to the server!
HINT : The "a" that you see before the login commands is required.
Test IMAPS service
Let's test your new server's IMAP-SSL service...
You should see something like this:
verify error:num=18:self signed certificate
verify return:1
depth=0 /C=US/ST=NY/L=New York/O=Courier Mail Server/OU=Automatically-generated IMAP SSL key/CN=localhost/[email protected]
verify return:1
* OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE AUTH=PLAIN ACL ACL2=UNION] Courier-IMAP ready. Copyright 1998-2008 Double Precision, Inc. See COPYING for distribution information.
a login [email protected] brol2
a OK LOGIN Ok.
a logout
* BYE Courier-IMAP server shutting down
a OK LOGOUT completed
This is the sign of a successfull IMAPS connection to the server!
Delete the test acccount
Users comments