我的5.6用手机寄信用25端口有时候会用不了
要重启才可以寄

用了我上面的方法
问题解决了
快正式用IREDMAIL了
谢谢大家的努力

1.缺少 mcrypt 外挂。请检查 PHP 设定
php - Enabling mcrypt on CentOS - Server Fault
网上找了很多方法装,但是我不知道那个比较好
大家可以提供一下好点的安装方法吗

CentOS 6 still doesn’t by default include mcrypt in it’s distribution on repositories.

There is hope, EPEL to the rescue again:

    rpm -ivh http://download.fedora.redhat.com/pub/e … noarch.rpm

    yum update

    yum install php-mcrypt

**Please note the above download is for CentOS 6 x86_64**
网上找到比较好的
但是装完要关闭EPEL


2.没有找到 PHP 外挂 mbstring,而您现在好像在使用多字符字集。没有 mbstring 扩展的 phpMyAdmin 不能正确分割字符串,可能产生意想不到的结果

Yum install php-mbstring就可以解决了

Dovecot fatal error那个问题只要在安装时不要选立即启动postfix就可以了
但是有点奇怪
安装后重启系统再去WEBMAIL看
没收到信

重启计算机两三次又收到了

129

(5 篇回复,发表在 iRedMail 技术支持)

Ubuntu 11.04装0.7.3的log怪怪的
root@mail:~# tail /var/log/dovecot.log
Sep 02 16:19:43 dict: Warning: Killed with signal 15 (by pid=1 uid=0 code=kill)
Sep 02 16:19:43 pop3-login: Warning: Killed with signal 15 (by pid=1 uid=0 code=                                                                             kill)
Sep 02 16:19:43 pop3-login: Warning: Killed with signal 15 (by pid=1 uid=0 code=                                                                             kill)
Sep 02 16:19:43 pop3-login: Warning: Killed with signal 15 (by pid=1 uid=0 code=                                                                             kill)
Sep 02 16:19:43 managesieve-login: Warning: Killed with signal 15 (by pid=1 uid=                                                                             0 code=kill)
Sep 02 16:19:43 managesieve-login: Warning: Killed with signal 15 (by pid=1 uid=                                                                             0 code=kill)
Sep 02 16:19:43 auth(default): Warning: Killed with signal 15 (by pid=1 uid=0 co                                                                             de=kill)
Sep 02 16:19:43 imap-login: Warning: Killed with signal 15 (by pid=1 uid=0 code=                                                                             kill)
Sep 02 16:19:43 dovecot: Warning: Killed with signal 15 (by pid=1 uid=0 code=kil                                                                             l)
Sep 02 16:19:43 dovecot: Info: Dovecot v1.2.15 starting up (core dumps disabled)
root@mail:~# tail /var/log/sieve.log
Sep 02 16:20:03 deliver(www-data): Error: mkdir_parents(//var/www/Maildir) faile                                                                             d: Permission denied
Sep 02 16:20:03 deliver(www-data): Error: mkdir_parents(//var/www/Maildir) faile                                                                             d: Permission denied
Sep 02 16:20:03 deliver(www-data): Error: mkdir_parents(//var/www/Maildir) faile                                                                             d: Permission denied
Sep 02 16:20:03 deliver(www-data): Error: mkdir_parents(//var/www/Maildir) faile                                                                             d: Permission denied
Sep 02 16:20:03 deliver(www-data): Error: sieve: failed to stat user's sieve scr                                                                             ipt: stat(/var/vmail/sieve//www-data/dovecot.sieve) failed: Permission denied (e                                                                             uid=33(www-data) egid=33(www-data) missing +x perm: /var/vmail) (using global sc                                                                             ript path in stead)
Sep 02 16:20:03 deliver(www-data): Error: sieve: main_script: failed to stat sie                                                                             ve script: lstat(/var/vmail/sieve/dovecot.sieve) failed: Permission denied (euid                                                                             =33(www-data) egid=33(www-data) missing +x perm: /var/vmail)
Sep 02 16:20:03 deliver(www-data): Error: sieve: main_script: internal error occ                                                                             urred: refer to server log for more information. [2011-09-02 16:20:03]
Sep 02 16:20:03 deliver(www-data): Error: sieve: failed to open script /var/vmai                                                                             l/sieve/dovecot.sieve
Sep 02 16:20:03 deliver(www-data): Error: mkdir(//var/www/Maildir/cur) failed: P                                                                             ermission denied (euid=33(www-data) egid=33(www-data) missing +w perm: //var/www                                                                             )
Sep 02 16:20:03 deliver(www-data): Info: msgid=<20110902082003.848D442402@mail.c                                                                             aritasse.org>: save failed to INBOX: Internal error occurred. Refer to server lo                                                                             g for more information. [2011-09-02 16:20:03]
root@mail:~# clear
root@mail:~# clear
root@mail:~# tail /var/log/sieve.log
Sep 02 16:20:03 deliver(www-data): Error: mkdir_parents(//var/www/Maildir) faile                                                                             d: Permission denied
Sep 02 16:20:03 deliver(www-data): Error: mkdir_parents(//var/www/Maildir) faile                                                                             d: Permission denied
Sep 02 16:20:03 deliver(www-data): Error: mkdir_parents(//var/www/Maildir) faile                                                                             d: Permission denied
Sep 02 16:20:03 deliver(www-data): Error: mkdir_parents(//var/www/Maildir) faile                                                                             d: Permission denied
Sep 02 16:20:03 deliver(www-data): Error: sieve: failed to stat user's sieve scr                                                                             ipt: stat(/var/vmail/sieve//www-data/dovecot.sieve) failed: Permission denied (e                                                                             uid=33(www-data) egid=33(www-data) missing +x perm: /var/vmail) (using global sc                                                                             ript path in stead)
Sep 02 16:20:03 deliver(www-data): Error: sieve: main_script: failed to stat sie                                                                             ve script: lstat(/var/vmail/sieve/dovecot.sieve) failed: Permission denied (euid                                                                             =33(www-data) egid=33(www-data) missing +x perm: /var/vmail)
Sep 02 16:20:03 deliver(www-data): Error: sieve: main_script: internal error occ                                                                             urred: refer to server log for more information. [2011-09-02 16:20:03]
Sep 02 16:20:03 deliver(www-data): Error: sieve: failed to open script /var/vmai                                                                             l/sieve/dovecot.sieve
Sep 02 16:20:03 deliver(www-data): Error: mkdir(//var/www/Maildir/cur) failed: P                                                                             ermission denied (euid=33(www-data) egid=33(www-data) missing +w perm: //var/www                                                                             )
Sep 02 16:20:03 deliver(www-data): Info: msgid=<20110902082003.848D442402@mail.c                                                                             aritasse.org>: save failed to INBOX: Internal error occurred. Refer to server lo                                                                             g for more information. [2011-09-02 16:20:03]

ahhfauliuhu 写道:

This is the mail system at host mail.2008113.com.

Status: 4.7.1
Remote-MTA: dns; mailin-01.mx.aol.com
Diagnostic-Code: smtp; 421 4.7.1 : (DNS:NR)
    http://postmaster.info.aol.com/errors/421dnsnr.html

看maillog会比较好吧

131

(5 篇回复,发表在 iRedMail 技术支持)

请张大哥和各位前辈有空可以帮看上面的LOG一下
我全新安装的centos 6 32bit  iRedMail0.7.3
装的时候DOVECOT提示错误
装完REBOOT可以用
谢谢

ahhfauliuhu 写道:

请教一个问题啊!
我安装了iredmail-0.7.3后收邮件比较慢,发的很快,收的慢,有的时候就用QQ发个邮件过来都要10分多钟甚至更多时间才能收到,我按照论坛的把灰名单取消了,GREYLISTING=1修改为GREYLISTING=0 ,结果收和发都比较快,但是垃圾邮件多了,请问这个问题如何解决,是不是能把灰名单的验证从发次数减少或调整下接受的时间?
请大家给解决下啊!
非常感谢了啊!

我现在用的0.7.2也是
收有时很慢(都用了快几个月了)
白名单加了都没用
Domain或者%.domain
还有IP & %.IP
用了很久还是见到三次拒绝的log

133

(5 篇回复,发表在 iRedMail 技术支持)

张大哥,0.7.3的版本还是会这样
重启系统之后好像又没问题
谢谢

# tail /var/log/sieve.log
Sep 01 18:27:23 lda: Error: userdb lookup: connect(/var/run/dovecot/auth-master) failed: No such file or directory
Sep 01 18:27:23 lda: Fatal: Internal error occurred. Refer to server log for more information.
Sep 01 18:27:23 lda: Error: userdb lookup: connect(/var/run/dovecot/auth-master) failed: No such file or directory
Sep 01 18:27:23 lda: Fatal: Internal error occurred. Refer to server log for more information.
Sep 01 18:35:30 lda(www@exa.com): Info: msgid=<20110901102723.83B57346D@mail.exa.com>: saved mail to INBOX
Sep 01 18:35:30 lda(www@exa.com): Info: msgid=<20110901102723.55CA7345D@mail.exa.com>: saved mail to INBOX

# tail /var/log/dovecot.log
Sep 01 18:30:21 master: Info: Dovecot v2.0.13 starting up (core dumps disabled)
Sep 01 18:30:22 ssl-params: Info: Generating SSL parameters
Sep 01 18:30:53 ssl-params: Info: SSL parameters regeneration completed
Sep 01 18:32:25 master: Warning: Killed with signal 15 (by pid=1718 uid=0 code=kill)
Sep 01 18:32:27 master: Info: Dovecot v2.0.13 starting up (core dumps disabled)
Sep 01 18:35:30 dict: Info: mysql(127.0.0.1): Connected to database iredadmin
Sep 01 18:35:30 dict: Info: mysql(127.0.0.1): Connected to database iredadmin

/var/log/maillog
Sep  1 18:30:29 mail postfix/master[1556]: daemon started -- version 2.6.6, configuration /etc/postfix
Sep  1 18:30:34 mail policyd: starting policyd v1.82
Sep  1 18:30:34 mail policyd: connecting to mysql database: 127.0.0.1
Sep  1 18:30:34 mail policyd: connected..
Sep  1 18:35:29 mail postfix/qmgr[1564]: 83B57346D: from=<root@mail.test.com>, size=1341, nrcpt=1 (queue active)
Sep  1 18:35:29 mail postfix/qmgr[1564]: 55CA7345D: from=<root@mail.test.com>, size=9315, nrcpt=1 (queue active)
Sep  1 18:35:30 mail postfix/pipe[1750]: 83B57346D: to=<www@test.com>, relay=dovecot, delay=487, delays=486/0.28/0/0.55, dsn=2.0.0, status=sent (delivered via dovecot service)
Sep  1 18:35:30 mail postfix/qmgr[1564]: 83B57346D: removed
Sep  1 18:35:30 mail postfix/pipe[1751]: 55CA7345D: to=<www@test.com>, relay=dovecot, delay=487, delays=487/0.06/0/0.54, dsn=2.0.0, status=sent (delivered via dovecot service)
Sep  1 18:35:30 mail postfix/qmgr[1564]: 55CA7345D: removed


# tail /var/log/httpd/*
==> /var/log/httpd/access_log <==

==> /var/log/httpd/error_log <==
[Thu Sep 01 18:28:56 2011] [error] Exception KeyError: KeyError(-1216018608,) in <module 'threading' from '/usr/lib/python2.6/threading.pyc'> ignored
[Thu Sep 01 18:28:56 2011] [error] Exception KeyError: KeyError(-1216018608,) in <module 'threading' from '/usr/lib/python2.6/threading.pyc'> ignored
[Thu Sep 01 18:28:56 2011] [error] Exception KeyError: KeyError(-1216018608,) in <module 'threading' from '/usr/lib/python2.6/threading.pyc'> ignored
[Thu Sep 01 18:28:57 2011] [notice] caught SIGTERM, shutting down
[Thu Sep 01 18:30:29 2011] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Thu Sep 01 18:30:30 2011] [notice] Digest: generating secret for digest authentication ...
[Thu Sep 01 18:30:30 2011] [notice] Digest: done
[Thu Sep 01 18:30:31 2011] [warn] mod_wsgi: Compiled for Python/2.6.2.
[Thu Sep 01 18:30:31 2011] [warn] mod_wsgi: Runtime using Python/2.6.5.
[Thu Sep 01 18:30:31 2011] [notice] Apache/2.2.15 (Unix) DAV/2 mod_ssl/2.2.15 OpenSSL/1.0.0-fips mod_wsgi/3.2 Python/2.6.5 configured -- resuming normal operations

==> /var/log/httpd/ssl_access_log <==

==> /var/log/httpd/ssl_error_log <==
[Thu Sep 01 18:27:00 2011] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Thu Sep 01 18:27:00 2011] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Thu Sep 01 18:30:30 2011] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Thu Sep 01 18:30:31 2011] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)

==> /var/log/httpd/ssl_request_log <==

134

(4 篇回复,发表在 iRedMail 技术支持)

用apache限制ip
或者htaccess不就行了吗

135

(5 篇回复,发表在 iRedMail 技术支持)

Aug 15 10:27:04 deliver(changamigo@iredmail.org): Info: msgid=<c3bc7b7138cf5e8d9919321befbda33c@iredmail.org>: saved mail to INBOX
Aug 15 10:46:01 deliver(isabel@iredmail.org): Info: msgid=<52262F7548861545B4E72743BD960FF289FA105894@SREXCPP01.jsshk.com>: saved mail to INBOX
Aug 15 11:10:24 deliver(isabel@iredmail.org): Info: msgid=<000501cc5af6$b8830270$29890750$@yop.org>: saved mail to INBOX
Aug 15 11:48:39 deliver(chuiwilson@iredmail.org): Info: msgid=<20110815034838.8A130171005E@mail.iredmail.org>: saved mail to INBOX
Aug 15 12:13:47 deliver(chuiwilson@iredmail.org): Info: msgid=<20110815041346.1996E171005E@mail.iredmail.org>: saved mail to INBOX
Aug 15 12:14:12 deliver(support@iredmail.org): Info: sieve: msgid=<53076acc52cc0a1c2a765cec3dda74e3@iredmail.org>: stored mail into mailbox 'INBOX'
Aug 15 12:14:21 deliver(leung@iredmail.org): Info: msgid=<fac5a9a2e9259b77ba68a779e70a7858@iredmail.org>: saved mail to INBOX
Aug 15 12:14:21 deliver(linmatthew@iredmail.org): Info: sieve: msgid=<fac5a9a2e9259b77ba68a779e70a7858@iredmail.org>: forwarded to <mrbird0112@yahoo.com.cn>
Aug 15 12:14:21 deliver(isabel@iredmail.org): Info: msgid=<fac5a9a2e9259b77ba68a779e70a7858@iredmail.org>: saved mail to INBOX
Aug 15 12:14:21 deliver(kofrankie@iredmail.org): Info: msgid=<fac5a9a2e9259b77ba68a779e70a7858@iredmail.org>: saved mail to INBOX
Aug 15 12:14:21 deliver(sharon@iredmail.org): Info: msgid=<fac5a9a2e9259b77ba68a779e70a7858@iredmail.org>: saved mail to INBOX
Aug 15 12:14:21 deliver(lamemily@iredmail.org): Info: msgid=<fac5a9a2e9259b77ba68a779e70a7858@iredmail.org>: saved mail to INBOX
Aug 15 12:14:21 deliver(leemiu@iredmail.org): Info: msgid=<fac5a9a2e9259b77ba68a779e70a7858@iredmail.org>: saved mail to INBOX
Aug 15 12:14:21 deliver(leechauyi@iredmail.org): Info: msgid=<fac5a9a2e9259b77ba68a779e70a7858@iredmail.org>: saved mail to INBOX
Aug 15 12:16:06 deliver(linmatthew@iredmail.org): Info: sieve: msgid=<20110815041605.13741171005E@mail.iredmail.org>: forwarded to <mrbird0112@yahoo.com.hk>
Aug 15 12:19:53 deliver(lilai@iredmail.org): Info: msgid=<20110815041952.13E73171005E@mail.iredmail.org>: saved mail to INBOX
service --status-all

netstat
没有端口 2000的踪影

[Solved 写道:

Managesieve Global filter]
http://www.iredmail.org/forum/topic1298 … ilter.html

136

(5 篇回复,发表在 iRedMail 技术支持)

打错了
谢谢
张大哥
tongue
我还是停了policyd好了
用了半年它还是对白名单的邮址拒绝3次~”~

137

(5 篇回复,发表在 iRedMail 技术支持)


我再检查一下
谢谢江大哥

138

(5 篇回复,发表在 iRedMail 技术支持)

用了Filter SEND mail copy to 就出现
请问一下大家有试过这样的问题吗
谢谢
用了半年了
Policyd还是会reject yahoo 3次


Aug 11 09:48:14 mail roundcube: BYE "Internal error occured. Refer to server log for more information. [2011-08-11 09:48:14]" (6):
Aug 11 09:48:14 mail roundcube: PHP Error: Unable to connect to managesieve on 127.0.0.1:2000 in /var/www/roundcubemail-0.5.2/plugins/managesieve/managesieve.php on line 136 (GET /mail/?_task=settings&_action=plugin.managesieve)
Aug 11 09:48:14 mail roundcube: Not currently in AUTHORISATION state (1):
Aug 11 09:48:14 mail roundcube: Not currently in AUTHORISATION state (1):
Aug 11 09:48:14 mail roundcube: Not currently connected (1):
Aug 11 09:53:46 mail postfix/smtpd[23662]: connect from unknown[209.85.210.44]
Aug 11 01:53:47 mail policyd: connection from: 127.0.0.1 port: 57379 slots: 0 of 2044 used

139

(2 篇回复,发表在 iRedMail 技术支持)

我现在的做法还是普通计算机用raid 1
等买江大哥的下一个版本
开源版的maillist手动很麻烦
加油

140

(5 篇回复,发表在 iRedMail 技术支持)

many thanks

Stopping Dovecot Imap:                                     [FAILED]
Starting Dovecot Imap: doveconf: Fatal: Error in configuration file /tmp/iRedMail-0.7.3-rc2/config line 2: Expecting '='
doveconf: Error: managesieve-login: dump-capability process returned 89
doveconf: Fatal: Error in configuration file /tmp/iRedMail-0.7.3-rc2/config line 2: Expecting '='
                                                           [FAILED]
Shutting down amavisd: The amavisd daemon is apparently not running, no PID file /var/run/amavisd/amavisd.pid
                                                           [FAILED]

Starting amavisd:                                          [  OK  ]

Stopping Clam AntiVirus Daemon:                            [FAILED]
Starting Clam AntiVirus Daemon: Bytecode: Security mode set to

学习了
谢谢

142

(4 篇回复,发表在 iRedMail 技术支持)

ZhangHuangbin 写道:

复制后修改为相同的 owner/group 和文件权限即可。

请问一下有人可以告诉我这个要怎么做?
谢谢

可能DNS出問題了

outlook 設定有問題

145

(1 篇回复,发表在 iRedMail 技术支持)

我把0.6.1 CUR内的邮件丢去0.7.1
在ROUNDCUBE可以看到以前的邮件还原了
可是左边没了我以前自己自定的文件夹
那些数据资都可以还原的吗
谢谢各位

http://www.mattiasdanielsson.se/2010/bu … ilereader/

应该很少吧
全部删了
重装的centos和iredmail0.7.1
还是收不到个别smtp收来的信,没log
暂时只想到dns出事了

147

(2 篇回复,发表在 iRedMail 技术支持)

yzhkpli 写道:

你没找对方的管理员让他们检查一下对方自己的服务器?联系了没?

他们好像不是很想做
我试了用那mail在OE上发信给我的iredmail
用其他smtp就可以
明天再重装多一次
装0.7.1
谢谢大家了

148

(2 篇回复,发表在 iRedMail 技术支持)

试了几天发现
突然某些webmail寄不了信到我的iredmail
每次退信都说
Subject: Delivery Failure
---------------------------------------------------------------------------------
The message you sent to domain.com/postmaster was rejected because it would exceed the quota for the mailbox.
但是很奇怪,maillog没相关信息
我换了用其他寄户端(用其他stmp)去寄又可以
Maillog也有显示
全新安装的IREDLAIL7也有同样的问题
大家有这样的经历吗

149

(2 篇回复,发表在 iRedMail 技术支持)

张大哥的速度真快
支持一下

非常谢谢张大哥的解释
再装多一次系统和iredmail看看