On Wed, 2009-07-08 at 22:11 +0200, Julien Danjou wrote:
Like mine. I don't think this is *bad* since it's, AFAIK, Dovecot only use in homedir to expand %h. Or do I miss another point?
Home directory may also be used for other things, although mainly only when Sieve is enabled.
I really suggest you[1] rather try to reproduce and fix the bug, or really disallow relative path in home directory since it's seems partly-broken, or maybe only for large file (your theory :).
I don't really know what to do about this. I don't think Dovecot should waste time always checking that directories exist when it's not necessary. Checking and preventing relative paths might be a possibility, but I don't really want to break existing setups.
The improved error message will hopefully be enough for now. :)