From owner-freebsd-questions@FreeBSD.ORG Mon Dec 11 13:36:01 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D54AF16A40F for ; Mon, 11 Dec 2006 13:36:01 +0000 (UTC) (envelope-from wmoran@collaborativefusion.com) Received: from mx00.pub.collaborativefusion.com (mx00.pub.collaborativefusion.com [206.210.89.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id D734143CA0 for ; Mon, 11 Dec 2006 13:34:44 +0000 (GMT) (envelope-from wmoran@collaborativefusion.com) Received: from vanquish.pgh.priv.collaborativefusion.com (vanquish.pgh.priv.collaborativefusion.com [192.168.2.61]) (SSL: TLSv1/SSLv3,256bits,AES256-SHA) by wingspan with esmtp; Mon, 11 Dec 2006 08:36:00 -0500 id 00056428.457D5EC0.00013B05 Date: Mon, 11 Dec 2006 08:36:00 -0500 From: Bill Moran To: "=?UTF-8?Q?\"=E5=BC=A0=E9=9F=A1=E6=AD=A6\"?=" Message-Id: <20061211083600.8f0dae1b.wmoran@collaborativefusion.com> In-Reply-To: <1165811163.5474.14.camel@joe.realss.com> References: <1165811163.5474.14.camel@joe.realss.com> Organization: Collaborative Fusion X-Mailer: Sylpheed version 2.2.9 (GTK+ 2.10.6; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: freebsd-questions@freebsd.org Subject: Re: network analyse tool? To debug IMAP related problems X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Dec 2006 13:36:01 -0000 In response to "张韡武" : > Hello. I would wish to have a tool that would do this kind of thing: > > 1. listen on imap port on localhost, connect to localhost with my > email client; > 2. forward the traffic from/to/between real imap server; > 3. meanwhile, print everything being transfer-ed, so that I can > have a good ovewview of server-client conversation; > > I don't know what such kind of tool is usually called and thus difficult > to do an effective google search. I tried a few tools in ports/net but > none of them seems to be working in this way... (admit that I didn't > look into pkg-descr of every package) This may or may not help you, depending on what part of the IMAP conversation you're trying to debug, but programs like KMail and Sylpheed have excellent protocol debugging features built right in. There's basically a log window where you can watch the entire conversation occur. This doesn't help if you're trying to debug IMAP client problems, though. -- Bill Moran Collaborative Fusion Inc.