[Dovecot] default_mail_env/mail_location syntax changes

Timo Sirainen tss at iki.fi
Thu Dec 7 10:27:54 UTC 2006

On Wed, 2006-12-06 at 16:39 -0700, Mike Brown wrote:
> If I need a custom INBOX location but the default behavior of
> using the first of [/ or ~/mail or ~/Mail] having a .imap subdirectory,
> how do I go about specifying that?

This has never been possible directly, but you could do this yourself
with a script:

mail_executable = /somewhere/imap.sh

if [ -d ~/Mail ]; then
  export MAIL=mbox:~/Mail:INBOX=~/Maildir
  export MAIL=mbox:~/mail:INBOX=~/Maildir
exec /usr/local/libexec/dovecot/imap

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20061207/86e1c421/attachment.pgp 

More information about the dovecot mailing list