==== 必填信息。没有填写将不予回复 ====
- iRedMail 版本号:0.9.6
- 使用哪个数据库存储用户帐号(OpenLDAP,MySQL,PostgreSQL):mysql
- 使用的 Linux/BSD 发行版名称及版本号:centos-release-7-0.1406.el7.centos.2.3.x86_64
- 与您的问题相关的日志信息:
====
张老板好:
我安装了2台iredmail服务器,但无法公用一个数据库,因为这两台服务器用户的密码并不相同。
/etc/postfix/mysq
/etc/dovecot
我现在找到了上面这两个目录,同步后可以登录了,但还是无法发信
现在提示amavisd这个用户的密码不对。
请问
User: 'amavisd'@'localhost';         |
| User: 'iredadmin'@'localhost';       |
| User: 'iredapd'@'localhost';         |          |
| User: 'roundcube'@'localhost';       |
| User: 'vmail'@'localhost';           |
| User: 'vmailadmin'@'localhost';      |
这些用户的密码都在哪里修改,谢谢!

在iRedMail-0.9.6目录config文件里找到了相应的密码
但如何使这些密码同步到他应该在的文件里

2

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

==== 必填信息。没有填写将不予回复 ====
- iRedMail 版本号:0.9.6
- 使用哪个数据库存储用户帐号(OpenLDAP,MySQL,PostgreSQL):mysql
- 使用的 Linux/BSD 发行版名称及版本号:centos-release-7-0.1406.el7.centos.2.3.x86_64
- 与您的问题相关的日志信息:
====
张老板好,
出现了以下问题,请问如何解决,谢谢!


2017/05/25 15:28:40 [error] 10289#0: *309 FastCGI sent in stderr: "PHP message: ERROR: Invalid response code received from server (451)" while reading response header from upstream, client: 192.168.20.37, server: _, request: "POST /mail/?_task=mail&_unlock=loading1495697302913&_lang=en&_framed=1 HTTP/1.1", upstream: "fastcgi://unix:/var/run/php-fpm/php-fpm.socket:", host: "192.168.20.34", referrer: "https://192.168.20.34/mail/?_task=mail& … 6879e41f19"
2017/05/25 15:28:40 [error] 10289#0: *306 FastCGI sent in stderr: "PHP message: ==rcube_imap=host=127.0.0.1===user===1@ctsat.com==pass===123qwe===port===143==ssl==
PHP message: ==rcube_imap=host=connected=1" while reading response header from upstream, client: 192.168.20.37, server: _, request: "GET /mail/?_task=mail&_action=composesuccess HTTP/1.1", upstream: "fastcgi://unix:/var/run/php-fpm/php-fpm.socket:", host: "192.168.20.34", referrer: "https://192.168.20.34/mail/?_task=mail& … ;_framed=1"
2017/05/25 15:28:41 [error] 10289#0: *306 FastCGI sent in stderr: "PHP message: ===get_folder==333333=1111
PHP message: ==rcube_imap=host=127.0.0.1===user===1@ctsat.com==pass===123qwe===port===143==ssl==
PHP message: ==rcube_imap=host=connected=1
PHP message: PHP Warning:  Illegal offset type in isset or empty in /var/www/roundcubemail-1.2.0/program/lib/Roundcube/rcube.php on line 656
PHP message: ===save_folder====outpurt=====" while reading response header from upstream, client: 192.168.20.37, server: _, request: "POST /mail/?_task=mail&_action=get_folderlist HTTP/1.1", upstream: "fastcgi://unix:/var/run/php-fpm/php-fpm.socket:", host: "192.168.20.34", referrer: "https://192.168.20.34/mail/?_task=mail& … osesuccess"

3

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

==== 必填信息。没有填写将不予回复 ====
- iRedMail 版本号:0.9.6
- 使用哪个数据库存储用户帐号(OpenLDAP,MySQL,PostgreSQL):mysql
- 使用的 Linux/BSD 发行版名称及版本号:centos-release-7-0.1406.el7.centos.2.3.x86_64
- 与您的问题相关的日志信息:
====
请教iredmail启动需要依赖哪些服务,
从以前的帖子里找到了下面这几个。
不知道现在有没有更新或遗漏的?
httpd mysqld dovecot iredapd policyd postfix nginx

