看来是求人不如求己呀
下面是我的清除方法
在同一个系统上最好不要重装iRedMail,很有可能会出现些末知错误
wget http://iredmail.googlecode.com/hg/extra … redmail.sh
下载到iRedmail/tools。执行
数据库操作:
删除用户,包括名字相同的库
删除roundcubemail库
mysqladmin -u root -p password ""
mysqladmin -u root create test
/etc/clamd.conf saved as /etc/clamd.conf.rpmsave
/etc/freshclam.conf saved as /etc/freshclam.conf.rpmsave
/etc/pysieved.ini saved as /etc/pysieved.ini.rpmsave
etc/rc.d/init.d/amavisd saved as /etc/rc.d/init.d/amavisd.rpmsave
/etc/amavisd.conf saved as /etc/amavisd.conf.rpmsaves
yum -y remove amavisd-new
yum -y remove clamav
yum -y remove dovecot
yum -y remove postfix
rm -rf /etc/postfix/
rm -rf /etc/mail/spamassassin
rm -rf /etc/dovecot*
rm -rf /etc/yum.repos.d/iRedMail.repo*
rm -rf /etc/policyd.conf
rm -rf /etc/policyd.conf.rpmsave
rm -rf /etc/policyd_sender_throttle.conf
rm -rf /etc/awstats/
rm -rf /etc/yum.repos.d/iRedMail.repo
/usr/share/logwatch/scripts/services/clamav
/var/run/clamav
/var/clamav
rm -rf /etc/logrotate.d/procmail
rm -rf /var/spool/postfix/private/procmail
rm -rf /etc/mail/spamassassin
rm -rf /var/lib/spamassassin
rm -rf /etc/openldap
rm -rf /usr/share/openldap
rm -rf /var/www/postfixadmin*
rm -rf /var/www/roundcubemail*
rm –rf /var/www/html/postfixadmin
rm –rf /var/www/squirrelmail*
rm -rf /usr/share/horde/
rm -rf /var/spool/postfix
rm -rf /usr/share/logwatch/scripts/services/postfix
rm -rf /home/policyd/
rm -rf /var/lib/postfix
删除完成后,重启系统,进入系统后,重新解压安装包,全新操作,一般情况可以顺利成功的安装
安装完成后,再重启次系统