大大,我们MySQL的版本能升级到Pro来启用邮件列表组功能么,例如 dev@abc.com发送给dev组

ZhangHuangbin 写道:

安装 postfix-pcre 这个包后重启 postfix 即可。这个包会由 iRedMail 安装,但不知道为何你的系统没有。

之前安装别的组件附带装了sendmail,结果把postfix的一些覆盖了,已经解决

==== 必填信息。没有填写将不予回复 ====
- iRedMail 版本号:0.9.2
- 使用哪个数据库存储用户帐号(OpenLDAP,MySQL,PostgreSQL):MySQL
- 使用的 Linux/BSD 发行版名称及版本号:Ubuntu 14.04.2 LTS
- 与您的问题相关的日志信息:
====

Oct  9 18:17:34 abc-is0 postfix/qmgr[11683]: 5D36A82914: from=<linwp@abc.com>, size=390134, nrcpt=1 (queue active)
Oct  9 18:17:34 abc-is0 amavis[14189]: (14189-05) Passed CLEAN {RelayedInternal}, MYUSERS LOCAL [114.247.101.3]:21130 [114.247.101.3] <linwp@abc.com> -> <linweilin2008@126.com>, Queue-ID: 666CF8089C, Message-ID: <3DF72BCB-5C1F-4D37-937C-9BF435CB9B64@abc.com>, mail_id: AuDAOzlqqc-r, Hits: 1.288, size: 389633, queued_as: 5D36A82914, 453 ms
Oct  9 18:17:34 abc-is0 postfix/smtpd[19859]: disconnect from localhost[127.0.0.1]
Oct  9 18:17:34 abc-is0 postfix/smtp[19856]: 666CF8089C: to=<linweilin2008@126.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=2.1, delays=1.7/0/0/0.46, dsn=2.0.0, status=sent (250 2.0.0 from MTA(smtp:[127.0.0.1]:10025): 250 2.0.0 Ok: queued as 5D36A82914)
Oct  9 18:17:34 abc-is0 postfix/qmgr[11683]: 666CF8089C: removed
Oct  9 18:17:40 abc-is0 postfix/smtp[19878]: 5D36A82914: host 126mx01.mxmail.netease.com[220.181.14.131] said: 421 Read data from client error (in reply to end of DATA command)

解决了谢谢!

ZhangHuangbin 写道:

iRedMail 会自动装上 mysql,你是用 iRedMail 安装还是自己手工安装各个组件?

嗯,是之前装错了,把postfix插件卸载了。

==== 必填信息。没有填写将不予回复 ====
- iRedMail 版本号:0.9.0
- 使用哪个数据库存储用户帐号(OpenLDAP,MySQL,PostgreSQL):MySQL
- 使用的 Linux/BSD 发行版名称及版本号:Ubuntu 14.04
- 与您的问题相关的日志信息:
====
mail.err
Sep 18 16:34:51 qutke-is0 postfix/smtpd[9406]: error: unsupported dictionary type: pcre
Sep 18 17:06:43 qutke-is0 postfix/smtpd[10023]: error: unsupported dictionary type: pcre
Sep 18 17:29:58 qutke-is0 postfix/smtpd[10414]: error: unsupported dictionary type: pcre

mail.log
Sep 18 17:48:12 qutke-is0 postfix/smtpd[10414]: warning: pcre:/etc/postfix/helo_access.pcre: table lookup problem
Sep 18 17:48:12 qutke-is0 postfix/smtpd[10414]: NOQUEUE: reject: RCPT from smtp.ssf.gov.cn[219.141.227.124]: 451 4.3.5 <smtp.ssf.gov.cn>: Helo command rejected: Server configuration error; from=<peihongy@ssf.gov.cn> to=<linwl@qutke.com> proto=ESMTP helo=<smtp.ssf.gov.cn>
Sep 18 17:48:12 qutke-is0 postfix/smtpd[10414]: warning: pcre:/etc/postfix/helo_access.pcre is unavailable. unsupported dictionary type: pcre
Sep 18 17:48:12 qutke-is0 postfix/smtpd[10414]: warning: pcre:/etc/postfix/helo_access.pcre: table lookup problem
Sep 18 17:48:12 qutke-is0 postfix/smtpd[10414]: NOQUEUE: reject: RCPT from smtp.ssf.gov.cn[219.141.227.124]: 451 4.3.5 <smtp.ssf.gov.cn>: Helo command rejected: Server configuration error; from=<peihongy@ssf.gov.cn> to=<linwl@qutke.com> proto=ESMTP helo=<smtp.ssf.gov.cn>
Sep 18 17:48:12 qutke-is0 postfix/smtpd[10414]: disconnect from smtp.ssf.gov.cn[219.141.227.124]

