1

Topic: email problem

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): v0.9.6
- Linux/BSD distribution name and version: ubuntu 14.04.5
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):  MYSQL
- Web server (Apache or Nginx):Apache
- Manage mail accounts with iRedAdmin-Pro? v2.4.0 (MySQL)
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

請問張SIR
有一家客戶無法寄信到我這 ,我在mail.log內有看到退信內容,內容如下:
Feb 11 17:37:22 mailsvr postfix/smtps/smtpd[22742]: disconnect from 85sky-tower.com[60.249.152.222]
Feb 11 17:38:50 mailsvr postfix/smtps/smtpd[24106]: connect from 85sky-tower.co [60.249.152.222]
Feb 11 17:38:51 mailsvr postfix/smtps/smtpd[24106]: Anonymous TLS connection established from 85sky-tower.com[60.249.152.222]: TLSv1 with cipher AES128-SHA (128/128 bits)
Feb 11 17:38:51 mailsvr postfix/smtps/smtpd[24106]: NOQUEUE: reject: RCPT from 85sky-tower.com[60.249.152.222]: 554 5.7.1 <85sky-tower.com[60.249.152.222]>: Client host rejected: Access denied; from=<Daniel_Wang@85sky-tower.com> to=<tracy_tsai@xxx.xxx.xxx> proto=ESMTP helo=<Notes.85Sky-tower.com>
Feb 11 17:38:51 mailsvr postfix/smtps/smtpd[24106]: disconnect from 85sky-tower.com[60.249.152.222]

請問我該如何調整讓客戶可以成功送達到我這??

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: email problem

ck891052 wrote:

Feb 11 17:38:51 mailsvr postfix/smtps/smtpd[24106]: NOQUEUE: reject: RCPT from 85sky-tower.com[60.249.152.222]: 554 5.7.1 <85sky-tower.com[60.249.152.222]>: Client host rejected: Access denied; from=<Daniel_Wang@85sky-tower.com> to=<tracy_tsai@xxx.xxx.xxx> proto=ESMTP helo=<Notes.85Sky-tower.com>

这里显示的是 postfix/smtps,应该是 465 端口,为何这个客户会将邮件投递到 465 而不是 25?

3

Re: email problem

ZhangHuangbin wrote:
ck891052 wrote:

Feb 11 17:38:51 mailsvr postfix/smtps/smtpd[24106]: NOQUEUE: reject: RCPT from 85sky-tower.com[60.249.152.222]: 554 5.7.1 <85sky-tower.com[60.249.152.222]>: Client host rejected: Access denied; from=<Daniel_Wang@85sky-tower.com> to=<tracy_tsai@xxx.xxx.xxx> proto=ESMTP helo=<Notes.85Sky-tower.com>

这里显示的是 postfix/smtps,应该是 465 端口,为何这个客户会将邮件投递到 465 而不是 25?

張SIR ,
至於為何他是投遞到465我就不出清楚了
但我有試著在master.cf 裡面
原本-o smtpd_client_restrictions=permit_sasl_authenticated,reject
改成-o smtpd_client_restrictions=permit_sasl_authenticated,permit_mynetworks
然後對方就能寄信進來了,請問這樣改會有甚麼問題嗎?

4

Re: email problem

ck891052 wrote:

然後對方就能寄信進來了,請問這樣改會有甚麼問題嗎?

有问题。

1: 所有邮件服务器都是用 25 端口通讯,不是 587 或 465。寄到 465 就是错误,因为不符合 RFC 规范。或者你可以尝试联系对方的管理员来解决他的服务器问题。
2: 这个修改不是不可以,但是你应该在最后加上 ',reject'。

回到最根本的问题:MTA 通过 587/465 端口来递送邮件是错误的。