From owner-freebsd-questions@FreeBSD.ORG Fri Sep 12 18:35:26 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 3B68116A4D6 for ; Fri, 12 Sep 2003 18:35:26 -0700 (PDT) Received: from fep3.cogeco.net (smtp.cogeco.net [216.221.81.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9801B43FF2 for ; Fri, 12 Sep 2003 18:35:25 -0700 (PDT) (envelope-from bbobowski@cogeco.ca) Received: from seeker (d150-57-33.home.cgocable.net [24.150.57.33]) by fep3.cogeco.net (Postfix) with SMTP id D24BE3C47; Fri, 12 Sep 2003 21:35:23 -0400 (EDT) Date: Fri, 12 Sep 2003 21:35:20 -0400 From: Brian Bobowski To: "Micheal Patterson" Message-Id: <20030912213520.219637fa.bbobowski@cogeco.ca> In-Reply-To: <028101c378e0$dd2bd2b0$0201a8c0@dredster> References: <20030911233106.1fd623c7.bbobowski@cogeco.ca> <028101c378e0$dd2bd2b0$0201a8c0@dredster> X-Mailer: Sylpheed version 0.8.10claws (GTK+ 1.2.10; i386-portbld-freebsd5.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org 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: Sat, 13 Sep 2003 01:35:26 -0000 On Thu, 11 Sep 2003 22:47:42 -0500 "Micheal Patterson" wrote: > > However, when I run imtest and point it to my localhost, it immediately > gives me the following response: > > > > connect: Connection refused > > failure: Network initialization > > > 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. > Nothing relevant in /var/log/messages when I try using imtest. If I try connecting to the server with my mail client, I get no reply(positive nor negative; Sylpheed is uninformative that way). However, it seems like sendmail's trying to to its work: Sep 12 21:02:59 myhostname sm-mta[22959]: h8CBWwMc020830: SYSERR(root): Could not connect to socket /var/imap/socket/lmtp: Connection refused by localhost There was a defaulted setting in /etc/hosts.allow about not allowing other daemons to accept connections - I think - but I removed that. Still not much happening, and imtest still doesn't work, either. sm-mta(different PID each time) is still getting that error. imapd.log is empty. Is it not enough in this case to restart inetd? Is there a way for me to reload those settings without restarting the whole system? -BB