Apr 25 11:31:46 mail postfix/scache[2810]: statistics: start interval Apr 25 11:28:25
Apr 25 11:31:46 mail postfix/scache[2810]: statistics: domain lookup hits=0 miss=2 success=0%
Apr 25 11:31:46 mail postfix/scache[2810]: statistics: address lookup hits=0 miss=2 success=0%
Apr 25 11:33:25 mail postfix/qmgr[2787]: 89B67801AA6A: from=<12312300000@ctsat.com>, size=1034, nrcpt=1 (queue active)
Apr 25 11:33:25 mail postfix/qmgr[2787]: 0FB71801AA78: from=<12312300000@ctsat.com>, size=1129, nrcpt=1 (queue active)
Apr 25 11:33:25 mail postfix/qmgr[2787]: A7CCE801AA7F: from=<12312300000@ctsat.com>, size=1039, nrcpt=1 (queue active)
Apr 25 11:33:25 mail amavis[3450]: (03450-01) (!)connect_to_sql: unable to connect to DSN 'DBI:mysql:database=amavisd;host=127.0.0.1;port=3306': Access denied for user 'amavisd'@'localhost' (using password: YES)
Apr 25 11:33:25 mail amavis[3450]: (03450-01) (!!)TROUBLE in process_request: connect_to_sql: unable to connect to any dataset at (eval 128) line 252.
Apr 25 11:33:25 mail amavis[3450]: (03450-01) (!)Requesting process rundown after fatal error
Apr 25 11:33:25 mail amavis[3451]: (03451-01) (!)connect_to_sql: unable to connect to DSN 'DBI:mysql:database=amavisd;host=127.0.0.1;port=3306': Access denied for user 'amavisd'@'localhost' (using password: YES)
Apr 25 11:33:25 mail amavis[3451]: (03451-01) (!!)TROUBLE in process_request: connect_to_sql: unable to connect to any dataset at (eval 128) line 252.
Apr 25 11:33:25 mail amavis[3451]: (03451-01) (!)Requesting process rundown after fatal error
Apr 25 11:33:25 mail postfix/smtp-amavis/smtp[3586]: 89B67801AA6A: to=<12312300000@ctsat.com>, relay=127.0.0.1[127.0.0.1]:10026, delay=4694, delays=4694/0.04/0.01/0.1, dsn=4.3.2, status=deferred (host 127.0.0.1[127.0.0.1] said: 421 4.3.2 Service shutting down, closing channel (in reply to RCPT TO command))
Apr 25 11:33:25 mail postfix/smtp-amavis/smtp[3587]: 0FB71801AA78: to=<12312300000@ctsat.com>, relay=127.0.0.1[127.0.0.1]:10026, delay=2260, delays=2260/0.04/0.02/0.08, dsn=4.3.2, status=deferred (host 127.0.0.1[127.0.0.1] said: 421 4.3.2 Service shutting down, closing channel (in reply to RCPT TO command))
Apr 25 11:33:25 mail amavis[3594]: (03594-01) (!)connect_to_sql: unable to connect to DSN 'DBI:mysql:database=amavisd;host=127.0.0.1;port=3306': Access denied for user 'amavisd'@'localhost' (using password: YES)
Apr 25 11:33:25 mail amavis[3594]: (03594-01) (!!)TROUBLE in process_request: connect_to_sql: unable to connect to any dataset at (eval 128) line 252.
Apr 25 11:33:25 mail amavis[3594]: (03594-01) (!)Requesting process rundown after fatal error
Apr 25 11:33:25 mail postfix/smtp-amavis/smtp[3589]: A7CCE801AA7F: to=<12312300000@ctsat.com>, relay=127.0.0.1[127.0.0.1]:10026, delay=416, delays=416/0.1/0.11/0.04, dsn=4.3.2, status=deferred (host 127.0.0.1[127.0.0.1] said: 421 4.3.2 Service shutting down, closing channel (in reply to RCPT TO command))

ZhangHuangbin 写道:

iRedAPD 有 systemd 启动脚本。你用 systemctl 命令来控制即可。

大侠,你还没告诉mysql的问题呢。这个错误是因为密码吗,iredmail是有哪里设置这些默认的密码吗。
还是什么其他问题。这是全新的环境,什么其他的都没装。

ZhangHuangbin 写道:

iRedAPD 有 systemd 启动脚本。你用 systemctl 命令来控制即可。

[root@mail ~]# systemctl start iredapd
Failed to start iredapd.service: Unit not found.

我是全新的环境 怎么会Access denied for user 'amavisd'@'localhost' (using password: YES)有这个错误

