==== ==== ==== ==== 必填信息。没有填写将不予回复 ====
- iRedMail 版本号:0.9.5-1
- 使用哪个数据库存储用户帐号(OpenLDAP,MySQL,PostgreSQL):OpenLDAP
- 使用的 Linux/BSD 发行版名称及版本号:CentOS6&7
- 与您的问题相关的日志信息:
====
以兩網域user 互寄 , 寄出則退信;但轉寄給 Google user 則不會被退信.
轉寄方式為: "行內轉寄" 非 "以附件轉寄" .
兩網域: l.domain1.com TO a6966.com(& domain1.com)
兩台MailServer : CentOS7 CentOS6
皆為 iRedAdmin-Pro-LDAP-2.6.0 , iRedMail 0.9.5-1
(PS:實際網域改為 domain1.com , 先前已信寄提問 ,附件裡網域名稱亦改過)
log如下:
> 3). CentOS7 test@l.domain1.com 給 CentOS6 test@a6966.com寄信:
> 3-1). CentOS7:
>
2016-06-02 09:55:45 DEBUG [SQL] Query local addresses:
> SELECT id, email
> FROM users
> WHERE email IN ('@.', 'test@l.domain1.com', '@l.domain1.com', '@.l.domain1.com', '@domain1.com', '@.domain1.com', '@com', '@.com')
> ORDER BY priority DESC
> 2016-06-02 09:55:45 DEBUG Local addresses (in `users`): [(1L, '@.')]
> 2016-06-02 09:55:45 DEBUG [SQL] Query external addresses:
> SELECT id, email
> FROM mailaddr
> WHERE email IN ('@.', 'test@a6966.com', '@a6966.com', '@.a6966.com', '@com', '@.com')
> ORDER BY priority DESC
> 2016-06-02 09:55:45 DEBUG No record found in SQL database.
> 2016-06-02 09:55:45 DEBUG No valid sender id or recipient id.
> 2016-06-02 09:55:45 DEBUG <-- Result: DUNNO
> 2016-06-02 09:55:45 DEBUG Session ended
> 2016-06-02 09:55:45 INFO [192.168.1.66] RCPT, test@l.domain1.com => test@a6966.com, DUNNO
上面 為 test@l.domain1.com 到 test@a6966.com
SELECT id, email
FROM users
WHERE email IN ('@.', 'test@l.domain1.com', '@l.domain1.com', '@.l.domain1.com', '@domain1.com', '@.domain1.com', '@com', '@.com')
FROM mailaddr
WHERE email IN ('@.', 'test@a6966.com', '@a6966.com', '@.a6966.com', '@com', '@.com')
其檢查的 From users 及mailaddr 怎會不同 ID ? 下面也一樣 ?
>
> 3-2). CentOS6:
> 2016-06-02 09:55:50 DEBUG [SQL] Query local addresses:
> SELECT id, email
> FROM users
> WHERE email IN ('@.', 'test@a6966.com', '@a6966.com', '@.a6966.com', '@com', '@.com')
> ORDER BY priority DESC
> 2016-06-02 09:55:50 DEBUG Local addresses (in `users`): [(5L, '@a6966.com'), (1L, '@.')]
> 2016-06-02 09:55:50 DEBUG [SQL] Query external addresses:
> SELECT id, email
> FROM mailaddr
> WHERE email IN ('@.', 'test@l.domain1.com', '@l.domain1.com', '@.l.domain1.com', '@domain1.com', '@.domain1.com', '@com', '@.com', 'test@*', '192.168.99.36', '*.*.99.36', '192.168.99.*', '192.*.*.*', '*.168.99..36', '*.*.*.36', '192.*.*.36', '192.168.*.*', '192.168.*.36', '192.*.99.36', '*.*.*.*')
> ORDER BY priority DESC
> 2016-06-02 09:55:50 DEBUG No record found in SQL database.
> 2016-06-02 09:55:50 DEBUG No valid sender id or recipient id.
> 2016-06-02 09:55:50 DEBUG <-- Result: DUNNO
> 2016-06-02 09:55:50 DEBUG Session ended
> 2016-06-02 09:55:50 INFO [192.168.99.36] RCPT, test@l.domain1.com -> test@a6966.com, DUNNO