如何在当前版本库的debian下安装Dovecot

快速的故事,让你更好地了解我目前的状况。

我试图通过本教程在Debian系统上安装Dovecot + Postfix。

我知道这个教程是原创的Ubuntu的,但我几乎移植到debian的一切。 关于Linux的好事,呵? 我当然使用了Debian 6s默认存储库中的所有最新版本。 意思是:Dovecot 2.1.7 Postfix 2.7.1-1 + squeeze1 Postfix-mysql 2.7.1-1 + squeeze1

所以,我在步骤3中遇到了一些问题:

apt-get install postfix postfix-mysql dovecot-core dovecot-imapd dovecot-pop3d dovecot-lmtpd dovecot-mysql mysql-server

我没有问题,我已经在服务器上的所有东西,如后缀和MySQL。 但安装“dovecot-pop3d”和“dovecot-imapd”存在问题。 例如:

root@server /etc/dovecot # apt-get install dovecot-pop3d Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: dovecot-pop3d : Depends: dovecot-common (= 1:1.2.15-7) E: Broken packages 

(有趣的是,blockquotes和代码块看起来完全一样)

我在互联网上search了一下,发现从dovecot-commondovecot-common 2.1被replace为dovecot-core

所以我没有完全按照步骤3试图实现伟大,没有安装dovecot-pop3ddovecot-imapd

所以……现在我在步骤43,说我应该(重新)开始我的鸽舍。 我试过,得到这个:

重新启动IMAP / POP3邮件服务器:dovecotFatal:service(pop3)访问(/ usr / lib / dovecot / pop3)失败:没有这样的文件或目录失败!

实际上,在/ usr / lib / dovecot中没有叫做pop3的二进制文件,但是由于上面提到的apt-get问题,我无法安装它。 这是我不能安装dovecot-common的原因:

 root@server /etc/dovecot # apt-get -s install dovecot-common Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be REMOVED: dovecot-core dovecot-lmtpd dovecot-mysql The following NEW packages will be installed: dovecot-common 0 upgraded, 1 newly installed, 3 to remove and 0 not upgraded. Remv dovecot-mysql [1:2.1.7-7~bpo60+1] Remv dovecot-lmtpd [1:2.1.7-7~bpo60+1] Remv dovecot-core [1:2.1.7-7~bpo60+1] Inst dovecot-common (1:1.2.15-7 Debian:6.0.8/oldstable, Debian-Security:6.0/oldstable [amd64]) Conf dovecot-common (1:1.2.15-7 Debian:6.0.8/oldstable, Debian-Security:6.0/oldstable [amd64]) 

我只是想知道,如果Debian存储库过时了吗? 我的意思是,我不能用dovecot-pop3d dovecot-core dovecot-pop3d ,因为dovecot-common是需要的。 但它不能被使用,因为它包装了与dovecot-core相同的function。

我在这里忽略了什么?

谢谢阅读 :)

func0der


更新2014-01-16:

的/etc/apt/sources.list

 ####################################################################################### # Mirror # deb http://ftp.uni-bayreuth.de/linux/Debian/debian/ squeeze main non-free contrib deb-src http://ftp.uni-bayreuth.de/linux/Debian/debian/ squeeze main non-free contrib deb http://security.debian.org/ squeeze/updates main contrib non-free deb-src http://security.debian.org/ squeeze/updates main contrib non-free deb http://backports.debian.org/debian-backports squeeze-backports main contrib non-free 

好的,我自己在这里回答。

存储库是indead中断的configuration,我试图archieve。 没有鸽舍-lmtpd它可能已经工作,但是用它,事情变得非常混乱。

我好像@ptman的提示是必不可less的。 dovecot-lmtpd 2.1.x需要dovecot-core与dovecot-common不兼容。 2.1.xx版本来自backports存储库。

我更新了我的Debian到7,现在它工作得很好。

谢谢您的帮助。 看来在我的configuration中,Debian 6和Dovecot,都不可能安装与目前版本库的dovecot。 纠正我,如果我错了。

问候

func0der