[Dovecot] auto-detection of user mailbox type - followup

Timo Sirainen tss at iki.fi
Thu Feb 15 12:14:36 UTC 2007


On Fri, 2007-02-09 at 12:57 -0500, John Harper wrote:
> However, it appears that the root dir '~/mail' string is used at some
> point before the tilde-expansion takes place. I see a literal ~
> directory in the users home, with an empty mail directory
> inside.

Hmm. I thought I had fixed all such cases.

> After that it picks up the proper location and works
> correctly. I tried a %h and got a literal %h directory.

Yea, %h is expanded by master process.

> home=`/bin/pwd`
> if [ -f .procmailrc -a -d Maildir ]; then
>     MAIL="maildir:$home/Maildir"; export MAIL

Wouldn't $HOME work directly?
-------------- 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/20070215/c5b2be41/attachment.pgp 


More information about the dovecot mailing list