找到了,手工修改最新版本的下载地址,改成下面这个:
https://bbuseruploads.s3.amazonaws.com/ … 2Z1HF1TZ82
支持 Red Hat Enterprise Linux, CentOS, Scientific Linux, Debian, Ubuntu, FreeBSD, OpenBSD
您尚未登陆。 请选择登陆或是注册一个新账号。
iRedMail 开源邮件服务解决方案 » 由 sailer.shen 发表的文章
找到了,手工修改最新版本的下载地址,改成下面这个:
https://bbuseruploads.s3.amazonaws.com/ … 2Z1HF1TZ82
==== 必填信息。没有填写将不予回复 ====
- iRedMail 版本号:
- 使用哪个数据库存储用户帐号(OpenLDAP,MySQL,PostgreSQL):
- 使用的 Linux/BSD 发行版名称及版本号:
- 与您的问题相关的日志信息:
====
论坛里找了一下,这个链接只是发布0.8.2版本的说明:
http://www.iredmail.org/forum/topic3913 … eased.html
在下载页面里也只能下载最新版本:
http://www.iredmail.org/download.html
我需要下载这个版本并且安装。
谢谢!
非常好的方法。
谢谢AsimpleSong!!!
sailer.shen 写道:==== 必填信息。没有填写将不予回复 ====
- iRedMail 版本号:0.8.1(dovecot 2.0.18-1)
- 使用哪个数据库存储用户帐号(OpenLDAP,MySQL,PostgreSQL):mysql
- 使用的 Linux/BSD 发行版名称及版本号:CentOS 6.0 x64
- 与您的问题相关的日志信息:
====突然想到能否禁止某些用户通过浏览器登录邮件服务器的web界面,只允许他们在outlook/foxmail之类的客户端上收发邮件?
这样做是不是可以减少webmail上出现“连接到邮件服务器失败”的次数?sailer.shen ,如你的问题,我这边也有考虑过,并且现在已经实现:1公司内网可以允许任何人登入webmail;2.在公网时,只有授权的账户才可以登入webmail。
具体如下:(roundcube 0.9.2)
1.在roundcube/program/include/rcmail.php 文件的登入验证时添加多一个查询Mysql条件:先搜索到if ($cookiecheck && empty($_COOKIE)) {
在这行之前(注意是这行之前!)添加如下:
//以下是自己添加的=====================================================
include "login_check.php";
include "remote_ip.php";
$remote_ip = get_remote_ip();
//$remote_ip = "127.0.0.1"; //测试时手动指定的remort_ip,正式用时要去掉
if ("Unknown" == $remote_ip)
{
echo "Cannot get remote ip...";
return false;
}
else
{
if (!check_user_login($username, $remote_ip))
{
echo "login reject...";
return false;
}
}
//以上是自己添加的=====================================================2.将附件中两个解压的文件:login_check.php、remote_ip.php 一同复制到roundcube/program/include 中。
3.在Mysql数据库 vmail 的mailbox表增加一个字段 auth_flag ,默认值为 0
4.在Mysql数据库vmail 增加一张表 special_ips ,可以使用如下sql:
create table special_ips(
id int(10) not null primary key auto_increment,
interval_start_ip int unsigned ,
interval_end_ip int unsigned
)5.在vmail数据库 special_ips 表中插入自己内网(或者允许的IP地址)IP地址,使用如下sql:
insert into special_ips(interval_start_ip,interval_end_ip) value(inet_aton('192.168.1.0'),inet_aton('192.168.1.255'));昨晚如上后重启httpd服务即可。
说明:
即在roundcube登入条件时增加一个验证客户端IP地址和是否授权webmail登入的条件,
当获取的客户端IP地址属于内部地址或者授权的公网地址时返回true,即可允许登入webmail;
当获取的客户端IP地址不属于内部地址或授权的公网IP地址时,检查vmail 上的mailbox表 auth_flag 是否授权登入(值为 1 表示授权登入用户, 0 表示非授权)。
如此即可限制用户是否可以登入webmail。
当把自己内部IP段放入special_ips时,用户在内部网络使用时,可以不检查是否是授权用户而可以直接登入。
如不把任何IP地址放入special_ips时,都会检查用户的auth_flag 值,判断是否为授权登入用户。
注意:remote_ip.php文件为获取访问webmail时的客户端IP地址(出口IP地址)。
login_check.php文件为判断是否授权IP和授权用户,请检查次文件的30行和70行中所注释你的数据库账户密码。
从日志看是缺少x权限
你chmod -R +x * 一下应该就好了
现在我这样处理这个问题:
1. 检查所有员工的outlook/foxmail设置,把imap方式改为pop3/smtp方式。
2. 禁止大多数普通员工使用imap/imaps(张大教我修改数据库的方法),通过行政告诉大家不能用浏览器登录webmail,只能用客户端收发邮件,有特殊需求的单独开通。
3. dovecot的配置文件里增加并发连接数。
这两个措施实施以后,在上班时间993端口上的连接减少到20个不到,几天下来没有再发生webmail上不去的情况。
刚才仔细读了这个readme文档,基本搞清楚了。
blacklist用于以IP形式禁止,blacklist_sender以email地址形式禁止(也可以用@abc.com形式),blacklist_dnsname以域名方式禁止(比如像mail.126.com这样的形式)。
这个文档很有帮助。
谢谢张大。
感谢张大的指点。
我看了一下关于Policyd里添加黑白名单的文档,的确是比较简单,就是在policyd库的blacklist表和blacklist_sender表里加入IP或域名。
我的理解,blacklist_sender是禁止某个域向我的mail server发邮件,blacklist是禁止我的mail server向某个邮件/域发邮件过去,这样理解对吗?
刚才还发现有这样的错误日志,在dovecot.log里:
Jun 13 06:42:20 imap-login: Info: Disconnected (no auth attempts): rip=客户端IP, lip=服务端IP, TLS handshaking: SSL_accept() failed: error:1407609C:SSL routines:SSL23_GET_CL
IENT_HELLO:http request
出现连接到邮件服务器失败的问题,是不是和ssl有关系?
==== 必填信息。没有填写将不予回复 ====
- iRedMail 版本号:0.8.1
- 使用哪个数据库存储用户帐号(OpenLDAP,MySQL,PostgreSQL):mysql
- 使用的 Linux/BSD 发行版名称及版本号:centos 6.0 x64
- 与您的问题相关的日志信息:
====
关于添加黑名单拒收垃圾邮件的做法似乎有很多,我分享一下我的做法,可能不是最好的办法,欢迎大家提出意见和建议。
在/etc/postfix/main.cf里修改smtpd_recipient_restrictions语句,红色字体是我增加的部分:
smtpd_recipient_restrictions = reject_unknown_sender_domain, reject_unknown_recipient_domain, reject_non_fqdn_sender, reject_non_fqdn_recipient, reject_unlisted_recipient, check_policy_service
inet:127.0.0.1:7777, permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, reject_non_fqdn_helo_hostname, reject_invalid_helo_hostname, check_policy_service inet:127.0.0.1:
10031, check_sender_access regexp:/etc/postfix/checks-rule/sender_checks
手工生成/etc/postfix/checks-rule/sender_checks文件:
/^(abc\.com)$/ REJECT
或者在“REJECT”后面加一段注释,这段注释会出现在给对方的退信中:
/^(abc\.com)$/ REJECT ACCESS DENIED. Mail was rejected
再生成db文件:
postmap hash:/etc/postfix/checks-rule/sender_checks
重启postfix服务,再从abc.com发来的邮件会被直接退回。
仔细看了dovecot的日志,由于配置文件中把debug都打开的,所以日志量比较大。唯一看到貌似有异常的语句是这样的:
imap-login: Info: Disconnected (no auth attempts): rip=客户端的IP, lip=邮箱服务器的IP, TLS handshaking: Disconnected
不知道这条语句对查找问题是否有帮助。
==== 必填信息。没有填写将不予回复 ====
- iRedMail 版本号:0.8.1
- 使用哪个数据库存储用户帐号(OpenLDAP,MySQL,PostgreSQL):mysql
- 使用的 Linux/BSD 发行版名称及版本号:centos 6.0 x64
- 与您的问题相关的日志信息:
====
先在iredmail里增加了一个普通用户,后来需要把它变成管理员帐号,方法很简单,就是把vmail库alias表里这个用户的字段里,isadmin和isglobaladmin字段置为一,前者应该是指本域的管理员,后者是指所有域的管理员。
然后这个用户就可以在iredadmin里登录,对邮箱帐号做增加、删除、修改的操作。
以上操作有不妥之处,请老大和各位指正。
我通过netstat命令的输出来统计在993端口上建立的连接数,我发现基本上993端口上建立的连接数达到100个时,webmail就连接不上,出现那个错误 ,而且连接数似乎不会大于100.
具体的原始错误信息,还是这个:
roundcube: IMAP Error: Login failed for **** from *****. Empty startup greeting (127.0.0.1:143) in /var/www/roundcu
bemail-0.8.1/program/include/rcube_imap.php on line 191 (GET /mail/?_task=mail&_action=check-recent&_mbox=INBOX&_list=1&_quota=1&_remote=1&_unlock=0&_=1396490407343)
谢谢老大。
我在公司里outlook/foxmail全部设置成pop3/smtp,也就是说连接imap的,只有webmail,在这种情况下是否能做限制?
==== 必填信息。没有填写将不予回复 ====
- iRedMail 版本号:0.8.1(dovecot 2.0.18-1)
- 使用哪个数据库存储用户帐号(OpenLDAP,MySQL,PostgreSQL):mysql
- 使用的 Linux/BSD 发行版名称及版本号:CentOS 6.0 x64
- 与您的问题相关的日志信息:
====
刚才在网上查找dovecot里关于imap-login的参数,在这里 http://comments.gmane.org/gmane.mail.imap.dovecot/70948 找到这么一段对话:
> So I changed it again:
]]>
> default_process_limit = 128
> default_client_limit = 512
]]>
> And now it seems to be fine. But I'm mystified because what you say is
> the case on your system, that is, that the process limit needs to be
> greater than the client limit, is what I would expect: wouldn't each
> client require at least one process?
no, 512x128 = 65536 connections
each process can serve default_client_limit clients
当我这样设置,dovecot服务可以启动:
service imap-login {
process_limit = 350
}
default_client_limit = 1003
当我这样设置:
service imap-login {
process_limit = 400
}
default_client_limit = 1000
重启dovecot服务的时候会提示出错:
Starting Dovecot Imap: doveconf: Warning: service anvil { client_limit=1000 } is lower than required under max. load (1003)
Warning: service anvil { client_limit=1000 } is lower than required under max. load (1003)
想请教imap-login里的process_limit和client_limit是啥关系?如何取值才更合理?
==== 必填信息。没有填写将不予回复 ====
- iRedMail 版本号:0.8.1(dovecot 2.0.18-1)
- 使用哪个数据库存储用户帐号(OpenLDAP,MySQL,PostgreSQL):mysql
- 使用的 Linux/BSD 发行版名称及版本号:CentOS 6.0 x64
- 与您的问题相关的日志信息:
====
突然想到能否禁止某些用户通过浏览器登录邮件服务器的web界面,只允许他们在outlook/foxmail之类的客户端上收发邮件?
这样做是不是可以减少webmail上出现“连接到邮件服务器失败”的次数?
我给所有公司同事的outlook/Foxmail里设置的都是pop3/smtp收发邮件,并没有使用imap。
100个993链接,表示有100个打开的webmail?我们公司员工加起来才五六十个啊,这个怎么理解?
我通过rpm安装的dovecot,版本信息如下:
dovecot-pigeonhole-0.2.6-21.el6.x86_64
dovecot-managesieve-0.2.6-21.el6.x86_64
dovecot-2.0.18-1_134.el6.x86_64
dovecot -a命令的输出里有一段:
service imap-login {
chroot = login
process_limit = 200
我在/etc/dovecot/dovecot.conf里手工加入一段:
service imap-login {
process_limit = 350
}
重启了dovecot,不知道webmail登录时的错误提示是否还会出现。
==== 必填信息。没有填写将不予回复 ====
- iRedMail 版本号:0.8.1
- 使用哪个数据库存储用户帐号(OpenLDAP,MySQL,PostgreSQL):mysql
- 使用的 Linux/BSD 发行版名称及版本号:CentOS 6.0 x64
- 与您的问题相关的日志信息:
====
最近我的邮件服务器在web界面登录时经常提示“连接到邮件服务器失败”,web界面登录不进去。而且我发现一个规律,只要mail server上993端口(imaps端口)的连接数达到100就必须会出这个错误,连接数少于100个时webmail能很方便的登录进去。
我判断这个错误dovecot应该无关,我查了roundcubemail的配置,在/var/www/roundcubemail/config/main.inc.php里有这些配置:
$rcmail_config['default_host'] = "127.0.0.1";
$rcmail_config['default_port'] = 143;
$rcmail_config['imap_auth_type'] = "LOGIN";
/etc/dovecot/dovecot.conf里关于imap的设置:
protocol imap {
imap_client_workarounds = tb-extra-mailbox-sep
mail_plugins = quota imap_quota autocreate
mail_max_userip_connections = 500
imap_idle_notify_interval = 5 mins
}
我不知道出现这个错误的时候应该从哪里去调试,谁能给我一些建议?谢谢!
终于发现问题所在。
/etc/postfix/checks-rules/sender_checks文件里有一行:
/e.com$/ REJECT
在做正则检查时,e.com$ 与chinacache.com 匹配成功,导致chinacache.com发来的邮件被拒收。
根据ZhangHuangbin的提示,把这一行改为:
/^(e\.com)$/ REJECT ACCESS DENIED. Mail was rejected (${1})
这样就保证e.com不会与chinacache.com匹配上。
当然,这个文件里所有的行都需要按这样的方法做修改。
注:
REJECT后面的内容会出现在退信中,这样便于调试。
问题解决。
感谢ZhangHuangbin给我的帮助!
细节决定成败啊。。。
谢谢老大回复。根据你的方法,我抓取了对方发送邮件过来的全过程日志,从connect到disconnect。
Jun 4 16:07:08 mail postfix/smtpd[6734]: connect from unknown[220.181.64.21]
Jun 4 16:07:08 mail postfix/smtpd[6734]: match_hostname: unknown ~? 127.0.0.0/8
Jun 4 16:07:08 mail postfix/smtpd[6734]: match_hostaddr: 220.181.64.21 ~? 127.0.0.0/8
Jun 4 16:07:08 mail postfix/smtpd[6734]: match_list_match: unknown: no match
Jun 4 16:07:08 mail postfix/smtpd[6734]: match_list_match: 220.181.64.21: no match
Jun 4 16:07:08 mail postfix/smtpd[6734]: send attr request = connect
Jun 4 16:07:08 mail postfix/smtpd[6734]: send attr ident = smtp:220.181.64.21
Jun 4 16:07:08 mail postfix/smtpd[6734]: private/anvil: wanted attribute: status
Jun 4 16:07:08 mail postfix/smtpd[6734]: input attribute name: status
Jun 4 16:07:08 mail postfix/smtpd[6734]: input attribute value: 0
Jun 4 16:07:08 mail postfix/smtpd[6734]: private/anvil: wanted attribute: count
Jun 4 16:07:08 mail postfix/smtpd[6734]: input attribute name: count
Jun 4 16:07:08 mail postfix/smtpd[6734]: input attribute value: 1
Jun 4 16:07:08 mail postfix/smtpd[6734]: private/anvil: wanted attribute: rate
Jun 4 16:07:08 mail postfix/smtpd[6734]: input attribute name: rate
Jun 4 16:07:08 mail postfix/smtpd[6734]: input attribute value: 1
Jun 4 16:07:08 mail postfix/smtpd[6734]: private/anvil: wanted attribute: (list terminator)
Jun 4 16:07:08 mail postfix/smtpd[6734]: input attribute name: (end)
Jun 4 16:07:08 mail postfix/smtpd[6734]: > unknown[220.181.64.21]: 220 mail.i-move.cn ESMTP Postfix
Jun 4 16:07:08 mail postfix/smtpd[6734]: xsasl_dovecot_server_create: SASL service=smtp, realm=(null)
Jun 4 16:07:08 mail postfix/smtpd[6734]: name_mask: noanonymous
Jun 4 16:07:08 mail postfix/smtpd[6734]: xsasl_dovecot_server_mech_filter: keep mechanism: PLAIN
Jun 4 16:07:08 mail postfix/smtpd[6734]: xsasl_dovecot_server_mech_filter: keep mechanism: LOGIN
Jun 4 16:07:08 mail postfix/smtpd[6734]: watchdog_pat: 0x7f0c5dcee290
Jun 4 16:07:08 mail postfix/smtpd[6734]: < unknown[220.181.64.21]: EHLO corp.chinacache.com
Jun 4 16:07:08 mail postfix/smtpd[6734]: > unknown[220.181.64.21]: 250-mail.i-move.cn
Jun 4 16:07:08 mail postfix/smtpd[6734]: > unknown[220.181.64.21]: 250-PIPELINING
Jun 4 16:07:08 mail postfix/smtpd[6734]: > unknown[220.181.64.21]: 250-SIZE 104857600
Jun 4 16:07:08 mail postfix/smtpd[6734]: > unknown[220.181.64.21]: 250-ETRN
Jun 4 16:07:08 mail postfix/smtpd[6734]: > unknown[220.181.64.21]: 250-STARTTLS
Jun 4 16:07:08 mail postfix/smtpd[6734]: > unknown[220.181.64.21]: 250-AUTH PLAIN LOGIN
Jun 4 16:07:08 mail postfix/smtpd[6734]: match_list_match: unknown: no match
Jun 4 16:07:08 mail postfix/smtpd[6734]: match_list_match: 220.181.64.21: no match
Jun 4 16:07:08 mail postfix/smtpd[6734]: > unknown[220.181.64.21]: 250-AUTH=PLAIN LOGIN
Jun 4 16:07:08 mail postfix/smtpd[6734]: > unknown[220.181.64.21]: 250-ENHANCEDSTATUSCODES
Jun 4 16:07:08 mail postfix/smtpd[6734]: > unknown[220.181.64.21]: 250-8BITMIME
Jun 4 16:07:08 mail postfix/smtpd[6734]: > unknown[220.181.64.21]: 250 DSN
Jun 4 16:07:08 mail postfix/smtpd[6734]: watchdog_pat: 0x7f0c5dcee290
Jun 4 16:07:08 mail postfix/smtpd[6734]: < unknown[220.181.64.21]: STARTTLS
Jun 4 16:07:08 mail postfix/smtpd[6734]: > unknown[220.181.64.21]: 220 2.0.0 Ready to start TLS
Jun 4 16:07:08 mail postfix/smtpd[6734]: auto_clnt_open: connected to private/tlsmgr
Jun 4 16:07:08 mail postfix/smtpd[6734]: send attr request = seed
Jun 4 16:07:08 mail postfix/smtpd[6734]: send attr size = 32
Jun 4 16:07:08 mail postfix/smtpd[6734]: private/tlsmgr: wanted attribute: status
Jun 4 16:07:08 mail postfix/smtpd[6734]: input attribute name: status
Jun 4 16:07:08 mail postfix/smtpd[6734]: input attribute value: 0
Jun 4 16:07:08 mail postfix/smtpd[6734]: private/tlsmgr: wanted attribute: seed
Jun 4 16:07:08 mail postfix/smtpd[6734]: input attribute name: seed
Jun 4 16:07:08 mail postfix/smtpd[6734]: input attribute value: wAA7TaI++Yaxj0zwnBe/l61fbckW05UZK3IdyN79Ckc=
Jun 4 16:07:08 mail postfix/smtpd[6734]: private/tlsmgr: wanted attribute: (list terminator)
Jun 4 16:07:08 mail postfix/smtpd[6734]: input attribute name: (end)
Jun 4 16:07:08 mail postfix/smtpd[6734]: watchdog_pat: 0x7f0c5dcee290
Jun 4 16:07:08 mail postfix/smtpd[6734]: < unknown[220.181.64.21]: EHLO corp.chinacache.com
Jun 4 16:07:08 mail postfix/smtpd[6734]: > unknown[220.181.64.21]: 250-mail.i-move.cn
Jun 4 16:07:08 mail postfix/smtpd[6734]: > unknown[220.181.64.21]: 250-PIPELINING
Jun 4 16:07:08 mail postfix/smtpd[6734]: > unknown[220.181.64.21]: 250-SIZE 104857600
Jun 4 16:07:08 mail postfix/smtpd[6734]: > unknown[220.181.64.21]: 250-ETRN
Jun 4 16:07:08 mail postfix/smtpd[6734]: > unknown[220.181.64.21]: 250-AUTH PLAIN LOGIN
Jun 4 16:07:08 mail postfix/smtpd[6734]: match_list_match: unknown: no match
Jun 4 16:07:08 mail postfix/smtpd[6734]: match_list_match: 220.181.64.21: no match
Jun 4 16:07:08 mail postfix/smtpd[6734]: > unknown[220.181.64.21]: 250-AUTH=PLAIN LOGIN
Jun 4 16:07:08 mail postfix/smtpd[6734]: > unknown[220.181.64.21]: 250-ENHANCEDSTATUSCODES
Jun 4 16:07:08 mail postfix/smtpd[6734]: > unknown[220.181.64.21]: 250-8BITMIME
Jun 4 16:07:08 mail postfix/smtpd[6734]: > unknown[220.181.64.21]: 250 DSN
Jun 4 16:07:08 mail postfix/smtpd[6734]: watchdog_pat: 0x7f0c5dcee290
Jun 4 16:07:08 mail postfix/smtpd[6734]: < unknown[220.181.64.21]: MAIL FROM:<junlei.tian@chinacache.com> SIZE=31592
Jun 4 16:07:08 mail postfix/smtpd[6734]: extract_addr: input: <junlei.tian@chinacache.com>
Jun 4 16:07:08 mail postfix/smtpd[6734]: smtpd_check_addr: addr=junlei.tian@chinacache.com
Jun 4 16:07:08 mail postfix/smtpd[6734]: connect to subsystem private/rewrite
Jun 4 16:07:08 mail postfix/smtpd[6734]: send attr request = rewrite
Jun 4 16:07:08 mail postfix/smtpd[6734]: send attr rule = local
Jun 4 16:07:08 mail postfix/smtpd[6734]: send attr address = junlei.tian@chinacache.com
Jun 4 16:07:08 mail postfix/smtpd[6734]: private/rewrite socket: wanted attribute: flags
Jun 4 16:07:08 mail postfix/smtpd[6734]: input attribute name: flags
Jun 4 16:07:08 mail postfix/smtpd[6734]: input attribute value: 0
Jun 4 16:07:08 mail postfix/smtpd[6734]: private/rewrite socket: wanted attribute: address
Jun 4 16:07:08 mail postfix/smtpd[6734]: input attribute name: address
Jun 4 16:07:08 mail postfix/smtpd[6734]: input attribute value: junlei.tian@chinacache.com
Jun 4 16:07:08 mail postfix/smtpd[6734]: private/rewrite socket: wanted attribute: (list terminator)
Jun 4 16:07:08 mail postfix/smtpd[6734]: input attribute name: (end)
Jun 4 16:07:08 mail postfix/smtpd[6734]: rewrite_clnt: local: junlei.tian@chinacache.com -> junlei.tian@chinacache.com
Jun 4 16:07:08 mail postfix/smtpd[6734]: send attr request = resolve
Jun 4 16:07:08 mail postfix/smtpd[6734]: send attr sender =
Jun 4 16:07:08 mail postfix/smtpd[6734]: send attr address = junlei.tian@chinacache.com
Jun 4 16:07:08 mail postfix/smtpd[6734]: private/rewrite socket: wanted attribute: flags
Jun 4 16:07:08 mail postfix/smtpd[6734]: input attribute name: flags
Jun 4 16:07:08 mail postfix/smtpd[6734]: input attribute value: 0
Jun 4 16:07:08 mail postfix/smtpd[6734]: private/rewrite socket: wanted attribute: transport
Jun 4 16:07:08 mail postfix/smtpd[6734]: input attribute name: transport
Jun 4 16:07:08 mail postfix/smtpd[6734]: input attribute value: smtp
Jun 4 16:07:08 mail postfix/smtpd[6734]: private/rewrite socket: wanted attribute: nexthop
Jun 4 16:07:08 mail postfix/smtpd[6734]: input attribute name: nexthop
Jun 4 16:07:08 mail postfix/smtpd[6734]: input attribute value: chinacache.com
Jun 4 16:07:08 mail postfix/smtpd[6734]: private/rewrite socket: wanted attribute: recipient
Jun 4 16:07:08 mail postfix/smtpd[6734]: input attribute name: recipient
Jun 4 16:07:08 mail postfix/smtpd[6734]: input attribute value: junlei.tian@chinacache.com
Jun 4 16:07:08 mail postfix/smtpd[6734]: private/rewrite socket: wanted attribute: flags
Jun 4 16:07:08 mail postfix/smtpd[6734]: input attribute name: flags
Jun 4 16:07:08 mail postfix/smtpd[6734]: input attribute value: 4096
Jun 4 16:07:08 mail postfix/smtpd[6734]: private/rewrite socket: wanted attribute: (list terminator)
Jun 4 16:07:08 mail postfix/smtpd[6734]: input attribute name: (end)
Jun 4 16:07:08 mail postfix/smtpd[6734]: resolve_clnt: `' -> `junlei.tian@chinacache.com' -> transp=`smtp' host=`chinacache.com' rcpt=`junlei.tian@chinacache.com' flags= class=default
Jun 4 16:07:08 mail postfix/smtpd[6734]: ctable_locate: install entry key junlei.tian@chinacache.com
Jun 4 16:07:08 mail postfix/smtpd[6734]: extract_addr: in: <junlei.tian@chinacache.com>, result: junlei.tian@chinacache.com
Jun 4 16:07:08 mail postfix/smtpd[6734]: fsspace: .: block size 4096, blocks free 8317531
Jun 4 16:07:08 mail postfix/smtpd[6734]: smtpd_check_queue: blocks 4096 avail 8317531 min_free 0 msg_size_limit 104857600
Jun 4 16:07:08 mail postfix/smtpd[6734]: > unknown[220.181.64.21]: 250 2.1.0 Ok
Jun 4 16:07:08 mail postfix/smtpd[6734]: watchdog_pat: 0x7f0c5dcee290
Jun 4 16:07:08 mail postfix/smtpd[6734]: < unknown[220.181.64.21]: RCPT TO:<tshen@i-move.cn>
Jun 4 16:07:08 mail postfix/smtpd[6734]: extract_addr: input: <tshen@i-move.cn>
Jun 4 16:07:08 mail postfix/smtpd[6734]: smtpd_check_addr: addr=tshen@i-move.cn
Jun 4 16:07:08 mail postfix/smtpd[6734]: send attr request = rewrite
Jun 4 16:07:08 mail postfix/smtpd[6734]: send attr rule = local
Jun 4 16:07:08 mail postfix/smtpd[6734]: send attr address = tshen@i-move.cn
Jun 4 16:07:08 mail postfix/smtpd[6734]: private/rewrite socket: wanted attribute: flags
Jun 4 16:07:08 mail postfix/smtpd[6734]: input attribute name: flags
Jun 4 16:07:08 mail postfix/smtpd[6734]: input attribute value: 0
Jun 4 16:07:08 mail postfix/smtpd[6734]: private/rewrite socket: wanted attribute: address
Jun 4 16:07:08 mail postfix/smtpd[6734]: input attribute name: address
Jun 4 16:07:08 mail postfix/smtpd[6734]: input attribute value: tshen@i-move.cn
Jun 4 16:07:08 mail postfix/smtpd[6734]: private/rewrite socket: wanted attribute: (list terminator)
Jun 4 16:07:08 mail postfix/smtpd[6734]: input attribute name: (end)
Jun 4 16:07:08 mail postfix/smtpd[6734]: rewrite_clnt: local: tshen@i-move.cn -> tshen@i-move.cn
Jun 4 16:07:08 mail postfix/smtpd[6734]: send attr request = resolve
Jun 4 16:07:08 mail postfix/smtpd[6734]: send attr sender =
Jun 4 16:07:08 mail postfix/smtpd[6734]: send attr address = tshen@i-move.cn
Jun 4 16:07:08 mail postfix/smtpd[6734]: private/rewrite socket: wanted attribute: flags
Jun 4 16:07:08 mail postfix/smtpd[6734]: input attribute name: flags
Jun 4 16:07:08 mail postfix/smtpd[6734]: input attribute value: 0
Jun 4 16:07:08 mail postfix/smtpd[6734]: private/rewrite socket: wanted attribute: transport
Jun 4 16:07:08 mail postfix/smtpd[6734]: input attribute name: transport
Jun 4 16:07:08 mail postfix/smtpd[6734]: input attribute value: dovecot
Jun 4 16:07:08 mail postfix/smtpd[6734]: private/rewrite socket: wanted attribute: nexthop
Jun 4 16:07:08 mail postfix/smtpd[6734]: input attribute name: nexthop
Jun 4 16:07:08 mail postfix/smtpd[6734]: input attribute value: i-move.cn
Jun 4 16:07:08 mail postfix/smtpd[6734]: private/rewrite socket: wanted attribute: recipient
Jun 4 16:07:08 mail postfix/smtpd[6734]: input attribute name: recipient
Jun 4 16:07:08 mail postfix/smtpd[6734]: input attribute value: tshen@i-move.cn
Jun 4 16:07:08 mail postfix/smtpd[6734]: private/rewrite socket: wanted attribute: flags
Jun 4 16:07:08 mail postfix/smtpd[6734]: input attribute name: flags
Jun 4 16:07:08 mail postfix/smtpd[6734]: input attribute value: 1024
Jun 4 16:07:08 mail postfix/smtpd[6734]: private/rewrite socket: wanted attribute: (list terminator)
Jun 4 16:07:08 mail postfix/smtpd[6734]: input attribute name: (end)
Jun 4 16:07:08 mail postfix/smtpd[6734]: resolve_clnt: `' -> `tshen@i-move.cn' -> transp=`dovecot' host=`i-move.cn' rcpt=`tshen@i-move.cn' flags= class=virtual
Jun 4 16:07:08 mail postfix/smtpd[6734]: ctable_locate: install entry key tshen@i-move.cn
Jun 4 16:07:08 mail postfix/smtpd[6734]: extract_addr: in: <tshen@i-move.cn>, result: tshen@i-move.cn
Jun 4 16:07:08 mail postfix/smtpd[6734]: send attr request = rewrite
Jun 4 16:07:08 mail postfix/smtpd[6734]: send attr rule = local
Jun 4 16:07:08 mail postfix/smtpd[6734]: send attr address = double-bounce
Jun 4 16:07:08 mail postfix/smtpd[6734]: private/rewrite socket: wanted attribute: flags
Jun 4 16:07:08 mail postfix/smtpd[6734]: input attribute name: flags
Jun 4 16:07:08 mail postfix/smtpd[6734]: input attribute value: 0
Jun 4 16:07:08 mail postfix/smtpd[6734]: private/rewrite socket: wanted attribute: address
Jun 4 16:07:08 mail postfix/smtpd[6734]: input attribute name: address
Jun 4 16:07:08 mail postfix/smtpd[6734]: input attribute value: double-bounce@mail.i-move.cn
Jun 4 16:07:08 mail postfix/smtpd[6734]: private/rewrite socket: wanted attribute: (list terminator)
Jun 4 16:07:08 mail postfix/smtpd[6734]: input attribute name: (end)
Jun 4 16:07:08 mail postfix/smtpd[6734]: rewrite_clnt: local: double-bounce -> double-bounce@mail.i-move.cn
Jun 4 16:07:08 mail postfix/smtpd[6734]: >>> START Helo command RESTRICTIONS <<<
Jun 4 16:07:08 mail postfix/smtpd[6734]: generic_checks: name=permit_mynetworks
Jun 4 16:07:08 mail postfix/smtpd[6734]: permit_mynetworks: unknown 220.181.64.21
Jun 4 16:07:08 mail postfix/smtpd[6734]: match_hostname: unknown ~? 127.0.0.0/8
Jun 4 16:07:08 mail postfix/smtpd[6734]: match_hostaddr: 220.181.64.21 ~? 127.0.0.0/8
Jun 4 16:07:08 mail postfix/smtpd[6734]: match_list_match: unknown: no match
Jun 4 16:07:08 mail postfix/smtpd[6734]: match_list_match: 220.181.64.21: no match
Jun 4 16:07:08 mail postfix/smtpd[6734]: generic_checks: name=permit_mynetworks status=0
Jun 4 16:07:08 mail postfix/smtpd[6734]: generic_checks: name=permit_sasl_authenticated
Jun 4 16:07:08 mail postfix/smtpd[6734]: generic_checks: name=permit_sasl_authenticated status=0
Jun 4 16:07:08 mail postfix/smtpd[6734]: generic_checks: name=check_helo_access
Jun 4 16:07:08 mail postfix/smtpd[6734]: check_domain_access: corp.chinacache.com
Jun 4 16:07:08 mail postfix/smtpd[6734]: dict_pcre_lookup: /etc/postfix/helo_access.pcre: corp.chinacache.com
Jun 4 16:07:08 mail postfix/smtpd[6734]: generic_checks: name=check_helo_access status=0
Jun 4 16:07:08 mail postfix/smtpd[6734]: >>> END Helo command RESTRICTIONS <<<
Jun 4 16:07:08 mail postfix/smtpd[6734]: >>> START Sender address RESTRICTIONS <<<
Jun 4 16:07:08 mail postfix/smtpd[6734]: generic_checks: name=permit_mynetworks
Jun 4 16:07:08 mail postfix/smtpd[6734]: permit_mynetworks: unknown 220.181.64.21
Jun 4 16:07:08 mail postfix/smtpd[6734]: match_hostname: unknown ~? 127.0.0.0/8
Jun 4 16:07:08 mail postfix/smtpd[6734]: match_hostaddr: 220.181.64.21 ~? 127.0.0.0/8
Jun 4 16:07:08 mail postfix/smtpd[6734]: match_list_match: unknown: no match
Jun 4 16:07:08 mail postfix/smtpd[6734]: match_list_match: 220.181.64.21: no match
Jun 4 16:07:08 mail postfix/smtpd[6734]: generic_checks: name=permit_mynetworks status=0
Jun 4 16:07:08 mail postfix/smtpd[6734]: generic_checks: name=reject_sender_login_mismatch
Jun 4 16:07:08 mail postfix/smtpd[6734]: >>> START Sender address RESTRICTIONS <<<
Jun 4 16:07:08 mail postfix/smtpd[6734]: generic_checks: name=reject_authenticated_sender_login_mismatch
Jun 4 16:07:08 mail postfix/smtpd[6734]: generic_checks: name=reject_authenticated_sender_login_mismatch status=0
Jun 4 16:07:08 mail postfix/smtpd[6734]: generic_checks: name=reject_unauthenticated_sender_login_mismatch
Jun 4 16:07:08 mail postfix/smtpd[6734]: ctable_locate: move existing entry key junlei.tian@chinacache.com
Jun 4 16:07:08 mail postfix/smtpd[6734]: connect to subsystem private/proxymap
Jun 4 16:07:08 mail postfix/smtpd[6734]: send attr request = lookup
Jun 4 16:07:08 mail postfix/smtpd[6734]: send attr table = mysql:/etc/postfix/mysql/sender_login_maps.cf
Jun 4 16:07:08 mail postfix/smtpd[6734]: send attr flags = 16448
Jun 4 16:07:08 mail postfix/smtpd[6734]: send attr key = junlei.tian@chinacache.com
Jun 4 16:07:08 mail postfix/smtpd[6734]: private/proxymap socket: wanted attribute: status
Jun 4 16:07:08 mail postfix/smtpd[6734]: input attribute name: status
Jun 4 16:07:08 mail postfix/smtpd[6734]: input attribute value: 1
Jun 4 16:07:08 mail postfix/smtpd[6734]: private/proxymap socket: wanted attribute: value
Jun 4 16:07:08 mail postfix/smtpd[6734]: input attribute name: value
Jun 4 16:07:08 mail postfix/smtpd[6734]: input attribute value: (end)
Jun 4 16:07:08 mail postfix/smtpd[6734]: private/proxymap socket: wanted attribute: (list terminator)
Jun 4 16:07:08 mail postfix/smtpd[6734]: input attribute name: (end)
Jun 4 16:07:08 mail postfix/smtpd[6734]: dict_proxy_lookup: table=mysql:/etc/postfix/mysql/sender_login_maps.cf flags=lock|fold_fix key=junlei.tian@chinacache.com -> status=1 result=
Jun 4 16:07:08 mail postfix/smtpd[6734]: maps_find: smtpd_sender_login_maps: junlei.tian@chinacache.com: not found
Jun 4 16:07:08 mail postfix/smtpd[6734]: match_string: chinacache.com ~? mail.i-move.cn
Jun 4 16:07:08 mail postfix/smtpd[6734]: match_string: chinacache.com ~? localhost
Jun 4 16:07:08 mail postfix/smtpd[6734]: match_string: chinacache.com ~? localhost.localdomain
Jun 4 16:07:08 mail postfix/smtpd[6734]: match_string: chinacache.com ~? localhost.mail.i-move.cn
Jun 4 16:07:08 mail postfix/smtpd[6734]: match_list_match: chinacache.com: no match
Jun 4 16:07:08 mail postfix/smtpd[6734]: send attr request = lookup
Jun 4 16:07:08 mail postfix/smtpd[6734]: send attr table = mysql:/etc/postfix/mysql/sender_login_maps.cf
Jun 4 16:07:08 mail postfix/smtpd[6734]: send attr flags = 16448
Jun 4 16:07:08 mail postfix/smtpd[6734]: send attr key = @chinacache.com
Jun 4 16:07:08 mail postfix/smtpd[6734]: private/proxymap socket: wanted attribute: status
Jun 4 16:07:08 mail postfix/smtpd[6734]: input attribute name: status
Jun 4 16:07:08 mail postfix/smtpd[6734]: input attribute value: 1
Jun 4 16:07:08 mail postfix/smtpd[6734]: private/proxymap socket: wanted attribute: value
Jun 4 16:07:08 mail postfix/smtpd[6734]: input attribute name: value
Jun 4 16:07:08 mail postfix/smtpd[6734]: input attribute value: (end)
Jun 4 16:07:08 mail postfix/smtpd[6734]: private/proxymap socket: wanted attribute: (list terminator)
Jun 4 16:07:08 mail postfix/smtpd[6734]: input attribute name: (end)
Jun 4 16:07:08 mail postfix/smtpd[6734]: dict_proxy_lookup: table=mysql:/etc/postfix/mysql/sender_login_maps.cf flags=lock|fold_fix key=@chinacache.com -> status=1 result=
Jun 4 16:07:08 mail postfix/smtpd[6734]: maps_find: smtpd_sender_login_maps: @chinacache.com: not found
Jun 4 16:07:08 mail postfix/smtpd[6734]: mail_addr_find: junlei.tian@chinacache.com -> (not found)
Jun 4 16:07:08 mail postfix/smtpd[6734]: generic_checks: name=reject_unauthenticated_sender_login_mismatch status=0
Jun 4 16:07:08 mail postfix/smtpd[6734]: >>> END Sender address RESTRICTIONS <<<
Jun 4 16:07:08 mail postfix/smtpd[6734]: generic_checks: name=reject_sender_login_mismatch status=0
Jun 4 16:07:08 mail postfix/smtpd[6734]: generic_checks: name=permit_sasl_authenticated
Jun 4 16:07:08 mail postfix/smtpd[6734]: generic_checks: name=permit_sasl_authenticated status=0
Jun 4 16:07:08 mail postfix/smtpd[6734]: >>> END Sender address RESTRICTIONS <<<
Jun 4 16:07:08 mail postfix/smtpd[6734]: >>> CHECKING RECIPIENT MAPS <<<
Jun 4 16:07:08 mail postfix/smtpd[6734]: ctable_locate: leave existing entry key junlei.tian@chinacache.com
Jun 4 16:07:08 mail postfix/smtpd[6734]: maps_find: recipient_canonical_maps: junlei.tian@chinacache.com: not found
Jun 4 16:07:08 mail postfix/smtpd[6734]: match_string: chinacache.com ~? mail.i-move.cn
Jun 4 16:07:08 mail postfix/smtpd[6734]: match_string: chinacache.com ~? localhost
Jun 4 16:07:08 mail postfix/smtpd[6734]: match_string: chinacache.com ~? localhost.localdomain
Jun 4 16:07:08 mail postfix/smtpd[6734]: match_string: chinacache.com ~? localhost.mail.i-move.cn
Jun 4 16:07:08 mail postfix/smtpd[6734]: match_list_match: chinacache.com: no match
Jun 4 16:07:08 mail postfix/smtpd[6734]: maps_find: recipient_canonical_maps: @chinacache.com: not found
Jun 4 16:07:08 mail postfix/smtpd[6734]: mail_addr_find: junlei.tian@chinacache.com -> (not found)
Jun 4 16:07:08 mail postfix/smtpd[6734]: maps_find: canonical_maps: junlei.tian@chinacache.com: not found
Jun 4 16:07:08 mail postfix/smtpd[6734]: match_string: chinacache.com ~? mail.i-move.cn
Jun 4 16:07:08 mail postfix/smtpd[6734]: match_string: chinacache.com ~? localhost
Jun 4 16:07:08 mail postfix/smtpd[6734]: match_string: chinacache.com ~? localhost.localdomain
Jun 4 16:07:08 mail postfix/smtpd[6734]: match_string: chinacache.com ~? localhost.mail.i-move.cn
Jun 4 16:07:08 mail postfix/smtpd[6734]: match_list_match: chinacache.com: no match
Jun 4 16:07:08 mail postfix/smtpd[6734]: maps_find: canonical_maps: @chinacache.com: not found
Jun 4 16:07:08 mail postfix/smtpd[6734]: mail_addr_find: junlei.tian@chinacache.com -> (not found)
Jun 4 16:07:08 mail postfix/smtpd[6734]: send attr request = lookup
Jun 4 16:07:08 mail postfix/smtpd[6734]: send attr table = mysql:/etc/postfix/mysql/virtual_alias_maps.cf
Jun 4 16:07:08 mail postfix/smtpd[6734]: send attr flags = 16448
Jun 4 16:07:08 mail postfix/smtpd[6734]: send attr key = junlei.tian@chinacache.com
Jun 4 16:07:08 mail postfix/smtpd[6734]: private/proxymap socket: wanted attribute: status
Jun 4 16:07:08 mail postfix/smtpd[6734]: input attribute name: status
Jun 4 16:07:08 mail postfix/smtpd[6734]: input attribute value: 1
Jun 4 16:07:08 mail postfix/smtpd[6734]: private/proxymap socket: wanted attribute: value
Jun 4 16:07:08 mail postfix/smtpd[6734]: input attribute name: value
Jun 4 16:07:08 mail postfix/smtpd[6734]: input attribute value: (end)
Jun 4 16:07:08 mail postfix/smtpd[6734]: private/proxymap socket: wanted attribute: (list terminator)
Jun 4 16:07:08 mail postfix/smtpd[6734]: input attribute name: (end)
Jun 4 16:07:08 mail postfix/smtpd[6734]: dict_proxy_lookup: table=mysql:/etc/postfix/mysql/virtual_alias_maps.cf flags=lock|fold_fix key=junlei.tian@chinacache.com -> status=1 result=
Jun 4 16:07:08 mail postfix/smtpd[6734]: send attr request = lookup
Jun 4 16:07:08 mail postfix/smtpd[6734]: send attr table = mysql:/etc/postfix/mysql/domain_alias_maps.cf
Jun 4 16:07:08 mail postfix/smtpd[6734]: send attr flags = 16448
Jun 4 16:07:08 mail postfix/smtpd[6734]: send attr key = junlei.tian@chinacache.com
Jun 4 16:07:08 mail postfix/smtpd[6734]: private/proxymap socket: wanted attribute: status
Jun 4 16:07:08 mail postfix/smtpd[6734]: input attribute name: status
Jun 4 16:07:08 mail postfix/smtpd[6734]: input attribute value: 1
Jun 4 16:07:08 mail postfix/smtpd[6734]: private/proxymap socket: wanted attribute: value
Jun 4 16:07:08 mail postfix/smtpd[6734]: input attribute name: value
Jun 4 16:07:08 mail postfix/smtpd[6734]: input attribute value: (end)
Jun 4 16:07:08 mail postfix/smtpd[6734]: private/proxymap socket: wanted attribute: (list terminator)
Jun 4 16:07:08 mail postfix/smtpd[6734]: input attribute name: (end)
Jun 4 16:07:08 mail postfix/smtpd[6734]: dict_proxy_lookup: table=mysql:/etc/postfix/mysql/domain_alias_maps.cf flags=lock|fold_fix key=junlei.tian@chinacache.com -> status=1 result=
Jun 4 16:07:08 mail postfix/smtpd[6734]: send attr request = lookup
Jun 4 16:07:08 mail postfix/smtpd[6734]: send attr table = mysql:/etc/postfix/mysql/catchall_maps.cf
Jun 4 16:07:08 mail postfix/smtpd[6734]: send attr flags = 16448
Jun 4 16:07:08 mail postfix/smtpd[6734]: send attr key = junlei.tian@chinacache.com
Jun 4 16:07:08 mail postfix/smtpd[6734]: private/proxymap socket: wanted attribute: status
Jun 4 16:07:08 mail postfix/smtpd[6734]: input attribute name: status
Jun 4 16:07:08 mail postfix/smtpd[6734]: input attribute value: 1
Jun 4 16:07:08 mail postfix/smtpd[6734]: private/proxymap socket: wanted attribute: value
Jun 4 16:07:08 mail postfix/smtpd[6734]: input attribute name: value
Jun 4 16:07:08 mail postfix/smtpd[6734]: input attribute value: (end)
Jun 4 16:07:08 mail postfix/smtpd[6734]: private/proxymap socket: wanted attribute: (list terminator)
Jun 4 16:07:08 mail postfix/smtpd[6734]: input attribute name: (end)
Jun 4 16:07:08 mail postfix/smtpd[6734]: dict_proxy_lookup: table=mysql:/etc/postfix/mysql/catchall_maps.cf flags=lock|fold_fix key=junlei.tian@chinacache.com -> status=1 result=
Jun 4 16:07:08 mail postfix/smtpd[6734]: send attr request = lookup
Jun 4 16:07:08 mail postfix/smtpd[6734]: send attr table = mysql:/etc/postfix/mysql/domain_alias_catchall_maps.cf
Jun 4 16:07:08 mail postfix/smtpd[6734]: send attr flags = 16448
Jun 4 16:07:08 mail postfix/smtpd[6734]: send attr key = junlei.tian@chinacache.com
Jun 4 16:07:08 mail postfix/smtpd[6734]: private/proxymap socket: wanted attribute: status
Jun 4 16:07:08 mail postfix/smtpd[6734]: input attribute name: status
Jun 4 16:07:08 mail postfix/smtpd[6734]: input attribute value: 1
Jun 4 16:07:08 mail postfix/smtpd[6734]: private/proxymap socket: wanted attribute: value
Jun 4 16:07:08 mail postfix/smtpd[6734]: input attribute name: value
Jun 4 16:07:08 mail postfix/smtpd[6734]: input attribute value: (end)
Jun 4 16:07:08 mail postfix/smtpd[6734]: private/proxymap socket: wanted attribute: (list terminator)
Jun 4 16:07:08 mail postfix/smtpd[6734]: input attribute name: (end)
Jun 4 16:07:08 mail postfix/smtpd[6734]: dict_proxy_lookup: table=mysql:/etc/postfix/mysql/domain_alias_catchall_maps.cf flags=lock|fold_fix key=junlei.tian@chinacache.com -> status=1 result=
Jun 4 16:07:08 mail postfix/smtpd[6734]: maps_find: virtual_alias_maps: junlei.tian@chinacache.com: not found
Jun 4 16:07:08 mail postfix/smtpd[6734]: match_string: chinacache.com ~? mail.i-move.cn
Jun 4 16:07:08 mail postfix/smtpd[6734]: match_string: chinacache.com ~? localhost
Jun 4 16:07:08 mail postfix/smtpd[6734]: match_string: chinacache.com ~? localhost.localdomain
Jun 4 16:07:08 mail postfix/smtpd[6734]: match_string: chinacache.com ~? localhost.mail.i-move.cn
Jun 4 16:07:08 mail postfix/smtpd[6734]: match_list_match: chinacache.com: no match
Jun 4 16:07:08 mail postfix/smtpd[6734]: send attr request = lookup
Jun 4 16:07:08 mail postfix/smtpd[6734]: send attr table = mysql:/etc/postfix/mysql/virtual_alias_maps.cf
Jun 4 16:07:08 mail postfix/smtpd[6734]: send attr flags = 16448
Jun 4 16:07:08 mail postfix/smtpd[6734]: send attr key = @chinacache.com
Jun 4 16:07:08 mail postfix/smtpd[6734]: private/proxymap socket: wanted attribute: status
Jun 4 16:07:08 mail postfix/smtpd[6734]: input attribute name: status
Jun 4 16:07:08 mail postfix/smtpd[6734]: input attribute value: 1
Jun 4 16:07:08 mail postfix/smtpd[6734]: private/proxymap socket: wanted attribute: value
Jun 4 16:07:08 mail postfix/smtpd[6734]: input attribute name: value
Jun 4 16:07:08 mail postfix/smtpd[6734]: input attribute value: (end)
Jun 4 16:07:08 mail postfix/smtpd[6734]: private/proxymap socket: wanted attribute: (list terminator)
Jun 4 16:07:08 mail postfix/smtpd[6734]: input attribute name: (end)
Jun 4 16:07:08 mail postfix/smtpd[6734]: dict_proxy_lookup: table=mysql:/etc/postfix/mysql/virtual_alias_maps.cf flags=lock|fold_fix key=@chinacache.com -> status=1 result=
Jun 4 16:07:08 mail postfix/smtpd[6734]: send attr request = lookup
Jun 4 16:07:08 mail postfix/smtpd[6734]: send attr table = mysql:/etc/postfix/mysql/domain_alias_maps.cf
Jun 4 16:07:08 mail postfix/smtpd[6734]: send attr flags = 16448
Jun 4 16:07:08 mail postfix/smtpd[6734]: send attr key = @chinacache.com
Jun 4 16:07:08 mail postfix/smtpd[6734]: private/proxymap socket: wanted attribute: status
Jun 4 16:07:08 mail postfix/smtpd[6734]: input attribute name: status
Jun 4 16:07:08 mail postfix/smtpd[6734]: input attribute value: 1
Jun 4 16:07:08 mail postfix/smtpd[6734]: private/proxymap socket: wanted attribute: value
Jun 4 16:07:08 mail postfix/smtpd[6734]: input attribute name: value
Jun 4 16:07:08 mail postfix/smtpd[6734]: input attribute value: (end)
Jun 4 16:07:08 mail postfix/smtpd[6734]: private/proxymap socket: wanted attribute: (list terminator)
Jun 4 16:07:08 mail postfix/smtpd[6734]: input attribute name: (end)
Jun 4 16:07:08 mail postfix/smtpd[6734]: dict_proxy_lookup: table=mysql:/etc/postfix/mysql/domain_alias_maps.cf flags=lock|fold_fix key=@chinacache.com -> status=1 result=
Jun 4 16:07:08 mail postfix/smtpd[6734]: send attr request = lookup
Jun 4 16:07:08 mail postfix/smtpd[6734]: send attr table = mysql:/etc/postfix/mysql/catchall_maps.cf
Jun 4 16:07:08 mail postfix/smtpd[6734]: send attr flags = 16448
Jun 4 16:07:08 mail postfix/smtpd[6734]: send attr key = @chinacache.com
Jun 4 16:07:08 mail postfix/smtpd[6734]: private/proxymap socket: wanted attribute: status
Jun 4 16:07:08 mail postfix/smtpd[6734]: input attribute name: status
Jun 4 16:07:08 mail postfix/smtpd[6734]: input attribute value: 1
Jun 4 16:07:08 mail postfix/smtpd[6734]: private/proxymap socket: wanted attribute: value
Jun 4 16:07:08 mail postfix/smtpd[6734]: input attribute name: value
Jun 4 16:07:08 mail postfix/smtpd[6734]: input attribute value: (end)
Jun 4 16:07:08 mail postfix/smtpd[6734]: private/proxymap socket: wanted attribute: (list terminator)
Jun 4 16:07:08 mail postfix/smtpd[6734]: input attribute name: (end)
Jun 4 16:07:08 mail postfix/smtpd[6734]: dict_proxy_lookup: table=mysql:/etc/postfix/mysql/catchall_maps.cf flags=lock|fold_fix key=@chinacache.com -> status=1 result=
Jun 4 16:07:08 mail postfix/smtpd[6734]: send attr request = lookup
Jun 4 16:07:08 mail postfix/smtpd[6734]: send attr table = mysql:/etc/postfix/mysql/domain_alias_catchall_maps.cf
Jun 4 16:07:08 mail postfix/smtpd[6734]: send attr flags = 16448
Jun 4 16:07:08 mail postfix/smtpd[6734]: send attr key = @chinacache.com
Jun 4 16:07:08 mail postfix/smtpd[6734]: private/proxymap socket: wanted attribute: status
Jun 4 16:07:08 mail postfix/smtpd[6734]: input attribute name: status
Jun 4 16:07:08 mail postfix/smtpd[6734]: input attribute value: 1
Jun 4 16:07:08 mail postfix/smtpd[6734]: private/proxymap socket: wanted attribute: value
Jun 4 16:07:08 mail postfix/smtpd[6734]: input attribute name: value
Jun 4 16:07:08 mail postfix/smtpd[6734]: input attribute value: (end)
Jun 4 16:07:08 mail postfix/smtpd[6734]: private/proxymap socket: wanted attribute: (list terminator)
Jun 4 16:07:08 mail postfix/smtpd[6734]: input attribute name: (end)
Jun 4 16:07:08 mail postfix/smtpd[6734]: dict_proxy_lookup: table=mysql:/etc/postfix/mysql/domain_alias_catchall_maps.cf flags=lock|fold_fix key=@chinacache.com -> status=1 result=
Jun 4 16:07:08 mail postfix/smtpd[6734]: maps_find: virtual_alias_maps: @chinacache.com: not found
Jun 4 16:07:08 mail postfix/smtpd[6734]: mail_addr_find: junlei.tian@chinacache.com -> (not found)
Jun 4 16:07:08 mail postfix/smtpd[6734]: >>> START Recipient address RESTRICTIONS <<<
Jun 4 16:07:08 mail postfix/smtpd[6734]: generic_checks: name=reject_unknown_sender_domain
Jun 4 16:07:08 mail postfix/smtpd[6734]: reject_unknown_address: junlei.tian@chinacache.com
Jun 4 16:07:08 mail postfix/smtpd[6734]: ctable_locate: leave existing entry key junlei.tian@chinacache.com
Jun 4 16:07:08 mail postfix/smtpd[6734]: reject_unknown_mailhost: chinacache.com
Jun 4 16:07:08 mail postfix/smtpd[6734]: lookup chinacache.com type MX flags 0
Jun 4 16:07:08 mail postfix/smtpd[6734]: dns_query: chinacache.com (MX): OK
Jun 4 16:07:08 mail postfix/smtpd[6734]: dns_get_answer: type MX for chinacache.com
Jun 4 16:07:08 mail postfix/smtpd[6734]: generic_checks: name=reject_unknown_sender_domain status=0
Jun 4 16:07:08 mail postfix/smtpd[6734]: generic_checks: name=reject_unknown_recipient_domain
Jun 4 16:07:08 mail postfix/smtpd[6734]: reject_unknown_address: tshen@i-move.cn
Jun 4 16:07:08 mail postfix/smtpd[6734]: ctable_locate: move existing entry key tshen@i-move.cn
Jun 4 16:07:08 mail postfix/smtpd[6734]: generic_checks: name=reject_unknown_recipient_domain status=0
Jun 4 16:07:08 mail postfix/smtpd[6734]: generic_checks: name=reject_non_fqdn_sender
Jun 4 16:07:08 mail postfix/smtpd[6734]: reject_non_fqdn_address: junlei.tian@chinacache.com
Jun 4 16:07:08 mail postfix/smtpd[6734]: generic_checks: name=reject_non_fqdn_sender status=0
Jun 4 16:07:08 mail postfix/smtpd[6734]: generic_checks: name=reject_non_fqdn_recipient
Jun 4 16:07:08 mail postfix/smtpd[6734]: reject_non_fqdn_address: tshen@i-move.cn
Jun 4 16:07:08 mail postfix/smtpd[6734]: generic_checks: name=reject_non_fqdn_recipient status=0
Jun 4 16:07:08 mail postfix/smtpd[6734]: generic_checks: name=reject_unlisted_recipient
Jun 4 16:07:08 mail postfix/smtpd[6734]: >>> CHECKING RECIPIENT MAPS <<<
Jun 4 16:07:08 mail postfix/smtpd[6734]: ctable_locate: leave existing entry key tshen@i-move.cn
Jun 4 16:07:08 mail postfix/smtpd[6734]: maps_find: recipient_canonical_maps: tshen@i-move.cn: not found
Jun 4 16:07:08 mail postfix/smtpd[6734]: match_string: i-move.cn ~? mail.i-move.cn
Jun 4 16:07:08 mail postfix/smtpd[6734]: match_string: i-move.cn ~? localhost
Jun 4 16:07:08 mail postfix/smtpd[6734]: match_string: i-move.cn ~? localhost.localdomain
Jun 4 16:07:08 mail postfix/smtpd[6734]: match_string: i-move.cn ~? localhost.mail.i-move.cn
Jun 4 16:07:08 mail postfix/smtpd[6734]: match_list_match: i-move.cn: no match
Jun 4 16:07:08 mail postfix/smtpd[6734]: maps_find: recipient_canonical_maps: @i-move.cn: not found
Jun 4 16:07:08 mail postfix/smtpd[6734]: mail_addr_find: tshen@i-move.cn -> (not found)
Jun 4 16:07:08 mail postfix/smtpd[6734]: maps_find: canonical_maps: tshen@i-move.cn: not found
Jun 4 16:07:08 mail postfix/smtpd[6734]: match_string: i-move.cn ~? mail.i-move.cn
Jun 4 16:07:08 mail postfix/smtpd[6734]: match_string: i-move.cn ~? localhost
Jun 4 16:07:08 mail postfix/smtpd[6734]: match_string: i-move.cn ~? localhost.localdomain
Jun 4 16:07:08 mail postfix/smtpd[6734]: match_string: i-move.cn ~? localhost.mail.i-move.cn
Jun 4 16:07:08 mail postfix/smtpd[6734]: match_list_match: i-move.cn: no match
Jun 4 16:07:08 mail postfix/smtpd[6734]: maps_find: canonical_maps: @i-move.cn: not found
Jun 4 16:07:08 mail postfix/smtpd[6734]: mail_addr_find: tshen@i-move.cn -> (not found)
Jun 4 16:07:08 mail postfix/smtpd[6734]: send attr request = lookup
Jun 4 16:07:08 mail postfix/smtpd[6734]: send attr table = mysql:/etc/postfix/mysql/virtual_alias_maps.cf
Jun 4 16:07:08 mail postfix/smtpd[6734]: send attr flags = 16448
Jun 4 16:07:08 mail postfix/smtpd[6734]: send attr key = tshen@i-move.cn
Jun 4 16:07:08 mail postfix/smtpd[6734]: private/proxymap socket: wanted attribute: status
Jun 4 16:07:08 mail postfix/smtpd[6734]: input attribute name: status
Jun 4 16:07:08 mail postfix/smtpd[6734]: input attribute value: 0
Jun 4 16:07:08 mail postfix/smtpd[6734]: private/proxymap socket: wanted attribute: value
Jun 4 16:07:08 mail postfix/smtpd[6734]: input attribute name: value
Jun 4 16:07:08 mail postfix/smtpd[6734]: input attribute value: tshen@i-move.cn
Jun 4 16:07:08 mail postfix/smtpd[6734]: private/proxymap socket: wanted attribute: (list terminator)
Jun 4 16:07:08 mail postfix/smtpd[6734]: input attribute name: (end)
Jun 4 16:07:08 mail postfix/smtpd[6734]: dict_proxy_lookup: table=mysql:/etc/postfix/mysql/virtual_alias_maps.cf flags=lock|fold_fix key=tshen@i-move.cn -> status=0 result=tshen@i-move.cn
Jun 4 16:07:08 mail postfix/smtpd[6734]: maps_find: virtual_alias_maps: proxy:mysql:/etc/postfix/mysql/virtual_alias_maps.cf(0,lock|fold_fix): tshen@i-move.cn = tshen@i-move.cn
Jun 4 16:07:08 mail postfix/smtpd[6734]: mail_addr_find: tshen@i-move.cn -> tshen@i-move.cn
Jun 4 16:07:08 mail postfix/smtpd[6734]: generic_checks: name=reject_unlisted_recipient status=0
Jun 4 16:07:08 mail postfix/smtpd[6734]: generic_checks: name=check_policy_service
Jun 4 16:07:08 mail postfix/smtpd[6734]: trying... [127.0.0.1]
Jun 4 16:07:08 mail postfix/smtpd[6734]: auto_clnt_open: connected to 127.0.0.1:7777
Jun 4 16:07:08 mail postfix/smtpd[6734]: send attr request = smtpd_access_policy
Jun 4 16:07:08 mail postfix/smtpd[6734]: send attr protocol_state = RCPT
Jun 4 16:07:08 mail postfix/smtpd[6734]: send attr protocol_name = ESMTP
Jun 4 16:07:08 mail postfix/smtpd[6734]: send attr client_address = 220.181.64.21
Jun 4 16:07:08 mail postfix/smtpd[6734]: send attr client_name = unknown
Jun 4 16:07:08 mail postfix/smtpd[6734]: send attr reverse_client_name = unknown
Jun 4 16:07:08 mail postfix/smtpd[6734]: send attr helo_name = corp.chinacache.com
Jun 4 16:07:08 mail postfix/smtpd[6734]: send attr sender = junlei.tian@chinacache.com
Jun 4 16:07:08 mail postfix/smtpd[6734]: send attr recipient = tshen@i-move.cn
Jun 4 16:07:08 mail postfix/smtpd[6734]: send attr recipient_count = 0
Jun 4 16:07:08 mail postfix/smtpd[6734]: send attr queue_id =
Jun 4 16:07:08 mail postfix/smtpd[6734]: send attr instance = 1a4e.538ed3ac.c6f46.0
Jun 4 16:07:08 mail postfix/smtpd[6734]: send attr size = 31592
Jun 4 16:07:08 mail postfix/smtpd[6734]: send attr etrn_domain =
Jun 4 16:07:08 mail postfix/smtpd[6734]: send attr stress =
Jun 4 16:07:08 mail postfix/smtpd[6734]: send attr sasl_method =
Jun 4 16:07:08 mail postfix/smtpd[6734]: send attr sasl_username =
Jun 4 16:07:08 mail postfix/smtpd[6734]: send attr sasl_sender =
Jun 4 16:07:08 mail postfix/smtpd[6734]: send attr ccert_subject =
Jun 4 16:07:08 mail postfix/smtpd[6734]: send attr ccert_issuer =
Jun 4 16:07:08 mail postfix/smtpd[6734]: send attr ccert_fingerprint =
Jun 4 16:07:08 mail postfix/smtpd[6734]: send attr encryption_protocol = TLSv1
Jun 4 16:07:08 mail postfix/smtpd[6734]: send attr encryption_cipher = AES128-SHA
Jun 4 16:07:08 mail postfix/smtpd[6734]: send attr encryption_keysize = 128
Jun 4 16:07:08 mail postfix/smtpd[6734]: 127.0.0.1:7777: wanted attribute: action
Jun 4 16:07:08 mail postfix/smtpd[6734]: input attribute name: action
Jun 4 16:07:08 mail postfix/smtpd[6734]: input attribute value: DUNNO
Jun 4 16:07:08 mail postfix/smtpd[6734]: 127.0.0.1:7777: wanted attribute: (list terminator)
Jun 4 16:07:08 mail postfix/smtpd[6734]: input attribute name: (end)
Jun 4 16:07:08 mail postfix/smtpd[6734]: check_table_result: inet:127.0.0.1:7777 DUNNO policy query
Jun 4 16:07:08 mail postfix/smtpd[6734]: generic_checks: name=check_policy_service status=0
Jun 4 16:07:08 mail postfix/smtpd[6734]: generic_checks: name=permit_mynetworks
Jun 4 16:07:08 mail postfix/smtpd[6734]: permit_mynetworks: unknown 220.181.64.21
Jun 4 16:07:08 mail postfix/smtpd[6734]: match_hostname: unknown ~? 127.0.0.0/8
Jun 4 16:07:08 mail postfix/smtpd[6734]: match_hostaddr: 220.181.64.21 ~? 127.0.0.0/8
Jun 4 16:07:08 mail postfix/smtpd[6734]: match_list_match: unknown: no match
Jun 4 16:07:08 mail postfix/smtpd[6734]: match_list_match: 220.181.64.21: no match
Jun 4 16:07:08 mail postfix/smtpd[6734]: generic_checks: name=permit_mynetworks status=0
Jun 4 16:07:08 mail postfix/smtpd[6734]: generic_checks: name=permit_sasl_authenticated
Jun 4 16:07:08 mail postfix/smtpd[6734]: generic_checks: name=permit_sasl_authenticated status=0
Jun 4 16:07:08 mail postfix/smtpd[6734]: generic_checks: name=reject_unauth_destination
Jun 4 16:07:08 mail postfix/smtpd[6734]: reject_unauth_destination: tshen@i-move.cn
Jun 4 16:07:08 mail postfix/smtpd[6734]: permit_auth_destination: tshen@i-move.cn
Jun 4 16:07:08 mail postfix/smtpd[6734]: ctable_locate: leave existing entry key tshen@i-move.cn
Jun 4 16:07:08 mail postfix/smtpd[6734]: generic_checks: name=reject_unauth_destination status=0
Jun 4 16:07:08 mail postfix/smtpd[6734]: generic_checks: name=reject_non_fqdn_helo_hostname
Jun 4 16:07:08 mail postfix/smtpd[6734]: reject_non_fqdn_hostname: corp.chinacache.com
Jun 4 16:07:08 mail postfix/smtpd[6734]: generic_checks: name=reject_non_fqdn_helo_hostname status=0
Jun 4 16:07:08 mail postfix/smtpd[6734]: generic_checks: name=reject_invalid_helo_hostname
Jun 4 16:07:08 mail postfix/smtpd[6734]: reject_invalid_hostname: corp.chinacache.com
Jun 4 16:07:08 mail postfix/smtpd[6734]: generic_checks: name=reject_invalid_helo_hostname status=0
Jun 4 16:07:08 mail postfix/smtpd[6734]: generic_checks: name=check_policy_service
Jun 4 16:07:08 mail postfix/smtpd[6734]: trying... [127.0.0.1]
Jun 4 16:07:08 mail postfix/smtpd[6734]: auto_clnt_open: connected to 127.0.0.1:10031
Jun 4 16:07:08 mail postfix/smtpd[6734]: send attr request = smtpd_access_policy
Jun 4 16:07:08 mail postfix/smtpd[6734]: send attr protocol_state = RCPT
Jun 4 16:07:08 mail postfix/smtpd[6734]: send attr protocol_name = ESMTP
Jun 4 16:07:08 mail postfix/smtpd[6734]: send attr client_address = 220.181.64.21
Jun 4 16:07:08 mail policyd: connection from: 127.0.0.1 port: 50305 slots: 0 of 2044 used
Jun 4 16:07:08 mail postfix/smtpd[6734]: send attr client_name = unknown
Jun 4 16:07:08 mail postfix/smtpd[6734]: send attr reverse_client_name = unknown
Jun 4 16:07:08 mail postfix/smtpd[6734]: send attr helo_name = corp.chinacache.com
Jun 4 16:07:08 mail postfix/smtpd[6734]: send attr sender = junlei.tian@chinacache.com
Jun 4 16:07:08 mail postfix/smtpd[6734]: send attr recipient = tshen@i-move.cn
Jun 4 16:07:08 mail postfix/smtpd[6734]: send attr recipient_count = 0
Jun 4 16:07:08 mail postfix/smtpd[6734]: send attr queue_id =
Jun 4 16:07:08 mail postfix/smtpd[6734]: send attr instance = 1a4e.538ed3ac.c6f46.0
Jun 4 16:07:08 mail postfix/smtpd[6734]: send attr size = 31592
Jun 4 16:07:08 mail postfix/smtpd[6734]: send attr etrn_domain =
Jun 4 16:07:08 mail postfix/smtpd[6734]: send attr stress =
Jun 4 16:07:08 mail postfix/smtpd[6734]: send attr sasl_method =
Jun 4 16:07:08 mail postfix/smtpd[6734]: send attr sasl_username =
Jun 4 16:07:08 mail postfix/smtpd[6734]: send attr sasl_sender =
Jun 4 16:07:08 mail postfix/smtpd[6734]: send attr ccert_subject =
Jun 4 16:07:08 mail postfix/smtpd[6734]: send attr ccert_issuer =
Jun 4 16:07:08 mail postfix/smtpd[6734]: send attr ccert_fingerprint =
Jun 4 16:07:08 mail postfix/smtpd[6734]: send attr encryption_protocol = TLSv1
Jun 4 16:07:08 mail postfix/smtpd[6734]: send attr encryption_cipher = AES128-SHA
Jun 4 16:07:08 mail postfix/smtpd[6734]: send attr encryption_keysize = 128
Jun 4 16:07:08 mail policyd: rcpt=220, whitelist_sender=update, host=220.181.64.21 (unknown), from=junlei.tian@chinacache.com, to=tshen@i-move.cn, size=31592
Jun 4 16:07:08 mail postfix/smtpd[6734]: 127.0.0.1:10031: wanted attribute: action
Jun 4 16:07:08 mail postfix/smtpd[6734]: input attribute name: action
Jun 4 16:07:08 mail postfix/smtpd[6734]: input attribute value: dunno
Jun 4 16:07:08 mail postfix/smtpd[6734]: 127.0.0.1:10031: wanted attribute: (list terminator)
Jun 4 16:07:08 mail postfix/smtpd[6734]: input attribute name: (end)
Jun 4 16:07:08 mail postfix/smtpd[6734]: check_table_result: inet:127.0.0.1:10031 dunno policy query
Jun 4 16:07:08 mail postfix/smtpd[6734]: generic_checks: name=check_policy_service status=0
Jun 4 16:07:08 mail postfix/smtpd[6734]: generic_checks: name=check_sender_access
Jun 4 16:07:08 mail postfix/smtpd[6734]: check_mail_access: junlei.tian@chinacache.com
Jun 4 16:07:08 mail postfix/smtpd[6734]: ctable_locate: move existing entry key junlei.tian@chinacache.com
Jun 4 16:07:08 mail postfix/smtpd[6734]: check_access: junlei.tian@chinacache.com
Jun 4 16:07:08 mail postfix/smtpd[6734]: dict_regexp_lookup: /etc/postfix/checks-rule/sender_checks: junlei.tian@chinacache.com
Jun 4 16:07:08 mail postfix/smtpd[6734]: check_table_result: regexp:/etc/postfix/checks-rule/sender_checks REJECT junlei.tian@chinacache.com
Jun 4 16:07:08 mail postfix/smtpd[6734]: NOQUEUE: reject: RCPT from unknown[220.181.64.21]: 554 5.7.1 <junlei.tian@chinacache.com>: Sender address rejected: Access denied; from=<junlei.tian@chinacache.com> to=<tshen@i-move.cn> proto=ESMTP helo=<corp.chinacache.com>
Jun 4 16:07:08 mail postfix/smtpd[6734]: generic_checks: name=check_sender_access status=2
Jun 4 16:07:08 mail postfix/smtpd[6734]: > unknown[220.181.64.21]: 554 5.7.1 <junlei.tian@chinacache.com>: Sender address rejected: Access denied
Jun 4 16:07:08 mail postfix/smtpd[6734]: watchdog_pat: 0x7f0c5dcee290
Jun 4 16:07:08 mail postfix/smtpd[6734]: < unknown[220.181.64.21]: QUIT
Jun 4 16:07:08 mail postfix/smtpd[6734]: > unknown[220.181.64.21]: 221 2.0.0 Bye
Jun 4 16:07:08 mail postfix/smtpd[6734]: match_hostname: unknown ~? 127.0.0.0/8
Jun 4 16:07:08 mail postfix/smtpd[6734]: match_hostaddr: 220.181.64.21 ~? 127.0.0.0/8
Jun 4 16:07:08 mail postfix/smtpd[6734]: match_list_match: unknown: no match
Jun 4 16:07:08 mail postfix/smtpd[6734]: match_list_match: 220.181.64.21: no match
Jun 4 16:07:08 mail postfix/smtpd[6734]: send attr request = disconnect
Jun 4 16:07:08 mail postfix/smtpd[6734]: send attr ident = smtp:220.181.64.21
Jun 4 16:07:08 mail postfix/smtpd[6734]: private/anvil: wanted attribute: status
Jun 4 16:07:08 mail postfix/smtpd[6734]: input attribute name: status
Jun 4 16:07:08 mail postfix/smtpd[6734]: input attribute value: 0
Jun 4 16:07:08 mail postfix/smtpd[6734]: private/anvil: wanted attribute: (list terminator)
Jun 4 16:07:08 mail postfix/smtpd[6734]: input attribute name: (end)
Jun 4 16:07:08 mail postfix/smtpd[6734]: disconnect from unknown[220.181.64.21]
我看到其中有以下几行:
Jun 4 16:07:08 mail postfix/smtpd[6734]: dict_regexp_lookup: /etc/postfix/checks-rule/sender_checks: junlei.tian@chinacache.com
Jun 4 16:07:08 mail postfix/smtpd[6734]: check_table_result: regexp:/etc/postfix/checks-rule/sender_checks REJECT junlei.tian@chinacache.com
Jun 4 16:07:08 mail postfix/smtpd[6734]: NOQUEUE: reject: RCPT from unknown[220.181.64.21]: 554 5.7.1 <junlei.tian@chinacache.com>: Sender address rejected: Access denied; from=<junlei.tian@chinacache.com> to=<tshen@i-move.cn> proto=ESMTP helo=<corp.chinacache.com>
/etc/postfix/checks-rule/sender_checks 文件是类似以下这样的内容,有2000多行:
/zzpmjiv.net$/ REJECT
/zzpy.com $/ REJECT
/zztackpt.org$/ REJECT
/zztur.net$/ REJECT
/zzvj.net$/ REJECT
/zzwuwa.com$/ REJECT
/nessen.com$/ REJECT
但是这个文件里并不包括chinacache.com,为啥会在这里把这个域名的邮件拒收?
==== 必填信息。没有填写将不予回复 ====
- iRedMail 版本号:0.8.1
- 使用哪个数据库存储用户帐号(OpenLDAP,MySQL,PostgreSQL):mysql
- 使用的 Linux/BSD 发行版名称及版本号:CentOS release 6.3
- 与您的问题相关的日志信息:
maillog:Jun 3 15:20:46 mail policyd: rcpt=2, module=bypass, host=220.181.64.21 (unknown), from=jinhua.pu@chinacache.com, to=tshen@i-move.cn, size=11445
maillog:Jun 3 15:20:46 mail postfix/smtpd[7227]: NOQUEUE: reject: RCPT from unknown[220.181.64.21]: 554 5.7.1 <jinhua.pu@chinacache.com>: Sender address rejected: Access denied; from=<jinhua.pu@chinacache.com> to=<tshen@i-move.cn> proto=ESMTP helo=<corp.chinacache.com>
====
昨天突然收不到@chinacache.com域发来的邮件,4月份的时候收过他们的邮件。
在/var/log/maillog里看到以上消息,对方收到拒收的邮件,内容是:Sender address rejected: Access denied.
不知道问题出在哪里?
我在/etc/mail/spamassassin/local.cf里加了2行:
whitelist_from *@corp.chinacache.com
whitelist_from *@chinacache.com
重启了所有服务,还是拒收。
我用以下的方法来实现:
在/etc/postfix/main.cf里的这一行增加红色部分:
smtpd_recipient_restrictions = reject_unknown_sender_domain, reject_unknown_recipient_domain, reject_non_fqdn_sender, reject_non_fqdn_recipient, reject_unlisted_recipient, check_policy_service
inet:127.0.0.1:7777, permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, reject_non_fqdn_helo_hostname, reject_invalid_helo_hostname, check_policy_service inet:127.0.0.1:
10031, check_sender_access regexp:/etc/postfix/checks-rule/sender_checks
然后生成/etc/postfix/checks-rule/sender_checks文件:
/.+@abc.com$/ REJECT
再用命令生成db文件:
postmap hash:/etc/postfix/checks-rule/sender_checks
重启postfix服务以后,从abc.com来的邮件会直接被退回。
找到问题所在了,/etc/dovecot/conf.d/20-imap.conf文件其实是没有被dovecot程序加载,所以mail_max_userip_connections = 50这个语句要手工添加到/etc/dovecot/dovecot.conf里,再重启dovecot服务就好了。
iRedMail 开源邮件服务解决方案 » 由 sailer.shen 发表的文章
Powered by PunBB, supported by Informer Technologies, Inc.
Currently installed 3 official extensions. Copyright © 2003–2010 PunBB.
页面生成时间 0.025 秒, 共执行查询 64 条