From owner-freebsd-questions@FreeBSD.ORG Wed May 12 09:25:47 2004 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 D4C2616A4CE for ; Wed, 12 May 2004 09:25:47 -0700 (PDT) Received: from smtpout.mac.com (smtpout.mac.com [17.250.248.89]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9585E43D55 for ; Wed, 12 May 2004 09:25:45 -0700 (PDT) (envelope-from cswiger@mac.com) Received: from mac.com (smtpin01-en2 [10.13.10.146]) by smtpout.mac.com (Xserve/MantshX 2.0) with ESMTP id i4CGPj8A021065; Wed, 12 May 2004 09:25:45 -0700 (PDT) Received: from [10.1.1.193] (nfw2.codefab.com [199.103.21.225] (may be forged)) (authenticated bits=0)i4CGPihS024995; Wed, 12 May 2004 09:25:44 -0700 (PDT) In-Reply-To: <40A226BC.4050409@cs.uiowa.edu> References: <40A226BC.4050409@cs.uiowa.edu> Mime-Version: 1.0 (Apple Message framework v613) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <0450F282-A431-11D8-BE16-003065ABFD92@mac.com> Content-Transfer-Encoding: 7bit From: Charles Swiger Date: Wed, 12 May 2004 12:25:44 -0400 To: jason-dusek@uiowa.edu X-Mailer: Apple Mail (2.613) cc: "Questions@BSD" Subject: Re: Setting Up IMAP 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, 12 May 2004 16:25:47 -0000 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