[Dovecot] dovecot.index mtime

pod pod at herald.ox.ac.uk
Tue Nov 13 14:48:10 EET 2007


>>>>> "M" == Matt  <lm7812 at gmail.com> writes:

    M> What if the script only touched the dovecot.index if it exists?
    M> That would likely not be too difficult to test for with shell
    M> script.

Might be tricky to do in shell without a race.  On the other hand maybe a
race in this case is not significant.  On the other hand it's possible
that a running user imap process uses timestamps on the index file to
determine whether it needs to update its idea of the content and
gratuitously changing it on connect may cause already running processes to
do more work that strictly necessary.  Haven't looked at the actual code
to asses the credibility of this though.

On the other hand I've run out of hands now :)


More information about the dovecot mailing list