On 6/8/2015 5:11 PM, Pali Rohár <pali.ro...@gmail.com> wrote: > Still I want read/write access to storage and want to use mbox as > storage (also for easier backup and copy)... > > And my question was how to properly read and write from/to mbox files > which are used by dovecot.
There is no method for doing this. Any manual/direct manipulation of the files risks serious problems. Fyi, your 'fears' regarding using the IMAP protocol on localhost are seriously unfounded. Just use IMAP, and move on with your life.