On Thu, Oct 16, 2008 at 06:03:41PM +0300, Timo Sirainen wrote: > On Thu, 2008-10-16 at 15:51 +0100, Tim Bishop wrote: > > The ~/Mail folder contains just two folders. The config given to imapd > > is as follows: > > > > MAIL=mbox:/home/cut/jru2/Mail:INBOX=/home/cut/jru2/.mail:INDEX=/var/state/dovecot-indexes/jru2 > > NAMESPACE_1=mbox:/home/cut/jru2/Mail:INBOX=/home/cut/jru2/.mail:INDEX=/var/state/dovecot-indexes/jru2 > > NAMESPACE_1_INBOX=1 > .. > > Why do you set the environment manually? "dovecot --exec-mail imap" > isn't enough?
I'm using the post-login scripting approach to detect location of mbox directories and whether the user has maildir instead. > > NAMESPACE_2_LIST=0 > > NAMESPACE_2_SUBSCRIPTIONS=0 > > These don't do what you think they do. Boolean settings are true as long > as the environment exists, Dovecot doesn't even look at its value. Ah! Thanks for the tip :-) Tim. -- Tim Bishop http://www.bishnet.net/tim/ PGP Key: 0x5AE7D984