Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 May 2004 12:25:44 -0400
From:      Charles Swiger <cswiger@mac.com>
To:        jason-dusek@uiowa.edu
Cc:        "Questions@BSD" <freebsd-questions@freebsd.org>
Subject:   Re: Setting Up IMAP
Message-ID:  <0450F282-A431-11D8-BE16-003065ABFD92@mac.com>
In-Reply-To: <40A226BC.4050409@cs.uiowa.edu>
References:  <40A226BC.4050409@cs.uiowa.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On May 12, 2004, at 9:29 AM, Jason Dusek wrote:
>  Problem 1
> My mail server's certificate 'fails' the authenticity test because it 
> is self-assigned. Why is this bad (aren't I *supposed* to get a 
> certificate with
>  # make cert
> in the stunnel port?) and what do I do to get a better certificate?

You can add the certificate of the local CA you used to sign the SSL 
cert to your mail client's list of trusted CAs.

You can also pay a "real CA" like Verisign, enTrust, etc for a 
commercial SSL cert which will be accepted by default, as mail clients 
already know those CAs.

>  Problem 2
> Kmail allows me accept the bad certificate and logs in succesfully. It 
> then shows me my *entire* home directory, not just the mail folder. 
> Why does this happen?

There may be an option named "IMAP path prefix" which will let you 
change this, or you can recompile the UWash IMAP server after changing 
the default path where mail is kept.

You'll probably need to go to /usr/ports/mail/cclient, do a "make 
extract", and then cd to work/imap-2002d.  Read docs/CONFIG, 
specificly:

[ ...begin excerpt... ]
>      Example 2: suppose you want to change c-client's idea of the
> user's mailbox directory to be the "mail" subdirectory of the user's
> home directory instead of the user's home directory.  You will want to
> change variable mailsubdir, changing the line that reads:
>
> static char *mailsubdir = NIL;  /* mail subdirectory name */
>  to be:
> static char *mailsubdir = "mail";/* mail subdirectory name */

...and then do a "make deinstall ; make reinstall" from the port's 
directory.

-- 
-Chuck



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0450F282-A431-11D8-BE16-003065ABFD92>