[BlueOnyx:23957] Re: 5210R: Postfix SNI support - status update

Larry Smith lesmith at ecsis.net
Tue Jun 9 16:03:15 -05 2020


On Tue June 9 2020 15:48, Michael Stauber wrote:
> Hi Dirk and Larry,
>
> Larry wrote:
> > +10 to this one.  MailDir is much better than mbox.
> >
> > Have one 5209R server that I converted to MailDir for a client
> > and it works well, I just have to watch every update and change
> > to make sure they don't overwrite my changes.
>
> I agree that MailDir is better overall. I'm not sure if I want to make
> MailDir a default, though.
>
> I can toss you a bone though: I make it GUI-configurable in the same way
> as I did for Sendmail vs. Postfix. That way (if you change it) it'll
> stick throughout updates as well.
>
> Why I don't want to make it a default? Think about the rats ass of code
> changes this entails. The majority of BlueOnyx servers aren't running
> MailDir, but Mbox. If MailDir is the new default, then Easy-Migrate will
> have to do an automatic conversion on imports.
>
> What if that user has already been synced and we run Easy-Migrate again?
> That brings the whole Mbox from the source server over again and then we
> convert it again on top of the existing MailDir from the last run? That
> has a good chance of creating garbage if that MailDir has in between
> received new messages that weren't on the source server.
>
> Anyway, I have a more or less working scripts around that converts from
> Mbox to Maildir and back via "dsync" (part of Dovecot):
>
> https://wiki.dovecot.org/Migration/MailFormat
>
> I'll see what I can hack together. The least I can do is to make it
> configurable so that it survives through YUM updates. But be prepared
> that you might have to do the conversions of mailboxes yourself.

Understand and agree.  The conversion is actually pretty easy.
mb2md.pl (perl written originally by Robin Whittle and now maintained
by Juri Haberland) does this fairly easily.

-- 
Larry Smith
lesmith at ecsis.net



More information about the Blueonyx mailing list