For When You Can't Have The Real Thing
[ start | index | login ]
start > cyrus > imap > protocol debug logging

protocol debug logging

Created by dave. Last edited by dave, 14 years and 3 days ago. Viewed 6,564 times. #1
[edit] [rdf]

Cyrus Protocol Logging

As a debugging aid, Cyrus IMAP can also log protocol conversations on a per-user basis. Note that you cannot debug the authentication process using this, because the protocol logging is only associated with a username and until a user has been successfully authenticated, the username is unknown.

To enable protocol logging, simply create a directory in /var/lib/imap/log with the user's name you wish to log. Ensure, of course, that this directory is writable by the user Cyrus runs as. Cyrus will create files in this directory with the name of the process ID under which it runs (which changes per connection due to the forking server model it uses).

# cd /var/lib/imap/log/
# mkdir wcooley
# chown cyrus wcooley/
no comments | post comment
This is a collection of techical information, much of it learned the hard way. Consider it a lab book or a /info directory. I doubt much of it will be of use to anyone else.

Useful: | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt