From e66829d2eb4b3fe2c77d59f1c0bac27de0ff4281 Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Mon, 27 May 2019 19:00:26 -0400 Subject: optional remove script --- mailrm.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 mailrm.sh diff --git a/mailrm.sh b/mailrm.sh new file mode 100755 index 0000000..e109650 --- /dev/null +++ b/mailrm.sh @@ -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 -- cgit v1.2.3-70-g09d2