optional remove script

This commit is contained in:
Luke Smith 2019-05-27 19:00:26 -04:00
parent ba03c7647c
commit e66829d2eb
No known key found for this signature in database
GPG Key ID: 4C50B54A911F6252

8
mailrm.sh Executable file
View File

@ -0,0 +1,8 @@
#!/bin/sh
# Purge all configs from a previous attempt at a mail server.
# Doesn't delete mail or anything like that.
apt purge dovecot-core spamassassin postfix spamc opendkim
# Some stragglers that often stay undeleted.
rm -rf /etc/dovecot /var/lib/dovecot