From owner-freebsd-questions@FreeBSD.ORG Thu Sep 11 20:48:24 2003 Return-Path: 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 6DDCD16A4BF for ; Thu, 11 Sep 2003 20:48:24 -0700 (PDT) Received: from lakemtao08.cox.net (lakemtao08.cox.net [68.1.17.113]) by mx1.FreeBSD.org (Postfix) with ESMTP id 44C7443F85 for ; Thu, 11 Sep 2003 20:48:23 -0700 (PDT) (envelope-from micheal@cancercare.net) Received: from dredster ([68.12.67.176]) by lakemtao08.cox.net (InterMail vM.5.01.06.05 201-253-122-130-105-20030824) with SMTP id <20030912034821.JLR16616.lakemtao08.cox.net@dredster>; Thu, 11 Sep 2003 23:48:21 -0400 Message-ID: <028101c378e0$dd2bd2b0$0201a8c0@dredster> From: "Micheal Patterson" To: "Brian Bobowski" , References: <20030911233106.1fd623c7.bbobowski@cogeco.ca> Date: Thu, 11 Sep 2003 22:47:42 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Subject: Re: "Connection refused" when setting up cyrus-imapd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Sep 2003 03:48:24 -0000 ----- Original Message ----- From: "Brian Bobowski" To: Sent: Thursday, September 11, 2003 10:31 PM Subject: "Connection refused" when setting up cyrus-imapd > I've been trying to set up cyrus-imapd-2.1.14 for a while now, and though I'm sure I'd got farther than this before, now I keep getting stuck. > > I'm using FreeBSD 5.1. The port downloaded, compiled, and installed just fine, I customised imapd.conf and copied one of the sample files to cyrus.conf, made the appropriate directories, ran mkimap, put the appropriate entries in /etc/services, and followed the including directions for generating an OpenSSL certificate and key. For good measure, I sent a HUP signal to the inetd process, and then I ran /usr/local/cyrus/bin/master & > > However, when I run imtest and point it to my localhost, it immediately gives me the following response: > > connect: Connection refused > failure: Network initialization > > Now, I know I'm a relative newbie to this business, and this particular situation has me completely mystified. At one point, I was able to connect but was having trouble with authentication. Now it seems like the imap(s) port just isn't there or something like that. I haven't yet installed any firewall software that I'm aware of - I was afraid to do so until I got the rest up and running. > > Is there something I'm likely to have missed here? > > On a related note, I noticed some discussion in the cyrus-imapd docs and config files about mbox versus Mailbox format. The latter seemed to be preferable, being able to rearrange with less worry; is there any way I can make it be the storage format? > > -Brian Bobowski Not being familiar with imap that well as my organizaiton prefers pop3, I'll assume that it hooks into wrappers. If so, you'll need an entry in the hosts.allow file to allow connections to the daemon. Check out your /var/log/messages to see if there's any rejected connections. -- Micheal Patterson Network Administration Cancer Care Network 405-917-0600