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