9 May
2019
9 May
'19
12:39 a.m.
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