解决了。。。忘了装mysql插件

==== 必填信息。没有填写将不予回复 ====
- iRedMail 版本号:0.9.2
- 使用哪个数据库存储用户帐号(OpenLDAP,MySQL,PostgreSQL):MySQL
- 使用的 Linux/BSD 发行版名称及版本号:Ubuntu 14.04.2 LTS
- 与您的问题相关的日志信息:
====
postfix故障重装后,发件失败。
Please check the email <123@abc.com>, server reply: 451 4.3.0 <234@abc.com>: Temporary lookup failure

9

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

==== 必填信息。没有填写将不予回复 ====
- iRedMail 版本号:0.9.0
- 使用哪个数据库存储用户帐号(OpenLDAP,MySQL,PostgreSQL):MySQL 5.5 Server
- 使用的 Linux/BSD 发行版名称及版本号:ubuntu 14.04 LTS
- 与您的问题相关的日志信息:
====

BANNED CONTENTS ALERT

Our content checker found
    banned name:
      application/octet-stream,.exe,FileZilla_3.10.3_win64-setup.exe

in email presumably from you <zhangfy@aaaaa.com>
to the following recipient:
-> lin@aaaaa.com

Our internal reference code for your message is 15389-03/r1Pqee_GYI3K

First upstream SMTP client IP address: [114.252.82.10]
According to a 'Received:' trace, the message apparently originated at:
  [114.252.82.10], lenovo-PC unknown [114.252.82.10]

Return-Path: <zhangfy@aaaaa.com>
From: "zhangfy@aaaaa.com" <zhangfy@aaaaa.com>
Message-ID: <201505071126420547297@aaaaa.com>
Subject: =?UTF-8?B?Rnc6IEZUUOS9v+eUqA==?=

Delivery of the email was stopped!

The message has been blocked because it contains a component
(as a MIME part or nested within) with declared name
or MIME type or contents type violating our access policy.

To transfer contents that may be considered risky or unwanted
by site policies, or simply too large for mailing, please consider
publishing your content on the web, and only sending an URL of the
document to the recipient.

Depending on the recipient and sender site policies, with a little
effort it might still be possible to send any contents (including
viruses) using one of the following methods:

- encrypted using pgp, gpg or other encryption methods;

- wrapped in a password-protected or scrambled container or archive
  (e.g.: zip -e, arj -g, arc g, rar -p, or other methods)

Note that if the contents is not intended to be secret, the
encryption key or password may be included in the same message
for recipient's convenience.

We are sorry for inconvenience if the contents was not malicious.

The purpose of these restrictions is to cut the most common propagation
methods used by viruses and other malware. These often exploit automatic
mechanisms and security holes in more popular mail readers (Microsoft
mail readers and browsers are a common target). By requiring an explicit
and decisive action from the recipient to decode mail, the danger of
automatic malware propagation is largely reduced

请问如何接触这个限制?

解决了!可能登录次数太多进入fail2ban黑名单了
在/etc/fail2ban/jail.conf 里加入白名单 ignore-ip就可以了。
谢谢!!!

==== 必填信息。没有填写将不予回复 ====
- iRedMail 版本号:0.9.0
- 使用哪个数据库存储用户帐号(OpenLDAP,MySQL,PostgreSQL):MySQL
- 使用的 Linux/BSD 发行版名称及版本号:ubuntu 14.04 LTS/kernel 3.13
- 与您的问题相关的日志信息:
====
之前一切OK。
突然foxmail连接服务器出现了问题,dovecot没有报错信息。
通过roundcube来收发邮件都没问题。
防火墙已经开启了25和993端口,没做更改。
请问怎么进行诊断。
谢谢!!

12

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

收到。多谢!

ZhangHuangbin 写道:

- 可以新建一个域。
-可以复制用户邮件数据,但要保证 SQL 里保存的新建用户的 maildir 路径和复制后的路径是一致的。

13

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

==== 必填信息。没有填写将不予回复 ====
- iRedMail 版本号:0.9.0
- 使用哪个数据库存储用户帐号(OpenLDAP,MySQL,PostgreSQL):MySQL
- 使用的 Linux/BSD 发行版名称及版本号:Ubuntu 14.04 LTS
- 与您的问题相关的日志信息:
====
张大神您好,
我现在建了个测试域(test.abcde.com),如何将这个域直接转换成生产域(abcde.com)?或者如何另外建一个新的域取代它?
当前域里的用户邮件数据能直接拷贝到新的域的vmail 目录下么?

