Dovecot mbox & other programs

Tom Hendrikx tom at whyscream.net
Mon Jun 8 11:42:53 UTC 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 06-06-15 19:01, Pali Rohár wrote:
> Hello,
> 
> I want to use dovecot as imap server with mbox storage format
> (described at [1]) but I also want to access (and modify!) those
> mbox files which are stored on server (and used by dovecot).
> 
> What is correct way to read those mboxes? From wiki page [1] I read
> that I should ignore first message in mbox (which contains
> X-IMAPbase header) and mbox file is in mboxcl2 format.
> 
> And what is correct way to modify that mbox file (which is used by
>  dovecot imap)? I would like to configure mutt on server to
> directly access those mbox mailboxes without need to use imap
> protocol (over localhost). It is possible without any data/message
> damage?

Just out of curiosity: why are you interested in handling the files
manually when dovecot and IMAP protocol can already do that for you?

Even when accessing the files directly from the server, dovecot will
handle possible file correction, access control, file permissions etc
all for you. Using IMAP to localhost with mutt still gives you all of
the above, maybe including other nice IMAP-related benefits such as
FTS etc.

Tom
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJVdX+9AAoJEJPfMZ19VO/1yqsP/3ZHyKwJJ9IAmeMTaT/W2wHM
gLhXAJj3ZYO2s1gp5b2Swyq/ta4KUDEwgdWQQaDK2YVdyTTu9f/6TgMubPNcuYV9
ogfqyGunPpVk3ZVSf9U2EviU2SXvjzUDuZ1bI80IxQYVXYOidzAZw4wBN+IXjFss
giLKaI+T6YOU2+nFrCkavjMXuwbPhjo84Xe2KPvB0mcGy31HQoHq/ChOYHVzYUkH
1qYVWOE5bjUMHZFwExsR84vhjIBTAqwqKP0Hf5JdZRIafsrysY0gqSOWcrTeu7HH
e2MLQvtLr3vAWoi319AQ03vz//ESOKBfZl/tv2ZuVzh8o9l0zkDtm0FxMlj+rrmQ
/O/1kV4jJGjcCYfL61hZPkHHcI8sJq81Dz0CX5xbisYCLkk+EpWHjQC9ILgcl6vQ
FBBOqvCfgmyCgYHi/3PbIZ5Hd4gmzIG2Du+59Webv/dIigeNv5dW5gbqx7kLYP1A
ltBYQYtK+/tSVOZKjvcfNoT6BQcSn90VGNC2QzO8FcDkTzu/ihiY4DuE9bpCDgAs
uebcRa55DOhL3EFeEy85fczCuac1TM8uaO+la9Xdokj4lWl20j6HlGQPlykRlMx0
Kyw6Z42SIR9lFa+Q+KsvBDY94rfwj5sgmo5oelndno/l1bHx1h8BGesbzKyS53r1
Jl57kyy3lePwcQ+dbGYm
=lrws
-----END PGP SIGNATURE-----


More information about the dovecot mailing list