INDEX= and dovecot.index.log / dovecot.list.index.log

Arkadiusz Miśkiewicz arekm at maven.pl
Thu Jan 16 23:36:14 EET 2020


On 16/01/2020 22:12, Arkadiusz Miśkiewicz wrote:
> 
> Using 2.3.8 and
> 
> mail_location =
> maildir:/var/mail/%Ln:CONTROL=/var/lib/dovecot/control/%Ln:VOLATILEDIR=/var/lib/dovecot/control/%Ln:INDEX=/var/lib/dovecot/control/%Ln
> 
> + also
> 
> user_query = SELECT ... CONCAT('maildir:/var/mail/', LOWER(u.login),
> '/:CONTROL=/var/lib/dovecot/control/%Ln:VOLATILEDIR=/var/lib/dovecot/control/%Ln:INDEX=/var/lib/dovecot/control/%Ln')
> AS mail, ...
> 
> but I noticed that dovecot creates
> 
> dovecot.index.log
> dovecot.list.index.log
> 
> still in /var/mail/XYZ instad of /var/lib/dovecot/control/XYZ.
> 
> 
> Is that normal?
> 
> I would expect /var/lib/dovecot/control/XYZ to be used also for these
> two files.
> 
> ps. lmtp is used here
> 

Actually both places are used for dovecot.index.log:

# ls -l /var/lib/dovecot/control/stoya/.Sent/dovecot*
/var/mail/stoya/.Sent/dovecot*
-rw------- 1 308041 163376     34 Jan 16 08:29
/var/lib/dovecot/control/stoya/.Sent/dovecot-keywords
-rw------- 1 308041 163376   5814 Jan 16 13:12
/var/lib/dovecot/control/stoya/.Sent/dovecot-uidlist
-rw------- 1 308041 163376   1588 Jan 11 04:48
/var/lib/dovecot/control/stoya/.Sent/dovecot.index
-rw------- 1 308041 163376 148428 Jan 16 20:40
/var/lib/dovecot/control/stoya/.Sent/dovecot.index.cache
-rw------- 1 308041 163376   8020 Jan 16 13:12
/var/lib/dovecot/control/stoya/.Sent/dovecot.index.log
-rw------- 1 308041 163376     40 Jan 16 21:55
/var/mail/stoya/.Sent/dovecot.index.log

-- 
Arkadiusz Miśkiewicz, arekm / ( maven.pl | pld-linux.org )


More information about the dovecot mailing list