iredapd不是应该开机自启的吗

Apr 25 10:15:11 mail postfix/submission/smtpd[19635]: connect from localhost[127.0.0.1]
Apr 25 10:15:11 mail postfix/submission/smtpd[19635]: Anonymous TLS connection established from localhost[127.0.0.1]: TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)
Apr 25 10:15:11 mail postfix/submission/smtpd[19635]: 89B67801AA6A: client=localhost[127.0.0.1], sasl_method=LOGIN, sasl_username=12312300000@ctsat.com
Apr 25 10:15:11 mail postfix/cleanup[19639]: 89B67801AA6A: message-id=<b272ab41ac3c7433ac80fc5ab4500d86@ctsat.com>
Apr 25 10:15:11 mail postfix/qmgr[18190]: 89B67801AA6A: from=<12312300000@ctsat.com>, size=1034, nrcpt=1 (queue active)
Apr 25 10:15:11 mail roundcube: <o60otfrv> User 12312300000@ctsat.com [192.168.20.37]; Message for 12312300000@ctsat.com; 250: 2.0.0 Ok: queued as 89B67801AA6A
Apr 25 10:15:11 mail amavis[19448]: (19448-01) (!)connect_to_sql: unable to connect to DSN 'DBI:mysql:database=amavisd;host=127.0.0.1;port=3306': Access denied for user 'amavisd'@'localhost' (using password: YES)
Apr 25 10:15:11 mail amavis[19448]: (19448-01) (!!)TROUBLE in process_request: connect_to_sql: unable to connect to any dataset at (eval 128) line 252.
Apr 25 10:15:11 mail amavis[19448]: (19448-01) (!)Requesting process rundown after fatal error
Apr 25 10:15:11 mail postfix/smtp-amavis/smtp[19644]: 89B67801AA6A: to=<12312300000@ctsat.com>, relay=127.0.0.1[127.0.0.1]:10026, delay=0.18, delays=0.08/0.02/0.02/0.07, dsn=4.3.2, status=deferred (host 127.0.0.1[127.0.0.1] said: 421 4.3.2 Service shutting down, closing channel (in reply to RCPT TO command))
Apr 25 10:15:12 mail postfix/submission/smtpd[19635]: disconnect from localhost[127.0.0.1]
Apr 25 10:17:19 mail postfix/qmgr[18190]: 35A59801AA71: from=<12312300000@ctsat.com>, size=1054, nrcpt=1 (queue active)
Apr 25 10:17:19 mail amavis[19449]: (19449-01) (!)connect_to_sql: unable to connect to DSN 'DBI:mysql:database=amavisd;host=127.0.0.1;port=3306': Access denied for user 'amavisd'@'localhost' (using password: YES)
Apr 25 10:17:19 mail amavis[19449]: (19449-01) (!!)TROUBLE in process_request: connect_to_sql: unable to connect to any dataset at (eval 128) line 252.
Apr 25 10:17:19 mail amavis[19449]: (19449-01) (!)Requesting process rundown after fatal error
Apr 25 10:17:19 mail postfix/smtp-amavis/smtp[19688]: 35A59801AA71: to=<12312300000@ctsat.com>, relay=127.0.0.1[127.0.0.1]:10026, delay=920, delays=920/0.02/0.01/0.06, dsn=4.3.2, status=deferred (host 127.0.0.1[127.0.0.1] said: 421 4.3.2 Service shutting down, closing channel (in reply to RCPT TO command))

