From owner-freebsd-questions@FreeBSD.ORG Sun Mar 13 18:10:46 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 EF43816A4CE for ; Sun, 13 Mar 2005 18:10:46 +0000 (GMT) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6966343D54 for ; Sun, 13 Mar 2005 18:10:46 +0000 (GMT) (envelope-from singh.madhusudan@gmail.com) Received: by rproxy.gmail.com with SMTP id j1so1403590rnf for ; Sun, 13 Mar 2005 10:10:43 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:from:to:subject:date:user-agent:mime-version:content-type:content-transfer-encoding:content-disposition:message-id; b=sW5RBXjeKxmzuS0ZKzdXfuckUcOAjlurN8/z7NenS+4XW20iGpF23ncTGqTJcz3lWWaKRokULOs4UiJw8yK2XVbf8uXCFT8btthZcePKjYeJfJ+yEm9ANed1pIe+x6/VwkgJz1siaxxr4Qup9WfjzjpD6l2zL5tUti2hd1jMrkA= Received: by 10.38.78.51 with SMTP id a51mr2782601rnb; Sun, 13 Mar 2005 09:10:42 -0800 (PST) Received: from ?192.168.1.2? ([24.60.144.26]) by mx.gmail.com with ESMTP id k23sm1095063rnb.2005.03.13.09.10.42; Sun, 13 Mar 2005 09:10:42 -0800 (PST) From: Madhusudan Singh To: freebsd-questions@freebsd.org Date: Sun, 13 Mar 2005 12:11:25 -0500 User-Agent: KMail/1.7.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200503131211.25734.singh.madhusudan@gmail.com> Subject: 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: Sun, 13 Mar 2005 18:10:47 -0000 Hi I am trying to implement a qmail based mailserver with binc imap on FreeBSD 5.3-RELEASE using the instructions found on : 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) : pass in on $ext_if proto tcp from any to $ext_if \ port 993 flags S/SA keep state \ (max 15, source-track rule, max-src-nodes 100, max-src-states 3) pass in on $ext_if proto tcp from any to $ext_if \ port 465 flags S/SA keep state \ (max 15, source-track rule, max-src-nodes 100, max-src-states 3) 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 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 sockstat reveals that ports 143, 110 and 25 are being listened to (but are closed in the firewall). I wish to make qmail + binc to listen to 993 and 465 instead. Any hints on fixing the setup would be welcome. Thanks.