<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[iRedMail 开源邮件服务解决方案 - iRedMail 0.9.7能够接受但不能发送邮件]]></title>
		<link>https://bbs.iredmail.org/topic3730-iredmail-097.html</link>
		<atom:link href="https://bbs.iredmail.org/feed-rss-topic3730.xml" rel="self" type="application/rss+xml" />
		<description><![CDATA[iRedMail 0.9.7能够接受但不能发送邮件 里最新回复的文章]]></description>
		<lastBuildDate>Sat, 28 Apr 2018 14:28:08 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[iRedMail 0.9.7能够接受但不能发送邮件]]></title>
			<link>https://bbs.iredmail.org/post16015.html#p16015</link>
			<description><![CDATA[<p>==== 必填信息。没有填写将不予回复 ====<br />- iRedMail 版本号：<br />- 使用哪个数据库存储用户帐号（OpenLDAP，MySQL，PostgreSQL）：<br />- 使用的 Linux/BSD 发行版名称及版本号：<br />- 与您的问题相关的日志信息：<br />==== ==== 必填信息。没有填写将不予回复 ====<br />- iRedMail 0.9.7：<br />- mysql<br />- ubuntu(lejmr/iredmail-docker)<br />- 阿里云ECS禁止出方向的25端口，所以打算通过587端口发送邮件。配置根据postfix官方文档，修改main.cf如下：<br />smtp_tls_security_level = encrypt<br />smtp_tls_wrappermode = yes<br /># The [] suppress MX lookups.<br />relayhost = [mail.xxx.xxx]:587</p><p>日志如下（打开了postfix详细日志）：</p><p>Apr 28 22:27:04 5f0549883af1 postfix/submission/smtpd[10632]: private/anvil: wanted attribute: count<br />Apr 28 22:27:04 5f0549883af1 postfix/submission/smtpd[10632]: input attribute name: count<br />Apr 28 22:27:04 5f0549883af1 postfix/submission/smtpd[10632]: input attribute value: 1<br />Apr 28 22:27:04 5f0549883af1 postfix/submission/smtpd[10632]: private/anvil: wanted attribute: rate<br />Apr 28 22:27:04 5f0549883af1 postfix/submission/smtpd[10632]: input attribute name: rate<br />Apr 28 22:27:04 5f0549883af1 postfix/submission/smtpd[10632]: input attribute value: 1<br />Apr 28 22:27:04 5f0549883af1 postfix/submission/smtpd[10632]: private/anvil: wanted attribute: (list terminator)<br />Apr 28 22:27:04 5f0549883af1 postfix/submission/smtpd[10632]: input attribute name: (end)<br />Apr 28 22:27:04 5f0549883af1 postfix/submission/smtpd[10632]: &gt; mail.wuyad.top[47.94.168.163]: 220 mail.wuyad.top ESMTP Postfix<br />Apr 28 22:27:04 5f0549883af1 postfix/submission/smtpd[10632]: watchdog_pat: 0x55eeb42545d0<br />Apr 28 22:27:04 5f0549883af1 postfix/submission/smtpd[10632]: &lt; mail.wuyad.top[47.94.168.163]: ????<br />Apr 28 22:27:04 5f0549883af1 postfix/submission/smtpd[10632]: &gt; mail.wuyad.top[47.94.168.163]: 500 5.5.2 Error: bad UTF-8 syntax<br />Apr 28 22:27:04 5f0549883af1 postfix/submission/smtpd[10632]: watchdog_pat: 0x55eeb42545d0<br />Apr 28 22:27:04 5f0549883af1 postfix/submission/smtpd[10632]: &lt; mail.wuyad.top[47.94.168.163]: <br />Apr 28 22:27:04 5f0549883af1 postfix/submission/smtpd[10632]: &gt; mail.wuyad.top[47.94.168.163]: 500 5.5.2 Error: bad UTF-8 syntax<br />Apr 28 22:27:04 5f0549883af1 postfix/submission/smtpd[10632]: watchdog_pat: 0x55eeb42545d0<br />Apr 28 22:27:04 5f0549883af1 postfix/submission/smtpd[10632]: &lt; mail.wuyad.top[47.94.168.163]: <br />Apr 28 22:27:04 5f0549883af1 postfix/submission/smtpd[10632]: &gt; mail.wuyad.top[47.94.168.163]: 500 5.5.2 Error: bad UTF-8 syntax<br />Apr 28 22:27:04 5f0549883af1 postfix/submission/smtpd[10632]: watchdog_pat: 0x55eeb42545d0<br />Apr 28 22:27:04 5f0549883af1 postfix/submission/smtpd[10632]: &lt; mail.wuyad.top[47.94.168.163]: <br />Apr 28 22:27:04 5f0549883af1 postfix/submission/smtpd[10632]: &gt; mail.wuyad.top[47.94.168.163]: 500 5.5.2 Error: bad syntax<br />Apr 28 22:27:04 5f0549883af1 postfix/submission/smtpd[10632]: watchdog_pat: 0x55eeb42545d0<br />Apr 28 22:27:04 5f0549883af1 postfix/smtp[10645]: SSL_connect error to mail.wuyad.top[47.94.168.163]:587: -1<br />Apr 28 22:27:04 5f0549883af1 postfix/smtp[10645]: warning: TLS library problem: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol:s23_clnt.c:794:<br />Apr 28 22:27:04 5f0549883af1 postfix/smtp[10645]: connect to subsystem private/defer<br />Apr 28 22:27:04 5f0549883af1 postfix/smtp[10645]: send attr nrequest = 0<br />Apr 28 22:27:04 5f0549883af1 postfix/smtp[10645]: send attr flags = 0<br />Apr 28 22:27:04 5f0549883af1 postfix/smtp[10645]: send attr queue_id = F010BA6B14<br />Apr 28 22:27:04 5f0549883af1 postfix/smtp[10645]: send attr original_recipient = <br />Apr 28 22:27:04 5f0549883af1 postfix/smtp[10645]: send attr recipient = alex_wuya@163.com<br />Apr 28 22:27:04 5f0549883af1 postfix/smtp[10645]: send attr offset = 613<br />Apr 28 22:27:04 5f0549883af1 postfix/smtp[10645]: send attr dsn_orig_rcpt = rfc822;alex_wuya@163.com<br />Apr 28 22:27:04 5f0549883af1 postfix/smtp[10645]: send attr notify_flags = 0<br />Apr 28 22:27:04 5f0549883af1 postfix/smtp[10645]: send attr status = 4.7.5<br />Apr 28 22:27:04 5f0549883af1 postfix/smtp[10645]: send attr diag_type = <br />Apr 28 22:27:04 5f0549883af1 postfix/smtp[10645]: send attr diag_text = <br />Apr 28 22:27:04 5f0549883af1 postfix/smtp[10645]: send attr mta_type = <br />Apr 28 22:27:04 5f0549883af1 postfix/smtp[10645]: send attr mta_mname = <br />Apr 28 22:27:04 5f0549883af1 postfix/smtp[10645]: send attr action = delayed<br />Apr 28 22:27:04 5f0549883af1 postfix/smtp[10645]: send attr reason = Cannot start TLS: handshake failure<br />Apr 28 22:27:04 5f0549883af1 postfix/smtp[10645]: private/defer socket: wanted attribute: status<br />Apr 28 22:27:04 5f0549883af1 postfix/smtp[10645]: input attribute name: status<br />Apr 28 22:27:04 5f0549883af1 postfix/smtp[10645]: input attribute value: 0<br />Apr 28 22:27:04 5f0549883af1 postfix/smtp[10645]: private/defer socket: wanted attribute: (list terminator)<br />Apr 28 22:27:04 5f0549883af1 postfix/smtp[10645]: input attribute name: (end)<br />Apr 28 22:27:04 5f0549883af1 postfix/smtp[10645]: F010BA6B14: to=&lt;alex_wuya@163.com&gt;, relay=mail.wuyad.top[47.94.168.163]:587, delay=0.06, delays=0.03/0.01/0.01/0, dsn=4.7.5, status=deferred (Cannot start TLS: handshake failure)</p><p>====</p><p>请问题该如何排查？</p>]]></description>
			<author><![CDATA[null@example.com (alex_wuya)]]></author>
			<pubDate>Sat, 28 Apr 2018 14:28:08 +0000</pubDate>
			<guid>https://bbs.iredmail.org/post16015.html#p16015</guid>
		</item>
	</channel>
</rss>
