[Dovecot] dovecot -n - provide sys info too? - WAS: Re: Dovecot read only for users

Timo Sirainen tss at iki.fi
Wed Oct 29 20:37:29 EET 2008


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. :)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20081029/58442fee/attachment.bin 


More information about the dovecot mailing list