2
0
mirror of https://github.com/tomav/docker-mailserver synced 2025-08-31 06:15:28 +00:00

config: ensure SASL socket file is not inside a volume mount (#3131)

This commit is contained in:
Georg Lauterbach
2023-03-03 23:42:55 +01:00
committed by GitHub
parent 9a9380150e
commit f0edcc28d9
7 changed files with 34 additions and 27 deletions

View File

@@ -109,6 +109,9 @@ function _setup_apply_fixes_after_configuration
_log 'debug' 'Checking /var/mail permissions'
_chown_var_mail_if_necessary || _shutdown 'Failed to fix /var/mail permissions'
_log 'trace' 'Remove left-over files and directories from older versions'
rm -rf /var/spool/postfix/{dev,etc,lib,usr,private/auth}
}
function _run_user_patches