Apr 25 09:53:20 mail dovecot: imap(12312300000@ctsat.com): Debug: Loading modules from directory: /usr/lib64/dovecot
Apr 25 09:53:20 mail dovecot: imap(12312300000@ctsat.com): Debug: Module loaded: /usr/lib64/dovecot/lib01_acl_plugin.so
Apr 25 09:53:20 mail dovecot: imap(12312300000@ctsat.com): Debug: Module loaded: /usr/lib64/dovecot/lib02_imap_acl_plugin.so
Apr 25 09:53:20 mail dovecot: imap(12312300000@ctsat.com): Debug: Module loaded: /usr/lib64/dovecot/lib10_quota_plugin.so
Apr 25 09:53:20 mail dovecot: imap(12312300000@ctsat.com): Debug: Module loaded: /usr/lib64/dovecot/lib11_imap_quota_plugin.so
Apr 25 09:53:20 mail dovecot: imap(12312300000@ctsat.com): Debug: Module loaded: /usr/lib64/dovecot/lib20_mailbox_alias_plugin.so
Apr 25 09:53:20 mail dovecot: imap(12312300000@ctsat.com): Debug: Added userdb setting: plugin/master_user=12312300000@ctsat.com
Apr 25 09:53:20 mail dovecot: imap(12312300000@ctsat.com): Debug: Added userdb setting: plugin/quota_rule=*:bytes=1073741824
Apr 25 09:53:20 mail dovecot: imap(12312300000@ctsat.com): Debug: Effective uid=2000, gid=2000, home=/var/vmail/vmail1/ctsat.com/1/2/3/12312300000-2017.04.24.20.33.40/
Apr 25 09:53:20 mail dovecot: imap(12312300000@ctsat.com): Debug: Quota root: name=user backend=dict args=:proxy::quotadict
Apr 25 09:53:20 mail dovecot: imap(12312300000@ctsat.com): Debug: Quota rule: root=user mailbox=* bytes=1073741824 messages=0
Apr 25 09:53:20 mail dovecot: imap(12312300000@ctsat.com): Debug: Quota warning: bytes=1073741824 (100%) messages=0 reverse=no command=quota-warning 100 12312300000@ctsat.com
Apr 25 09:53:20 mail dovecot: imap(12312300000@ctsat.com): Debug: Quota warning: bytes=1020054732 (95%) messages=0 reverse=no command=quota-warning 95 12312300000@ctsat.com
Apr 25 09:53:20 mail dovecot: imap(12312300000@ctsat.com): Debug: Quota warning: bytes=966367641 (90%) messages=0 reverse=no command=quota-warning 90 12312300000@ctsat.com
Apr 25 09:53:20 mail dovecot: imap(12312300000@ctsat.com): Debug: Quota warning: bytes=912680550 (85%) messages=0 reverse=no command=quota-warning 85 12312300000@ctsat.com
Apr 25 09:53:20 mail dovecot: imap(12312300000@ctsat.com): Debug: Quota grace: root=user bytes=107374182 (10%)
Apr 25 09:53:20 mail dovecot: imap(12312300000@ctsat.com): Debug: dict quota: user=12312300000@ctsat.com, uri=proxy::quotadict, noenforcing=0
Apr 25 09:53:20 mail dovecot: imap(12312300000@ctsat.com): Debug: Namespace : type=private, prefix=, sep=/, inbox=yes, hidden=no, list=yes, subscriptions=yes location=maildir:/var/vmail/vmail1/ctsat.com/1/2/3/12312300000-2017.04.24.20.33.40//Maildir/:INDEX=/var/vmail/vmail1/ctsat.com/1/2/3/12312300000-2017.04.24.20.33.40//Maildir/
Apr 25 09:53:20 mail dovecot: imap(12312300000@ctsat.com): Debug: maildir++: root=/var/vmail/vmail1/ctsat.com/1/2/3/12312300000-2017.04.24.20.33.40//Maildir, index=, indexpvt=, control=, inbox=/var/vmail/vmail1/ctsat.com/1/2/3/12312300000-2017.04.24.20.33.40//Maildir, alt=
Apr 25 09:53:20 mail dovecot: imap(12312300000@ctsat.com): Debug: acl: initializing backend with data: vfile
Apr 25 09:53:20 mail dovecot: imap(12312300000@ctsat.com): Debug: acl: acl username = 12312300000@ctsat.com
Apr 25 09:53:20 mail dovecot: imap(12312300000@ctsat.com): Debug: acl: owner = 1
Apr 25 09:53:20 mail dovecot: imap(12312300000@ctsat.com): Debug: acl vfile: Global ACLs disabled
Apr 25 09:53:20 mail dovecot: imap(12312300000@ctsat.com): Debug: Namespace : type=shared, prefix=Shared/%u/, sep=/, inbox=no, hidden=no, list=children, subscriptions=yes location=maildir:%Lh/Maildir/:INDEX=%Lh/Maildir/Shared/%Ld/%Ln
Apr 25 09:53:20 mail dovecot: imap(12312300000@ctsat.com): Debug: shared: root=/var/run/dovecot, index=, indexpvt=, control=, inbox=, alt=
Apr 25 09:53:20 mail dovecot: imap(12312300000@ctsat.com): Debug: acl: initializing backend with data: vfile
Apr 25 09:53:20 mail dovecot: imap(12312300000@ctsat.com): Debug: acl: acl username = 12312300000@ctsat.com
Apr 25 09:53:20 mail dovecot: imap(12312300000@ctsat.com): Debug: acl: owner = 0
Apr 25 09:53:20 mail dovecot: imap(12312300000@ctsat.com): Debug: acl vfile: Global ACLs disabled
Apr 25 09:53:20 mail dovecot: imap(12312300000@ctsat.com): Debug: quota: quota_over_flag check: quota_over_script unset - skipping
Apr 25 09:53:20 mail dovecot: imap(12312300000@ctsat.com): Debug: acl vfile: file /var/vmail/vmail1/ctsat.com/1/2/3/12312300000-2017.04.24.20.33.40//Maildir/.Sent/dovecot-acl not found
Apr 25 09:53:22 mail dovecot: imap(12312300000@ctsat.com): Debug: Loading modules from directory: /usr/lib64/dovecot
Apr 25 09:53:22 mail dovecot: imap(12312300000@ctsat.com): Debug: Module loaded: /usr/lib64/dovecot/lib01_acl_plugin.so
Apr 25 09:53:22 mail dovecot: imap(12312300000@ctsat.com): Debug: Module loaded: /usr/lib64/dovecot/lib02_imap_acl_plugin.so
Apr 25 09:53:22 mail dovecot: imap(12312300000@ctsat.com): Debug: Module loaded: /usr/lib64/dovecot/lib10_quota_plugin.so
Apr 25 09:53:22 mail dovecot: imap(12312300000@ctsat.com): Debug: Module loaded: /usr/lib64/dovecot/lib11_imap_quota_plugin.so
Apr 25 09:53:22 mail dovecot: imap(12312300000@ctsat.com): Debug: Module loaded: /usr/lib64/dovecot/lib20_mailbox_alias_plugin.so
Apr 25 09:53:22 mail dovecot: imap(12312300000@ctsat.com): Debug: Added userdb setting: plugin/master_user=12312300000@ctsat.com
Apr 25 09:53:22 mail dovecot: imap(12312300000@ctsat.com): Debug: Added userdb setting: plugin/quota_rule=*:bytes=1073741824
Apr 25 09:53:22 mail dovecot: imap(12312300000@ctsat.com): Debug: Effective uid=2000, gid=2000, home=/var/vmail/vmail1/ctsat.com/1/2/3/12312300000-2017.04.24.20.33.40/
Apr 25 09:53:22 mail dovecot: imap(12312300000@ctsat.com): Debug: Quota root: name=user backend=dict args=:proxy::quotadict
Apr 25 09:53:22 mail dovecot: imap(12312300000@ctsat.com): Debug: Quota rule: root=user mailbox=* bytes=1073741824 messages=0
Apr 25 09:53:22 mail dovecot: imap(12312300000@ctsat.com): Debug: Quota warning: bytes=1073741824 (100%) messages=0 reverse=no command=quota-warning 100 12312300000@ctsat.com
Apr 25 09:53:22 mail dovecot: imap(12312300000@ctsat.com): Debug: Quota warning: bytes=1020054732 (95%) messages=0 reverse=no command=quota-warning 95 12312300000@ctsat.com
Apr 25 09:53:22 mail dovecot: imap(12312300000@ctsat.com): Debug: Quota warning: bytes=966367641 (90%) messages=0 reverse=no command=quota-warning 90 12312300000@ctsat.com
Apr 25 09:53:22 mail dovecot: imap(12312300000@ctsat.com): Debug: Quota warning: bytes=912680550 (85%) messages=0 reverse=no command=quota-warning 85 12312300000@ctsat.com
Apr 25 09:53:22 mail dovecot: imap(12312300000@ctsat.com): Debug: Quota grace: root=user bytes=107374182 (10%)
Apr 25 09:53:22 mail dovecot: imap(12312300000@ctsat.com): Debug: dict quota: user=12312300000@ctsat.com, uri=proxy::quotadict, noenforcing=0
Apr 25 09:53:22 mail dovecot: imap(12312300000@ctsat.com): Debug: Namespace : type=private, prefix=, sep=/, inbox=yes, hidden=no, list=yes, subscriptions=yes location=maildir:/var/vmail/vmail1/ctsat.com/1/2/3/12312300000-2017.04.24.20.33.40//Maildir/:INDEX=/var/vmail/vmail1/ctsat.com/1/2/3/12312300000-2017.04.24.20.33.40//Maildir/
Apr 25 09:53:22 mail dovecot: imap(12312300000@ctsat.com): Debug: maildir++: root=/var/vmail/vmail1/ctsat.com/1/2/3/12312300000-2017.04.24.20.33.40//Maildir, index=, indexpvt=, control=, inbox=/var/vmail/vmail1/ctsat.com/1/2/3/12312300000-2017.04.24.20.33.40//Maildir, alt=
Apr 25 09:53:22 mail dovecot: imap(12312300000@ctsat.com): Debug: acl: initializing backend with data: vfile
Apr 25 09:53:22 mail dovecot: imap(12312300000@ctsat.com): Debug: acl: acl username = 12312300000@ctsat.com
Apr 25 09:53:22 mail dovecot: imap(12312300000@ctsat.com): Debug: acl: owner = 1
Apr 25 09:53:22 mail dovecot: imap(12312300000@ctsat.com): Debug: acl vfile: Global ACLs disabled
Apr 25 09:53:22 mail dovecot: imap(12312300000@ctsat.com): Debug: Namespace : type=shared, prefix=Shared/%u/, sep=/, inbox=no, hidden=no, list=children, subscriptions=yes location=maildir:%Lh/Maildir/:INDEX=%Lh/Maildir/Shared/%Ld/%Ln
Apr 25 09:53:22 mail dovecot: imap(12312300000@ctsat.com): Debug: shared: root=/var/run/dovecot, index=, indexpvt=, control=, inbox=, alt=
Apr 25 09:53:22 mail dovecot: imap(12312300000@ctsat.com): Debug: acl: initializing backend with data: vfile
Apr 25 09:53:22 mail dovecot: imap(12312300000@ctsat.com): Debug: acl: acl username = 12312300000@ctsat.com
Apr 25 09:53:22 mail dovecot: imap(12312300000@ctsat.com): Debug: acl: owner = 0
Apr 25 09:53:22 mail dovecot: imap(12312300000@ctsat.com): Debug: acl vfile: Global ACLs disabled
Apr 25 09:53:22 mail dovecot: imap(12312300000@ctsat.com): Debug: quota: quota_over_flag check: quota_over_script unset - skipping
Apr 25 09:53:22 mail dovecot: imap(12312300000@ctsat.com): Debug: acl vfile: file /var/vmail/vmail1/ctsat.com/1/2/3/12312300000-2017.04.24.20.33.40//Maildir/dovecot-acl not found
Apr 25 09:53:22 mail dovecot: imap(12312300000@ctsat.com): Debug: acl vfile: file /var/vmail/vmail1/ctsat.com/1/2/3/12312300000-2017.04.24.20.33.40//Maildir/.Drafts/dovecot-acl not found
Apr 25 09:53:23 mail dovecot: imap(12312300000@ctsat.com): Debug: Loading modules from directory: /usr/lib64/dovecot
Apr 25 09:53:23 mail dovecot: imap(12312300000@ctsat.com): Debug: Module loaded: /usr/lib64/dovecot/lib01_acl_plugin.so
Apr 25 09:53:23 mail dovecot: imap(12312300000@ctsat.com): Debug: Module loaded: /usr/lib64/dovecot/lib02_imap_acl_plugin.so
Apr 25 09:53:23 mail dovecot: imap(12312300000@ctsat.com): Debug: Module loaded: /usr/lib64/dovecot/lib10_quota_plugin.so
Apr 25 09:53:23 mail dovecot: imap(12312300000@ctsat.com): Debug: Module loaded: /usr/lib64/dovecot/lib11_imap_quota_plugin.so
Apr 25 09:53:23 mail dovecot: imap(12312300000@ctsat.com): Debug: Module loaded: /usr/lib64/dovecot/lib20_mailbox_alias_plugin.so
Apr 25 09:53:23 mail dovecot: imap(12312300000@ctsat.com): Debug: Added userdb setting: plugin/master_user=12312300000@ctsat.com
Apr 25 09:53:23 mail dovecot: imap(12312300000@ctsat.com): Debug: Added userdb setting: plugin/quota_rule=*:bytes=1073741824
Apr 25 09:53:23 mail dovecot: imap(12312300000@ctsat.com): Debug: Effective uid=2000, gid=2000, home=/var/vmail/vmail1/ctsat.com/1/2/3/12312300000-2017.04.24.20.33.40/
Apr 25 09:53:23 mail dovecot: imap(12312300000@ctsat.com): Debug: Quota root: name=user backend=dict args=:proxy::quotadict
Apr 25 09:53:23 mail dovecot: imap(12312300000@ctsat.com): Debug: Quota rule: root=user mailbox=* bytes=1073741824 messages=0
Apr 25 09:53:23 mail dovecot: imap(12312300000@ctsat.com): Debug: Quota warning: bytes=1073741824 (100%) messages=0 reverse=no command=quota-warning 100 12312300000@ctsat.com
Apr 25 09:53:23 mail dovecot: imap(12312300000@ctsat.com): Debug: Quota warning: bytes=1020054732 (95%) messages=0 reverse=no command=quota-warning 95 12312300000@ctsat.com
Apr 25 09:53:23 mail dovecot: imap(12312300000@ctsat.com): Debug: Quota warning: bytes=966367641 (90%) messages=0 reverse=no command=quota-warning 90 12312300000@ctsat.com
Apr 25 09:53:23 mail dovecot: imap(12312300000@ctsat.com): Debug: Quota warning: bytes=912680550 (85%) messages=0 reverse=no command=quota-warning 85 12312300000@ctsat.com
Apr 25 09:53:23 mail dovecot: imap(12312300000@ctsat.com): Debug: Quota grace: root=user bytes=107374182 (10%)
Apr 25 09:53:23 mail dovecot: imap(12312300000@ctsat.com): Debug: dict quota: user=12312300000@ctsat.com, uri=proxy::quotadict, noenforcing=0
Apr 25 09:53:23 mail dovecot: imap(12312300000@ctsat.com): Debug: Namespace : type=private, prefix=, sep=/, inbox=yes, hidden=no, list=yes, subscriptions=yes location=maildir:/var/vmail/vmail1/ctsat.com/1/2/3/12312300000-2017.04.24.20.33.40//Maildir/:INDEX=/var/vmail/vmail1/ctsat.com/1/2/3/12312300000-2017.04.24.20.33.40//Maildir/
Apr 25 09:53:23 mail dovecot: imap(12312300000@ctsat.com): Debug: maildir++: root=/var/vmail/vmail1/ctsat.com/1/2/3/12312300000-2017.04.24.20.33.40//Maildir, index=, indexpvt=, control=, inbox=/var/vmail/vmail1/ctsat.com/1/2/3/12312300000-2017.04.24.20.33.40//Maildir, alt=
Apr 25 09:53:23 mail dovecot: imap(12312300000@ctsat.com): Debug: acl: initializing backend with data: vfile
Apr 25 09:53:23 mail dovecot: imap(12312300000@ctsat.com): Debug: acl: acl username = 12312300000@ctsat.com
Apr 25 09:53:23 mail dovecot: imap(12312300000@ctsat.com): Debug: acl: owner = 1
Apr 25 09:53:23 mail dovecot: imap(12312300000@ctsat.com): Debug: acl vfile: Global ACLs disabled
Apr 25 09:53:23 mail dovecot: imap(12312300000@ctsat.com): Debug: Namespace : type=shared, prefix=Shared/%u/, sep=/, inbox=no, hidden=no, list=children, subscriptions=yes location=maildir:%Lh/Maildir/:INDEX=%Lh/Maildir/Shared/%Ld/%Ln
Apr 25 09:53:23 mail dovecot: imap(12312300000@ctsat.com): Debug: shared: root=/var/run/dovecot, index=, indexpvt=, control=, inbox=, alt=
Apr 25 09:53:23 mail dovecot: imap(12312300000@ctsat.com): Debug: acl: initializing backend with data: vfile
Apr 25 09:53:23 mail dovecot: imap(12312300000@ctsat.com): Debug: acl: acl username = 12312300000@ctsat.com
Apr 25 09:53:23 mail dovecot: imap(12312300000@ctsat.com): Debug: acl: owner = 0
Apr 25 09:53:23 mail dovecot: imap(12312300000@ctsat.com): Debug: acl vfile: Global ACLs disabled
Apr 25 09:53:23 mail dovecot: imap(12312300000@ctsat.com): Debug: quota: quota_over_flag check: quota_over_script unset - skipping
Apr 25 09:53:23 mail dovecot: imap(12312300000@ctsat.com): Debug: acl vfile: file /var/vmail/vmail1/ctsat.com/1/2/3/12312300000-2017.04.24.20.33.40//Maildir/.Drafts/dovecot-acl not found
Apr 25 09:53:23 mail dovecot: imap(12312300000@ctsat.com): Debug: acl vfile: file /var/vmail/vmail1/ctsat.com/1/2/3/12312300000-2017.04.24.20.33.40//Maildir/.other/dovecot-acl not found
Apr 25 09:53:23 mail dovecot: imap(12312300000@ctsat.com): Debug: acl vfile: file /var/vmail/vmail1/ctsat.com/1/2/3/12312300000-2017.04.24.20.33.40//Maildir/.Sent/dovecot-acl not found

