cyrus-imap possible? or at least a central mail store like /var/spool/dovecot?

2 posts / 0 new
Last post
#1 Sat, 07/13/2019 - 22:04
beren

cyrus-imap possible? or at least a central mail store like /var/spool/dovecot?

I've been using cyrus for 15 years and love it. It's very powerful and scalable (not that I need it for my use) but the panels that support it are all pretty dead. I'm considering virtualmin for my little vps, but I really want/need a central mail store. I use zfs for my systems, and I can keep mail separate from the main system so I can have different settings, like using gzip compression on the mail to save space, as well as separate snapshot/backup systems.

Is there any possible way to continue to use cyrus under webmin, or at least can mail directories be configured to use a central location? like /var/spool/dovecot/$domain/$user or something?

Thanks!

Sun, 07/14/2019 - 10:03
andreychek

Howdy,

Virtualmin does configure Dovecot, there isn't an option for using Cyrus.

However, if you wish to change the default delivery locations, you can do so by altering the following to point to your preferred location --

/etc/procmailrc, ORGMAIL and DEFAULTMAIL options
Postfix home_mailbox option
Dovecot mail_location option

I haven't tried using Maildir in a central location, but what you'd need to do is modify the procmailrc to deliver to your preferred location, along with configuring Postfix and Dovecot to look there. There's a handful of folks who use Mbox in /var/mail rather than Maildir, though I'm not sure that would accomplish what you're after.

Note that the Virtualmin backups won't include email if that's moved outside of the user homedirs, but it sounds like you have your own backup solution there.

-Eric

Topic locked