emailwiz-arch/mailrm.sh

9 lines
260 B
Bash
Raw Normal View History

2019-05-27 23:00:26 +00:00
#!/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