从0.9.5版本里复制了脚本过来,现在能发邮件,但收件箱为空。

==== 必填信息。没有填写将不予回复 ====
- iRedMail 版本号:0.9.6
- 使用哪个数据库存储用户帐号(OpenLDAP,MySQL,PostgreSQL):mysql
- 使用的 Linux/BSD 发行版名称及版本号:centos-release-7-0.1406.el7.centos.2.3.x86_64
- 与您的问题相关的日志信息:
====
如题,新装的0.9.6,init.d里没有相关启动脚本,开机也不启动。

ZhangHuangbin 写道:

重装系统后再安装 iRedMail。

必须要重装系统啊

==== 必填信息。没有填写将不予回复 ====
- iRedMail 版本号:0.9.6
- 使用哪个数据库存储用户帐号(OpenLDAP,MySQL,PostgreSQL):mysql
- 使用的 Linux/BSD 发行版名称及版本号:centos-release-7-0.1406.el7.centos.2.3.x86_64
- 与您的问题相关的日志信息:
====
环境出了问题,是否只能重做系统。如何正确卸载iredmail然后重装?
比如nginx,我卸载了自带的后重装,却无法正常使用。

==== 必填信息。没有填写将不予回复 ====
- iRedMail 版本号:0.9.6
- 使用哪个数据库存储用户帐号(OpenLDAP,MySQL,PostgreSQL):mysql
- 使用的 Linux/BSD 发行版名称及版本号:centos-release-7-0.1406.el7.centos.2.3.x86_64
- 与您的问题相关的日志信息:
====
如题

