bernhard: doc/raw-howtos speaking-imap-for-debugging.txt,NONE,1.1

cvs at intevation.de cvs at intevation.de
Wed Feb 16 10:51:27 CET 2005


Author: bernhard

Update of /kolabrepository/doc/raw-howtos
In directory doto:/tmp/cvs-serv2759

Added Files:
	speaking-imap-for-debugging.txt 
Log Message:
Adding new raw howto.


--- NEW FILE: speaking-imap-for-debugging.txt ---
How to speak imap directly for Kolab debugging purposes.
--------------------------------------------------------
$Id: speaking-imap-for-debugging.txt,v 1.1 2005/02/16 09:51:25 bernhard Exp $

1. Secure connection
Method a:
	Using gnutls
	   a) directly to imaps port:
		 gnutls-cli -p 993 
	   b) go to imap port and starttls manually:
		 gnutls-cli -p 143 KOLAB.SERVER --starttls
	      then type
	         A001 starttls
	      and on next line send an EOF (typically typing Control-D)
	      to start into the tls mode.

Method b:
	Using openssl
	   openssl s_client -connect KOLAB.SERVER:imaps

2. Authenticate yourself

Method a: the login command
	type something like
	A002 login PEA PASSWORD

Method b: SASL PLAIN AUTH:

	Encode the credentials with (PEA= primary email address).
	   echo -en 'PEA\0PEA\0PASSWORD'|/usr/lib/python2.1/base64.py -e
		UEVBAFBFQQBQQVNTV09SRA==

	Use it like this
	A002 authenticate plain  UEVBAFBFQQBQQVNTV09SRA==

3. Debugging commands

	Do not forget to always prefix them with Annn where nnn is a number
	that you need to increase each time.

	A004 namespace

	Listing all mailboxes:
	A005 list "" *
	
4. Close session
	A100 logout





More information about the commits mailing list