Topic: Move mail store
I need to move the mail store to block storage. Is this still the current procedure to execute?
Steps:
- Stop Postfix + Dovecot + Nginx services. make sure no access to all mailboxes.
- Move /var/vmail/vmail1 to HDD disk. Also make sure all files / directories are owned by "vmail:vmail" with permission 0700.
- Create a symbol link of moved vmail1 folder back to /var/vmail/vmail1.
- Start Postfix + Dovecot + Nginx services.
For example, let's say you want to move all mailboxes to /mnt/hdd which is a partition on HDD disk:
systemctl stop postfix dovecot nginx
mv /var/vmail/vmail1 /mnt/hdd
ln -sf /mnt/hdd/vmail1 /var/vmail/vmail1
systemctl start dovecot postfix nginx
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.