主题: 请教一个在aws上安装iredmail的问题。
- iRedMail 版本号:iRedMail-0.8.7
- 使用哪个数据库存储用户帐号(OpenLDAP,MySQL,PostgreSQL):OpenLDAP
- 使用的 Linux/BSD 发行版名称及版本号: ec2 Amazon Linux AMI 3.10.35-43.137.amzn1.x86_64
安装步骤如下:
1、添加/etc/redhat-release
CentOS release 6.5(Final)
2、安装报错:
Error: Package: clamd-0.97.7-1.el6.rf.x86_64 (iRedMail)
Requires: clamav = 0.97.7-1.el6.rf
Installed: clamav-0.98.1-1.3.amzn1.x86_64 (@amzn-updates)
clamav = 0.98.1-1.3.amzn1
修改functions/packages.sh,去掉clamd${PKG_ARCH}
ALL_PKGS="${ALL_PKGS} clamd${PKG_ARCH} clamav${PKG_ARCH} clamav-db${PKG_ARCH} spamassassin${PKG_ARCH} altermime${PKG_ARCH} perl-LDAP.noarch perl-Mail-SPF.noarch amavisd-new.noarch"
出现新报错:
Transaction check error:
file /usr/libexec/dovecot/managesieve from install of dovecot-managesieve-2:0.3.6-26.el6.x86_64 conflicts with file from package dovecot-1:2.0.9-7.13.amzn1.x86_64
file /usr/libexec/dovecot/managesieve-login from install of dovecot-managesieve-2:0.3.6-26.el6.x86_64 conflicts with file from package dovecot-1:2.0.9-7.13.amzn1.x86_64
file /usr/lib64/dovecot/settings/libmanagesieve_login_settings.so conflicts between attempted installs of dovecot-pigeonhole-1:2.0.9-7.13.amzn1.x86_64 and dovecot-managesieve-2:0.3.6-26.el6.x86_64
file /usr/lib64/dovecot/settings/libmanagesieve_settings.so conflicts between attempted installs of dovecot-pigeonhole-1:2.0.9-7.13.amzn1.x86_64 and dovecot-managesieve-2:0.3.6-26.el6.x86_64
file /usr/libexec/dovecot/managesieve conflicts between attempted installs of dovecot-pigeonhole-1:2.0.9-7.13.amzn1.x86_64 and dovecot-managesieve-2:0.3.6-26.el6.x86_64
file /usr/libexec/dovecot/managesieve-login conflicts between attempted installs of dovecot-pigeonhole-1:2.0.9-7.13.amzn1.x86_64 and dovecot-managesieve-2:0.3.6-26.el6.x86_64
Error Summary
修改functions/packages.sh,去掉dovecot-managesieve${PKG_ARCH} dovecot-pigeonhole${PKG_ARCH}
安装成功。
3、重启后,访问https://xxx.xxx.xxx.xxx/mail
输入用户名密码,提示:
connection to storage server failed
登陆服务器检查:
正在启动 Dovecot Imap:doveconf: Fatal: Error in configuration file /etc/dovecot/dovecot.conf line 274: Unknown setting: mailbox
[失败]
274行配置:
mailbox Sent {
auto = subscribe
special_use = \Sent
}
请大神,协助。