15

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

ZhangHuangbin 写道:

为何你必须要主机名一样?

我就是不想一样
我刚测试了
我1号机hostname里设置为 mail1
2号机hostname里设置为mail2
这样主机名不同,我才能安装双机
但是我在hosts里设置IP对应主机名后,安装iredmail提示我需要一个完整的域名。
不然不能安装,我的问题就是主机名必须是域名吗?

==== 必填信息。没有填写将不予回复 ====
- iRedMail 版本号:0.9.6
- 使用哪个数据库存储用户帐号(OpenLDAP,MySQL,PostgreSQL):mysql
- 使用的 Linux/BSD 发行版名称及版本号:centos-release-7-0.1406.el7.centos.2.3.x86_64
- 与您的问题相关的日志信息:
====
如题

17

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

==== 必填信息。没有填写将不予回复 ====
- iRedMail 版本号:0.9.6
- 使用哪个数据库存储用户帐号(OpenLDAP,MySQL,PostgreSQL):mysql
- 使用的 Linux/BSD 发行版名称及版本号:centos-release-7-0.1406.el7.centos.2.3.x86_64
- 与您的问题相关的日志信息:
====
我想咨询一下,因为我们想做双机,所以双机的主机名不能一样,也不能使用域名当主机名。
这样是否就无法使用iredmail了?还是有什么办法?

==== 必填信息。没有填写将不予回复 ====
- iRedMail 版本号:0.9.6
- 使用哪个数据库存储用户帐号(OpenLDAP,MySQL,PostgreSQL):mysql
- 使用的 Linux/BSD 发行版名称及版本号:centos-release-7-0.1406.el7.centos.2.3.x86_64
- 与您的问题相关的日志信息:
====
我需要将数据存放在磁盘阵列上,但iredmail数据库是默认安装的。
如何修改数据库的位置,或者数据存放的位置?

==== 必填信息。没有填写将不予回复 ====
- iRedMail 版本号:0.9.6
- 使用哪个数据库存储用户帐号(OpenLDAP,MySQL,PostgreSQL):MySQL
- 使用的 Linux/BSD 发行版名称及版本号:centos-release-7-0.1406.el7.centos.2.3.x86_64
- 与您的问题相关的日志信息:
====
现在指向roundcubemail的位置是/var/www
请问如何修改这个位置,和这个文件名