From owner-freebsd-questions@FreeBSD.ORG Thu Oct 20 16:06:39 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 DE68416A41F for ; Thu, 20 Oct 2005 16:06:39 +0000 (GMT) (envelope-from smurphy@calarts.edu) Received: from muse.calarts.edu (muse.calarts.edu [198.182.157.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8A8DE43D62 for ; Thu, 20 Oct 2005 16:06:39 +0000 (GMT) (envelope-from smurphy@calarts.edu) Received: from [198.182.157.164] (dhcp7164.calarts.edu [198.182.157.164]) by muse.calarts.edu (8.11.7p1+Sun/8.11.7) with ESMTP id j9KG6Y426703; Thu, 20 Oct 2005 09:06:34 -0700 (PDT) Message-ID: <4357C0D1.7050409@calarts.edu> Date: Thu, 20 Oct 2005 09:07:45 -0700 From: Sean Murphy User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Dick Hoogendijk References: <435607DF.2060009@gmx.net> <200510190849.j9J8nFtd044794@banyan.cs.ait.ac.th> <20051019090354.GA15640@falcon.midgard.homeip.net> <43567220.9020109@gmx.net> <20051019163553.GA4857@lothlorien.nagual.st> In-Reply-To: <20051019163553.GA4857@lothlorien.nagual.st> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Imap-uw and openssl certificate X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Oct 2005 16:06:40 -0000 Dick Hoogendijk wrote: > On 19 Oct Frank Staals wrote: > >>>Don't be so certain about that. "fstaals.net" *is* a valid hostname, >>>and its IP-address can easily be found via DNS, and it can be >>>connected to. >>> >> >>The MX-configuration of my domain is pointing to fstaals.net , to add >>an subdomain for my small mailserver seemed a bit exagerated, so that >>isn't the problem. I can add a subdomain, but I don't see why that >>should help since the certificate clearly says 'localhost'. > > > I ran this imap server for a short time but never had problems making > and using a ssl cert. My server's called nagual.st. Are you sure the > server indentifies as localhost even if contacted from the *outside* ? > It does of course when you contact it from the local nic. > > As suggested using another imap server is also my idea. > I don't use dovecot, but the whole courier mail package. > It works like a charm. And is very fast. It does use maildirs though, > unlike imap-uw. > I have a successful integration with imap-uw and openssl uw is picky about the certificate use the following mkdir /etc/ssl/certs cd /etc/ssl/certs openssl req -new -x509 -nodes \ -out imapd.pem -keyout imapd.pem -days 3650 vi /etc/inetd.conf add the following line imaps stream tcp nowait root /usr/local/libexec/imapd imapd *note it cannot be imap it must be imaps go to uw source directory cd imapd-2004d make bsf cp imapd/imapd /usr/local/libexec/imapd hope this helps -- Sean Murphy Senior Network Technician California Institute of the Arts