跳至论坛內容
iRedMail 开源邮件服务解决方案
支持 Red Hat Enterprise Linux, CentOS, Scientific Linux, Debian, Ubuntu, FreeBSD, OpenBSD
您尚未登陆。 请选择登陆或是注册一个新账号。
热门主题 尚未回复的主题
iRedMail 技术交流 QQ 群:296792359。
Spider Email Archiver:由 iRedMail 团队开发的轻量级电子邮件归档软件。
搜索选项
检查过cbpolicyd
/etc/init.d/cbpolicyd status
启动服务
/etc/init.d/cbpolicyd start
Starting cbpolicyd: /usr/bin/perl: symbol lookup error: /usr/lib64/perl5/vendor_perl/auto/Cache/FastMmap/CImpl/CImpl.so: undefined symbol: Perl_Gthr_key_ptr [失败]
目前的情况如下 :
1、登陆webmail无法发送邮件提示如下:
SMTP Error (451): Failed to add recipient "postmaster@works.in.net" (4.3.5 Server configuration problem).
2、Postfix的log信息如下:
Jun 11 01:32:33 mail postfix/smtpd[2720]: connect from mail.works.in.net[127.0.0.1]
Jun 11 01:32:33 mail postfix/smtpd[2720]: warning: connect to 127.0.0.1:10031: Connection refused
Jun 11 01:32:33 mail postfix/smtpd[2720]: warning: problem talking to server 127.0.0.1:10031: Connection refused
Jun 11 01:32:34 mail postfix/smtpd[2720]: warning: connect to 127.0.0.1:10031: Connection refused
Jun 11 01:32:34 mail postfix/smtpd[2720]: warning: problem talking to server 127.0.0.1:10031: Connection refused
Jun 11 01:32:34 mail postfix/smtpd[2720]: NOQUEUE: reject: RCPT from mail.works.in.net[127.0.0.1]: 451 4.3.5 Server configuration problem; from=<postmaster@works.in.net> to=<postmaster@works.in.net> proto=ESMTP helo=<mail.works.in.net>
Jun 11 01:32:34 mail roundcube: SMTP Error: SMTP error: Failed to add recipient 'postmaster@works.in.net' in /var/www/roundcubemail-1.0.1/program/lib/Roundcube/rcube.php on line 1504 (POST /mail/?_task=mail&_unlock=loading1402450351578&_lang=en_US?_task=mail&_action=send)
Jun 11 01:32:34 mail postfix/smtpd[2720]: disconnect from mail.works.in.net[127.0.0.1]
3、查找iredmail.org里办法:
检查并重启如下服务:
/etc/init.d/iredapd restart
/etc/init.d/amavisd restart
4、检查10031端口:
netstat -antp|grep 10031
无结果。
5、检查10031相关信息
/etc/policyd/cluebringer.conf中port=10031
6、检测policyd
ps -aux|grep policyd
无结果
7、检查cbpolicyd
/etc/init.d/cbpolicyd status
启动服务
/etc/init.d/cbpolicyd start
Starting cbpolicyd: /usr/bin/perl: symbol lookup error: /usr/lib64/perl5/vendor_perl/auto/Cache/FastMmap/CImpl/CImpl.so: undefined symbol: Perl_Gthr_key_ptr [失败]
8、检查FastMmap:
rpm -qa|grep -i fastmmap
perl-Cache-FastMmap-1.34-1.el6.rf.x86_64
请大牛协助下,谢谢。
目前的解决方案:
1: Create file /etc/redhat-release with below content, so that iRedMail will consider its a CentOS Linux 6.
CentOS Linux 62: open file iRedMail-0.8.7/conf/global, find below lines:
export PKG_ARCH=".${OS_ARCH}"
if [ X"${OS_ARCH}" == X"i386" ]; then
export PKG_ARCH=''
fiComment out 1st, 2nd, 4th lines like below:
#export PKG_ARCH=".${OS_ARCH}"
#if [ X"${OS_ARCH}" == X"i386" ]; then
export PKG_ARCH=''
#fi3: Open file iRedMail-0.8.7/functions/packages.sh, find below lines:
if [ X"${DISTRO}" == X"RHEL" ]; then
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"Remove 'clamav${PKG_ARCH}' in 2nd line:
if [ X"${DISTRO}" == X"RHEL" ]; then
ALL_PKGS="${ALL_PKGS} clamd${PKG_ARCH} clamav-db${PKG_ARCH} spamassassin${PKG_ARCH} altermime${PKG_ARCH} perl-LDAP.noarch perl-Mail-SPF.noarch amavisd-new.noarch"
4: Run iRedMail installer with below command:
# YUM='yum --disableplugin=priorities' bash iRedMail.sh
目前情况安装正常。
- 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
}
请大神,协助。
搜索到的文章数 [ 5 ]
页面生成时间 0.015 秒, 共执行查询 52 条