万分感谢!

14

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

张大神,是否只备份vmail的dir就行? 恢复的时候直接把dir恢复回来?
这个vmail目录里的邮件数据和MySQL里的用户数据没有关联吧?

- iRedMail 版本号:0.9.0
- 使用哪个数据库存储用户帐号(OpenLDAP,MySQL,PostgreSQL):MySQL Server 5.5
- 使用的 Linux/BSD 发行版名称及版本号:3.12/ubuntu 14.04 LTS
- 与您的问题相关的日志信息:
====
Webmail/roundcube 访问和收发邮件正常。iredadmin也正常。
但是使用outlook时exchange activesync提示
登录到 Exchange ActiveSync 邮件服务器(EAS): 找不到服务器。
POP3服务也提示登录服务器失败,邮件服务器拒绝接受您的用户名。请在账户设置中验证此账户的用户名。

请问大神,这是哪里的问题呢?

谢谢!

16

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

万分感谢,我的问题解决了!

17

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

谢谢张大神!
重启了php-fpm解决了,但是出现了新的问题:
SMTP 错误 (451): 添加收件人失败 "leo@example.com" (4.3.5 Server configuration problem)。
SMTP 错误 (451): 添加收件人失败 "postmaster@example.com" (4.3.5 Server configuration problem)。

/var/log/mail.log中报错:
Apr 13 23:33:41 test01 postfix/smtpd[28870]: connect from localhost[127.0.0.1]
Apr 13 23:33:41 test01 postfix/smtpd[28870]: warning: connect to 127.0.0.1:7777: Connection refused
Apr 13 23:33:41 test01 postfix/smtpd[28870]: warning: problem talking to server 127.0.0.1:7777: Connection refused
Apr 13 23:33:42 test01 postfix/smtpd[28870]: warning: connect to 127.0.0.1:7777: Connection refused
Apr 13 23:33:42 test01 postfix/smtpd[28870]: warning: problem talking to server 127.0.0.1:7777: Connection refused
Apr 13 23:33:42 test01 postfix/smtpd[28870]: NOQUEUE: reject: RCPT from localhost[127.0.0.1]: 451 4.3.5 Server configuration problem; from=<postmaster@example.com> to=<leo@example.com> proto=ESMTP helo=<_>
Apr 13 23:33:42 test01 roundcube: SMTP Error: SMTP error: Failed to add recipient 'leo@example.com' in /usr/share/apache2/roundcubemail-1.0.4/program/lib/Roundcube/rcube.php on line 1505 (POST /mail/?_task=mail&_unlock=loading1428939221593&_lang=undefined&_framed=1?_task=mail&_action=send)Apr 13 23:33:42 test01 postfix/smtpd[28870]: disconnect from localhost[127.0.0.1]

这个7777是什么服务啊?
我按照文档安装一步一步来了,是不是少了启动的每个步骤了?

18

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

==== 必填信息。没有填写将不予回复 ====
- iRedMail 版本号:0.90
- 使用哪个数据库存储用户帐号(OpenLDAP,MySQL,PostgreSQL):MySQL 5.5 SERVER
- 使用的 Linux/BSD 发行版名称及版本号:3.13.0-32-generic ubutnu 14.04
- 与您的问题相关的日志信息:
====
请教一下,安装好之后,所有服务一切正常,但是POP3服务不能使用,webmail显示502 bad gateway。(uswgi服务正常,没有异常输出,iredadmin可以访问)
dovecot只是提示了断开连接:

Apr 12 23:20:52 imap-login: Info: Disconnected (no auth attempts in 0 secs): user=<>, rip=
192.168.1.103, lip=192.168.1.221, session=<bW4Bi4gTjwDAqAFn>Apr 12 23:21:39 pop3-login: Info: Disconnected (tried to use disallowed plaintext auth): u
ser=<>, rip=192.168.1.103, lip=192.168.1.221, session=<DDPXjYgTkQDAqAFn>Apr 12 23:22:05 pop3-login: Info: Disconnected (tried to use disallowed plaintext auth): u
ser=<>, rip=192.168.1.103, lip=192.168.1.221, session=<5dVaj4gTlgDAqAFn>



万分感谢!!!