From owner-freebsd-questions@FreeBSD.ORG Sun Jan 2 13:11:17 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 11E2716A4CE for ; Sun, 2 Jan 2005 13:11:17 +0000 (GMT) Received: from mx.networkiv.net (mx.networkiv.net [65.205.143.171]) by mx1.FreeBSD.org (Postfix) with ESMTP id C02EA43D45 for ; Sun, 2 Jan 2005 13:11:16 +0000 (GMT) (envelope-from slm@networkiv.net) Received: by mx.networkiv.net (Postfix, from userid 5225) id 74144A105C; Sun, 2 Jan 2005 08:11:06 -0500 (EST) Date: Sun, 2 Jan 2005 08:11:06 -0500 From: "Stephen L. Martin" To: Leonard Chung Message-ID: <20050102131106.GA55268@mx.networkiv.net> References: <21DD5D42C3DAC64C91CF8DB890CA57EB014852@emachine.my.domain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <21DD5D42C3DAC64C91CF8DB890CA57EB014852@emachine.my.domain> cc: questions@freebsd.org Subject: Re: Setting IMAPd MAILDIR? 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, 02 Jan 2005 13:11:17 -0000 On Sun, Jan 02, 2005 at 03:47:37AM -0800, Leonard Chung wrote: > Hi there, > > I recently upgraded courier-imap using portupgrade, and I've noticed > that it no longer uses the proper maildir directory (./Maildir), but > rather just the user home directory. > > This seems to have to do with the change of courier-imap to rc.subr > style scripts. It uses a variable called MAILDIRPATH which isn't defined > anywhere that I can find: > > If I delete ${MAILDIRPATH} and replace it with "./Maildir", then > everything works fine. However, I imagine there is a better (i.e. > recommended) place for me to put this information. This is a machine > running 4.10REL. > > Can somebody tell me where MAILDIRPATH is supposed to be defined within > this new rc.subr scheme and also if anybody has any idea why the rc > script uses a variable which is undefined? $MAILDIRPATH gets defined with the MAILDIRPATH configuration option in either /usr/local/libexec/imapd or /usr/local/libexec/pop3d; dependent on which protocol you choose to run. Example: MAILDIRPATH=Maildir -Stephen