Skip to Main Content
Managing IMAP
book

Managing IMAP

by Dianna Mullet, Kevin Mullet
September 2000
Beginner content levelBeginner
408 pages
10h 29m
English
O'Reilly Media, Inc.
Content preview from Managing IMAP

Testing Your Server

You’ve configured your server, in time to just tell everyone it’s in production and leave on your vacation for the Bahamas. On second thought, maybe it would be a good idea to test it first.

Check That the Server Is Running

Most simple test first. Let’s check to see if the IMAP listen is being serviced on the right port and if the Cyrus server is on the other end of that listen. As a normal (i.e., non-administrative) user, telnet to the IMAP port on your machine:

%telnet localhost imap
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
* OK localhost Cyrus IMAP4 v1.5.19 server ready
. logout
* BYE LOGOUT received
. OK Completed
Connection closed by foreign host.

The command . logout closes the connection. If you see a message that begins with . OK, then the server is running. Any other message, or no message at all, indicates a problem.

Testing Cleartext Password Authentication

If you use cleartext password authentication, take advantage of the imtest program to test authentication.[36] Run the imtest program as user cyrus or another existing IMAP account on your system (at this point you probably have not created user accounts yet and have only the cyrus account). The following example is run from the cyrus account:

%/usr/local/bin/imtest –p localhost imap
* OK localhost Cyrus IMAP4 v1.5.19 server ready
Password:
. LOGIN cyrus {L+}
X
. OK User logged in
. logout

The reply message . OK User logged in indicates that authentication is working. The ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Reinventing the Organization for GenAI and LLMs

Reinventing the Organization for GenAI and LLMs

Ethan Mollick
Why Sleep Is a Strategic Resource

Why Sleep Is a Strategic Resource

Gretchen Spreitzer, Christopher M. Barnes
The Kind Leader

The Kind Leader

Karyn Ross

Publisher Resources

ISBN: 059600012XSupplemental ContentCatalog PageErrata