From owner-freebsd-questions@FreeBSD.ORG Wed Mar 16 15:43:20 2005 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 EBC4B16A4CE for ; Wed, 16 Mar 2005 15:43:20 +0000 (GMT) Received: from lorna.circlesquared.com (host217-45-219-85.in-addr.btopenworld.com [217.45.219.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id EF4CE43D1D for ; Wed, 16 Mar 2005 15:43:19 +0000 (GMT) (envelope-from peter@circlesquared.com) Received: from localhost.circlesquared.com (localhost.circlesquared.com [127.0.0.1])j2GFh64f015960; Wed, 16 Mar 2005 15:43:06 GMT (envelope-from peter@circlesquared.com) From: Peter Risdon To: Madhusudan Singh In-Reply-To: <200503131211.25734.singh.madhusudan@gmail.com> References: <200503131211.25734.singh.madhusudan@gmail.com> Content-Type: text/plain Date: Wed, 16 Mar 2005 15:43:06 +0000 Message-Id: <1110987786.882.161.camel@lorna.circlesquared.com> Mime-Version: 1.0 X-Mailer: Evolution 2.0.3 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit cc: "freebsd-questions@freebsd.org" Subject: Re: Need help setting up qmail / binc imap on FreeBSD 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: Wed, 16 Mar 2005 15:43:21 -0000 On Sun, 2005-03-13 at 12:11 -0500, Madhusudan Singh wrote: > Hi > > I am trying to implement a qmail based mailserver with binc imap on FreeBSD > 5.3-RELEASE using the instructions found on : I don't use binc-imap, so was reluctant to answer. But nobody else has, so: > > > http://www.bsdguides.org/guides/freebsd/mailserver/qmail+vpopmail+qmailadmin.php > > I am using packet filter (pf) to setup the firewall. I have added the > following rules to permit incoming traffic on ports 993 (imaps) and 465 > (smtps) : I assume your firewall allows all connections from localhost. If so... [...] > However, when I try to connect to the server using openssl : > > /usr/local/ssl/bin/openssl s_client -connect :993 -crlf > connect: Connection refused > connect:errno=29 Maybe on the server itself try localhost for to eliminate the firewall angle. > > I have generated a .pem file for SSL over binc imap and made the suggested > additions to /usr/local/etc/bincimap/bincimap.conf. > > Upon consulting /var/log/qmail/current, I see a slew of messages like : > > @400000004233d471384eecb4 delivery 2: deferral: > Unable_to_chdir_to_maildir._(#4.2.1)/ > @400000004233d4713850679c status: local 0/10 remote 0/20 So you have a permissions problem for qmail. Do you also have vpopmail running? If so, you need very particular permissions for the vpopmail/domains directories. drwx------ 5 vpopmail vchkpw 512 Dec 14 2003 domains Peter.