29 Oct
2008
29 Oct
'08
7:37 p.m.
On Wed, 2008-10-29 at 19:39 +0200, Timo Sirainen wrote:
The filesystem is looked up by getting the mount information for the directory in mail_location. That's not correct in all setups, but probably correct for most.
I was wondering why this felt like it was too easy. dovecot -n can't easily look up user's home directories. So the only time when it now prints the filesystem is if mail_location contains something like:
mail_location = maildir:/home/%u/Maildir
It cuts after the first % character and if there's more than 1 character left, that directory is used in the mount lookup. But perhaps it'll show up once in a while in bug reports. :)