Re: Dovecot mbox & other programs

2015-06-08 Thread Joseph Tam
Pali Roh?r writes: Still I want read/write access to storage and want to use mbox as storage (also for easier backup and copy)... Backup performance may be another big win for Maildir, especially for incremental backups. Be that as it may ... And my question was how to properly read and w

Re: Dovecot mbox & other programs

2015-06-08 Thread Gregory Finch
On 2015-06-08 2:21 PM, Pali Rohár wrote: > On Monday 08 June 2015 23:17:50 Marcus Rueckert wrote: >> Through the imap protocol or at least the same locking mechanism >> configured in dovecot. >> > It is which locking mechanism? > > It is really ok for dovecot to: > 1) append (new) emails into mbox

Re: Dovecot mbox & other programs

2015-06-08 Thread Pali Rohár
On Monday 08 June 2015 23:17:50 Marcus Rueckert wrote: > Through the imap protocol or at least the same locking mechanism > configured in dovecot. > It is which locking mechanism? It is really ok for dovecot to: 1) append (new) emails into mbox file? 2) edit mbox file? (e.g. change some header/b

Re: Dovecot mbox & other programs

2015-06-08 Thread Marcus Rueckert
On 2015-06-08 23:11:09 +0200, Pali Rohár wrote: > Still I want read/write access to storage and want to use mbox as > storage (also for easier backup and copy)... 1. backup is actually much easier for maildir. 2. especially when you want to deleting mails in the mbox file it is a lot of rewrit

Re: Dovecot mbox & other programs

2015-06-08 Thread Pali Rohár
On Monday 08 June 2015 23:06:26 Marcus Rueckert wrote: > On 2015-06-08 14:48:12 +0200, Pali Rohár wrote: > > On Monday 08 June 2015 02:45:52 Marcus Rueckert wrote: > > > IMHO ... Maildir is a better format. > > > > Really? I do not think so! Having half of million (small) files in > > one director

Re: Dovecot mbox & other programs

2015-06-08 Thread Marcus Rueckert
On 2015-06-08 14:48:12 +0200, Pali Rohár wrote: > On Monday 08 June 2015 02:45:52 Marcus Rueckert wrote: > > IMHO ... Maildir is a better format. > > Really? I do not think so! Having half of million (small) files in one > directory is killer... which eats caches and slow down access time. > Even

Re: Dovecot mbox & other programs

2015-06-08 Thread Pali Rohár
On Monday 08 June 2015 13:42:53 Tom Hendrikx wrote: > 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 do

Re: Dovecot mbox & other programs

2015-06-08 Thread Pali Rohár
On Monday 08 June 2015 02:45:52 Marcus Rueckert wrote: > IMHO ... Maildir is a better format. Really? I do not think so! Having half of million (small) files in one directory is killer... which eats caches and slow down access time. Even listing such directory (without reading file contents) consu

Re: Dovecot mbox & other programs

2015-06-08 Thread Tom Hendrikx
-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). > > Wh