mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2024-01-19 02:48:50 +00:00
parent
ef59fae8b3
commit
4189374cb5
|
@ -957,7 +957,7 @@ function _misc_save_states() {
|
||||||
statedir=/var/mail-state
|
statedir=/var/mail-state
|
||||||
if [ "$ONE_DIR" = 1 -a -d $statedir ]; then
|
if [ "$ONE_DIR" = 1 -a -d $statedir ]; then
|
||||||
notify 'inf' "Consolidating all state onto $statedir"
|
notify 'inf' "Consolidating all state onto $statedir"
|
||||||
for d in /var/spool/postfix /var/lib/postfix /var/lib/amavis /var/lib/clamav /var/lib/spamassasin /var/lib/fail2ban; do
|
for d in /var/spool/postfix /var/lib/postfix /var/lib/amavis /var/lib/clamav /var/lib/spamassasin /var/lib/fail2ban /var/lib/postgrey; do
|
||||||
dest=$statedir/`echo $d | sed -e 's/.var.//; s/\//-/g'`
|
dest=$statedir/`echo $d | sed -e 's/.var.//; s/\//-/g'`
|
||||||
if [ -d $dest ]; then
|
if [ -d $dest ]; then
|
||||||
notify 'inf' " Destination $dest exists, linking $d to it"
|
notify 'inf' " Destination $dest exists, linking $d to it"
|
||||||
|
|
Loading…
Reference in a new issue