UID to file?
Carles Pina i Estany
carles at pina.cat
Thu May 9 00:39:58 EEST 2019
Hello,
In the past I was in a situation that given an email UID I wanted to
know which file in the Maildir directory this UID was saved.
I did a small parser for $HOME/Maildir/dovecot-uidlist where, if the
file had:
1000 W1838 S1796 :1557351041.10447_1.example
I would ask for the UID 1000 and would return
:1557351041.10447_1.example (and I knew that it was in
$HOME/Maildir/new)
Is there any other way using dovecot tools to do the same, to avoid
parsing an internal dovecot file?
Thank you!
--
Carles Pina i Estany
GPG Key 0x8CD5C157
More information about the dovecot
mailing list