From owner-freebsd-questions@FreeBSD.ORG Sun Sep 11 03:06:29 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9B7D916A41F for ; Sun, 11 Sep 2005 03:06:29 +0000 (GMT) (envelope-from pauls@utdallas.edu) Received: from smtp110.sbc.mail.mud.yahoo.com (smtp110.sbc.mail.mud.yahoo.com [68.142.198.209]) by mx1.FreeBSD.org (Postfix) with SMTP id 4196C43D46 for ; Sun, 11 Sep 2005 03:06:27 +0000 (GMT) (envelope-from pauls@utdallas.edu) Received: (qmail 90064 invoked from network); 11 Sep 2005 03:06:26 -0000 Received: from unknown (HELO ?192.168.2.101?) (pschmehl@sbcglobal.net@66.142.191.131 with plain) by smtp110.sbc.mail.mud.yahoo.com with SMTP; 11 Sep 2005 03:06:26 -0000 Date: Sat, 10 Sep 2005 22:05:55 -0500 From: Paul Schmehl To: freebsd-questions@freebsd.org Message-ID: <82F2E4EEE69917D8D6EC3F45@Paul-Schmehls-Computer.local> In-Reply-To: <43230CC5.4090106@mac.com> References: <32860FDCC8EE0B0DDDC40288@[10.111.39.99]> <43230CC5.4090106@mac.com> X-Mailer: Mulberry/4.0.0 (Mac OS X) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Re: Postfix->Cyrus-imap connection problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Paul Schmehl List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Sep 2005 03:06:29 -0000 --On September 10, 2005 12:41:41 PM -0400 Chuck Swiger wrote: > > [ ... ] >> If anyone has a clue where to go from here, I'm all ears. On a related >> note, is there a utility that would allow me to view the conversation >> between the lmtp sockets on postfix and imap? If I could see what's >> going on, maybe I could figure out why it's failing. > > Any chance you're getting locking problems with mail delivery, perhaps > when an IMAP reader looses it's connection and the daemon is sitting > there waiting for a timewhen when a LMTP delivery attempt is made? > I did some RFC reading about LMTP. Then I reconfigured cyrus so LMTP would have a TCP socket on 127.0.0.1. I was able to telnet to the port and carry on a complete SMTP conversation (LHLO, MAIL FROM:, RCPT TO:, DATA and QUIT), but after I typed "." on a single line (which ends the DATA transaction), I got an error about an invalid header. This is not dissimilar to the error I'm getting from "real" mail (conversation with /var/imap/socket/lmtp timed out while sending end of data), which leads me to conclude that cyrus-imap is screwed up (at least on my system), so I'm googling the conversion from cyrus-imap to courier-imap right now. (If anyone knows where I can get a tool that converts cyrus-imap mail and mailboxes to courier-imap Maildir style mailboxes and mail, please post the url.) > If you want to debug LMTP further, start with this section of "man lmtp": > > TROUBLE SHOOTING CONTROLS > debug_peer_level (2) > The increment in verbose logging level when a remote > client or > server matches a pattern in the debug_peer_list parameter. > > debug_peer_list (empty) > Optional list of remote client or server hostname or > network > address patterns that cause the verbose logging > level to > increase by the amount specified in $debug_peer_level. > > error_notice_recipient (postmaster) > The recipient of postmaster notifications about mail > delivery > problems that are caused by policy, resource, software or > proto- > col errors. > I already had all that, but thanks for taking the time to look it up and mention it anyway. Paul Schmehl (pauls@utdallas.edu) Adjunct Information Security Officer University of Texas at Dallas AVIEN Founding Member http://www.utdallas.edu/