moving /var/vmail/vmail1 Maildir tree to another partition?

Voytek Eymont voytek at sbt.net.au
Fri Aug 28 17:35:04 EEST 2020


I have a small Postfix/Dovecot/MariaDB on Centos 7 with a dozen virtual
domains, I'm running out of space in /var but got space

can I simply move the entire /var/vmail/vmail1 tree elsewhere ?
like say /vmail/vmail1

is it as simple as shutting Dovecot/Postfix, move tree, edit conf and re
start ?
or am I missing something ..? or is the a better way of doing this ?

# grep 'var/vmail' *.conf
dovecot.conf:    sieve_global_dir = /var/vmail/sieve
dovecot.conf:    sieve_global_path = /var/vmail/sieve/dovecot.sieve
dovecot.conf:#    location =
maildir:/var/vmail/public/:CONTROL=~/Maildir/public:INDEX=~/Maildir/public

# cd ../postfix
# grep 'var/vmail' *.cf
main.cf:virtual_mailbox_base = /var/vmail

# dovecot --version
2.3.11.3 (502c39af9)




More information about the dovecot mailing list