emailwiz-arch/mailrm.sh
2019-05-27 19:00:26 -04:00

9 lines
260 B
Bash
Executable File

#!/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