Delete mailpile user on removal

This commit is contained in:
Bob Mottram 2016-11-06 14:25:20 +00:00
parent ce3761afcb
commit 06a228f3e6
1 changed files with 3 additions and 0 deletions

View File

@ -123,6 +123,9 @@ function remove_mailpile {
fi fi
function_check remove_ddns_domain function_check remove_ddns_domain
remove_ddns_domain $MAILPILE_DOMAIN_NAME remove_ddns_domain $MAILPILE_DOMAIN_NAME
deluser --remove-all-files mailpile
else
deluser mailpile
fi fi
remove_config_param MAILPILE_DOMAIN_NAME remove_config_param MAILPILE_DOMAIN_NAME