[Dovecot] Turn of mount point adding?
I'm running dovecot 2.2.5 and would like to completely turn off all automatic adding of mount points. So var/lib/dovecot/mounts would be empty essentially.
Is this possible? Somehow dovecot always adds a mount point that does not exist and was removed a long time ago. I've dove:
doveadm mount add '/my custom path/*' ignore but it still will add mount points in the "mounts" file and flag them as online. for example:
ignore /apps/proftp/servers/ftp.domain.ca/* ignore /mnt/* online / online /apps/proftp/servers/ftp.domain.ca/www.site1.com online /apps/proftp/servers/ftp.domain.ca/www.site2.com online /apps/proftp/servers/ftp.domain.ca/www.site3.com
what does it list site1, 2 and 3 if its suppose to ignore the root path with the first line? I would to completely disable all mountpoints.
Even "doveadm mount add '/*' ignore" should render a mounts file empty on reboot correct? It doesn't and keeps rebuilding it.
Am 14.12.2013 11:37, schrieb Scott Galambos:
I'm running dovecot 2.2.5 and would like to completely turn off all automatic adding of mount points. So var/lib/dovecot/mounts would be empty essentially.
i wonder if Timo sooner or later accepts that this is a *major bug* no userland-software on this planet needs to track mount-points at least not as default, at least not this way
the last time i borught this up the excuse was "dovecot can not know if the missing mount point contains mail-data"
uhm - it knows by config and not by presence of a OS mount-point
There needs to be a way at compile time or in the config to turn the whole thing off. The best I could come up with is:
doveadm mount add '/custompath/*' ignore doveadm mount add '/custompath*' ignore
I had to do both to get it to finally stop adding them.
On 12/14/2013 5:52 AM, Reindl Harald wrote:
Am 14.12.2013 11:37, schrieb Scott Galambos: i wonder if Timo sooner or later accepts that this is a *major bug* no userland-software on this planet needs to track mount-points at least not as default, at least not this way
the last time i borught this up the excuse was "dovecot can not know if the missing mount point contains mail-data"
uhm - it knows by config and not by presence of a OS mount-point
On 12/14/13, Scott Galambos scottg@particlesoftware.com wrote:
There needs to be a way at compile time or in the config to turn the whole thing off. The best I could come up with is:
doveadm mount add '/custompath/*' ignore doveadm mount add '/custompath*' ignore
I had to do both to get it to finally stop adding them.
Exactly, I have no idea what Timo was thinking when he added this, it should be defined by config, and nothing more. adding ignore is a lazy and rediculous workaround.
CC'd direct because my posts are no longer accepted on mailing list, you may of course reply via the list.
On 12/14/2013 5:52 AM, Reindl Harald wrote:
Am 14.12.2013 11:37, schrieb Scott Galambos: i wonder if Timo sooner or later accepts that this is a *major bug* no userland-software on this planet needs to track mount-points at least not as default, at least not this way
the last time i borught this up the excuse was "dovecot can not know if the missing mount point contains mail-data"
uhm - it knows by config and not by presence of a OS mount-point
participants (3)
-
Nick Edwards
-
Reindl Harald
-
Scott Galambos