Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Due to periodically running out of space on EBS volumes on AWS EC2, and looking to make the setup more fault resistant in case of server/volume failure, I'm considering moving a Dovecot maildir installation over to S3QL.

  1. Would there be any problem(s) with such a setup? If so, what would they be?
  2. I notice at https://code.google.com/p/s3ql/wiki/other_s3_filesystems that it doesn't support multiple mounts from different computers. The other filesystems that, according to the table, do support multiple mounts, don't seem to be in existence/maintained any more. Are there any suitable alternatives that do support being mounted from multiple servers at the same time? If the filesystem supported this, would Dovecot essentially support the simultaneous access to the same maildirs from multiple servers?
  3. Are there any other, better, ways of handling the issue of maildir space & reliability?

Thanks.

share|improve this question

2 Answers 2

Answer #1

I think the problems encountered with Maildir depend on how the storage is shared. You should try to set it up in a way, that all of a single users connections are accessing her mails via a single "backend" dovecot during a single session. For this you can use e.g. director

For a picture of a fairly complex example setup (with replication that you might not need) using frontend directors, see http://www.dovecot.org/img/dsync-director-replication.png It is related to the blog article http://blog.dovecot.org/2012/02/dovecot-clustering-with-dsync-based.html

Answer #2

Another possibility for S3 storage is the commercial object storage plugin from Dovecot Inc http://www.dovecot.fi/products/

share|improve this answer
    
Good to know about the commercial storage plugin. We're quite willing to pay. However, the cost appears to be per mailbox. Although I'm not sure how much it will be per mailbox, it's unlikely that we'll want to go down the route where there is a cost per, potentially not very much used, mailbox. –  Michal Charemza Dec 4 '13 at 11:18

To partially answer part 2 myself:

Apparently ObjectiveFS https://objectivefs.com/ supports multiple mounts (according a support email they're replied to), although I've not tested it, and can see very little information about it around on sites in general

From http://www.dovecot.org/ that Dovecot Maildir does support being accessed from multiple systems at the same time, although there might be some config regarding caching, and it doesn't mention S3QL.

Other answers of course still welcome.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.