Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Oct 2005 09:07:45 -0700
From:      Sean Murphy <smurphy@calarts.edu>
To:        Dick Hoogendijk <dick@nagual.st>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Imap-uw and openssl certificate
Message-ID:  <4357C0D1.7050409@calarts.edu>
In-Reply-To: <20051019163553.GA4857@lothlorien.nagual.st>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4357C0D1.7050409>