summaryrefslogtreecommitdiff
path: root/cleanup-and-start-over.sh
blob: c22fb5071bb6258f7d3cece2e2015113a9537d72 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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