14 Oct
2010
14 Oct
'10
8:35 p.m.
On Thu, 2010-10-07 at 11:14 +0900, suzuki wrote:
Hello,
I have a question about userdb lookup when using expire-tool.
Dovecot version 1.2.15 In dovecot.conf, mail_location = maildir:/var/mail/%u:INDEX=/var/indexes/%u
I run dovecot expire-tool, target user's directory becomes executing user's one.
expire-tool reads the config badly. Any %vars get expanded immediately. v2.0 no longer has this kind of a problem.
According to wiki, userdb setting overrides mail_location.
userdb passwd { mail=maildir:/var/mail/%u:INDEX=/var/indexes/%u }
With this setting, it seems working. But, there are no examples with ":INDEX=.." setting. Is this syntax right?
Yeah, that's correct.