[Dovecot] Trouble with 2.0.11 debian package
Mark Alan
varia at e-healthexpert.org
Sun Apr 3 11:16:05 EEST 2011
On Sat, 02 Apr 2011 22:22:57 +0200, Gyuris Szabolcs
<szimszon at integrity.hu> wrote:
> If I try clean install of
> dovecot-common dovecot-imapd dovecot-pop3d
> from
> deb http://xi.rename-it.nl/debian stable-auto/dovecot-2.0 main
Try this (if you start as a root, then remove all the sudo's):
# clean old & create fake pointers for expected directories and files
sudo /etc/init.d/dovecot stop;
sudo pkill -f "dovecot.*";
sudo mkdir /etc/dovecot /etc/dovecot/conf.d;
sudo ucfq -w dovecot-common dovecot-pop3d dovecot-imapd | awk -F :
'{ print $1 }' | xargs -rn1 sudo touch;
sudo find /etc/dovecot -print0 | xargs -r0n1 sudo ucf -p;
sudo find /etc/dovecot -print0 | xargs -r0n1 sudo ucfr -p
dovecot-common;
sudo find /etc/ssl/ -name "dovecot*" -print0 | xargs -r0n1 sudo ucf -p;
sudo find /etc/ssl/ -name "dovecot*" -print0 | xargs -r0n1 sudo ucfr -p
dovecot-common;
# purge & remove unused directories
sudo apt-get purge dovecot-common dovecot-pop3d dovecot-imapd;
sudo sh -c "rm
-fr /etc/dovecot /var/lib/ucf/cache/:etc:dovecot* /etc/ssl/*/dovecot.pem /var/lib/dovecot"
# try a fresh install
sudo sed -i '/xi.rename-it.nl/d' /etc/apt/sources.list;
echo "deb http://xi.rename-it.nl/debian/ stable-auto/dovecot-2.0 main"
| sudo tee -a /etc/apt/sources.list;
sudo apt-get update;
sudo apt-get install dovecot-common dovecot-pop3d dovecot-imapd
r.
M.
More information about the dovecot
mailing list