7 Dec
2006
7 Dec
'06
12:27 p.m.
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
#!/bin/sh if [ -d ~/Mail ]; then export MAIL=mbox:~/Mail:INBOX=~/Maildir else export MAIL=mbox:~/mail:INBOX=~/Maildir fi exec /usr/local/libexec/dovecot/imap