summaryrefslogtreecommitdiff
path: root/cleanup-and-start-over.sh
diff options
context:
space:
mode:
Diffstat (limited to 'cleanup-and-start-over.sh')
-rwxr-xr-xcleanup-and-start-over.sh21
1 files changed, 21 insertions, 0 deletions
diff --git a/cleanup-and-start-over.sh b/cleanup-and-start-over.sh
new file mode 100755
index 0000000..c22fb50
--- /dev/null
+++ b/cleanup-and-start-over.sh
@@ -0,0 +1,21 @@
+#!/bin/bash
+
+yum -y remove 389\* cyrus-imapd\* postfix\* mysql-server\* roundcube\* pykolab\*
+
+rm -rvf \
+ /etc/dirsrv \
+ /etc/kolab/kolab.conf \
+ /etc/postfix \
+ /usr/lib64/dirsrv \
+ /usr/share/dirsrv \
+ /var/cache/dirsrv \
+ /var/lib/dirsrv \
+ /var/lib/imap \
+ /var/lib/kolab \
+ /var/lib/mysql \
+ /var/spool/imap \
+ /var/spool/postfix
+
+yum clean metadata
+yum -y install kolab
+