Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Jan 2005 08:11:06 -0500
From:      "Stephen L. Martin" <freequest@networkiv.com>
To:        Leonard Chung <leonard@chung.yikes.com>
Cc:        questions@freebsd.org
Subject:   Re: Setting IMAPd MAILDIR?
Message-ID:  <20050102131106.GA55268@mx.networkiv.net>
In-Reply-To: <21DD5D42C3DAC64C91CF8DB890CA57EB014852@emachine.my.domain>
References:  <21DD5D42C3DAC64C91CF8DB890CA57EB014852@emachine.my.domain>

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



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