关于stmp找回密码的问题

By heyo at 2017-09-05 • 0人收藏 • 1932人看过

Sep  5 09:36:09 vultr postfix/smtpd[18378]: connect from localhost[127.0.0.1]

Sep  5 09:36:09 vultr postfix/smtpd[18378]: smtp_stream_setup: maxtime=300 enable_deadline=0

Sep  5 09:36:09 vultr postfix/smtpd[18378]: match_hostname: localhost ~? 45.76.*.*

Sep  5 09:36:09 vultr postfix/smtpd[18378]: match_hostaddr: 127.0.0.1 ~? 45.76.*.*

Sep  5 09:36:09 vultr postfix/smtpd[18378]: match_hostname: localhost ~? 127.0.0.0/8

Sep  5 09:36:09 vultr postfix/smtpd[18378]: match_hostaddr: 127.0.0.1 ~? 127.0.0.0/8

Sep  5 09:36:09 vultr postfix/smtpd[18378]: > localhost[127.0.0.1]: 220 duguletian.com ESMTP Postfix

Sep  5 09:36:09 vultr postfix/smtpd[18378]: xsasl_cyrus_server_create: SASL service=smtp, realm=dan.com

Sep  5 09:36:09 vultr postfix/smtpd[18378]: name_mask: noanonymous

Sep  5 09:36:09 vultr postfix/smtpd[18378]: watchdog_pat: 0x7f7764b69aa0

Sep  5 09:36:09 vultr postfix/smtpd[18378]: vstream_fflush_some: fd 15 flush 34

Sep  5 09:36:09 vultr postfix/smtpd[18378]: vstream_buf_get_ready: fd 15 got 25

Sep  5 09:36:09 vultr postfix/smtpd[18378]: < localhost[127.0.0.1]: EHLO bbs.dan.com

Sep  5 09:36:09 vultr postfix/smtpd[18378]: match_list_match: localhost: no match

Sep  5 09:36:09 vultr postfix/smtpd[18378]: match_list_match: 127.0.0.1: no match

Sep  5 09:36:09 vultr postfix/smtpd[18378]: > localhost[127.0.0.1]: 250-dan.com

Sep  5 09:36:09 vultr postfix/smtpd[18378]: > localhost[127.0.0.1]: 250-PIPELINING

Sep  5 09:36:09 vultr postfix/smtpd[18378]: > localhost[127.0.0.1]: 250-SIZE 15728640

Sep  5 09:36:09 vultr postfix/smtpd[18378]: > localhost[127.0.0.1]: 250-VRFY

Sep  5 09:36:09 vultr postfix/smtpd[18378]: > localhost[127.0.0.1]: 250-ETRN

Sep  5 09:36:09 vultr postfix/smtpd[18378]: > localhost[127.0.0.1]: 250-AUTH PLAIN LOGIN

Sep  5 09:36:09 vultr postfix/smtpd[18378]: > localhost[127.0.0.1]: 250-ENHANCEDSTATUSCODES

Sep  5 09:36:09 vultr postfix/smtpd[18378]: > localhost[127.0.0.1]: 250-8BITMIME

Sep  5 09:36:09 vultr postfix/smtpd[18378]: > localhost[127.0.0.1]: 250 DSN

Sep  5 09:36:09 vultr postfix/smtpd[18378]: watchdog_pat: 0x7f7764b69aa0

Sep  5 09:36:09 vultr postfix/smtpd[18378]: vstream_fflush_some: fd 15 flush 145

Sep  5 09:36:09 vultr postfix/smtpd[18378]: vstream_buf_get_ready: fd 15 got 10

Sep  5 09:36:09 vultr postfix/smtpd[18378]: < localhost[127.0.0.1]: STARTTLS

Sep  5 09:36:09 vultr postfix/smtpd[18378]: > localhost[127.0.0.1]: 502 5.5.1 Error: command not implemented

Sep  5 09:36:09 vultr postfix/smtpd[18378]: watchdog_pat: 0x7f7764b69aa0

Sep  5 09:36:09 vultr postfix/smtpd[18378]: vstream_fflush_some: fd 15 flush 42

Sep  5 09:36:09 vultr postfix/smtpd[18378]: vstream_buf_get_ready: fd 15 got 6

Sep  5 09:36:09 vultr postfix/smtpd[18378]: < localhost[127.0.0.1]: QUIT

Sep  5 09:36:09 vultr postfix/smtpd[18378]: > localhost[127.0.0.1]: 221 2.0.0 Bye

Sep  5 09:36:09 vultr postfix/smtpd[18378]: match_hostname: localhost ~? 45.76.**.*

Sep  5 09:36:09 vultr postfix/smtpd[18378]: match_hostaddr: 127.0.0.1 ~? 45.76.*.*

Sep  5 09:36:09 vultr postfix/smtpd[18378]: match_hostname: localhost ~? 127.0.0.0/8

Sep  5 09:36:09 vultr postfix/smtpd[18378]: match_hostaddr: 127.0.0.1 ~? 127.0.0.0/8

Sep  5 09:36:09 vultr postfix/smtpd[18378]: disconnect from localhost[127.0.0.1]

看样子应该是不支持tls?

能不能给个不要tls的选项,自建服务器只发出邮件,不想搞那么复杂

9 个回复 | 最后更新于 2017-09-05
2017-09-05   #1

Sep  5 10:23:07 vultr postfix/smtpd[20765]: < localhost[127.0.0.1]: STARTTLS

Sep  5 10:23:07 vultr postfix/smtpd[20765]: > localhost[127.0.0.1]: 220 2.0.0 Ready to start TLS

Sep  5 10:23:07 vultr postfix/smtpd[20765]: vstream_fflush_some: fd 16 flush 30

Sep  5 10:23:07 vultr postfix/smtpd[20765]: setting up TLS connection from localhost[127.0.0.1]

Sep  5 10:23:07 vultr postfix/smtpd[20765]: localhost[127.0.0.1]: TLS cipher list "aNULL:-aNULL:ALL:+RC4:@STRENGTH"

Sep  5 10:23:07 vultr postfix/smtpd[20765]: event_request_timer: reset 0x7fa363fcc470 0x7fa364bd7080 5

Sep  5 10:23:07 vultr postfix/smtpd[20765]: send attr request = seed

Sep  5 10:23:07 vultr postfix/smtpd[20765]: send attr size = 32

Sep  5 10:23:07 vultr postfix/smtpd[20765]: vstream_fflush_some: fd 11 flush 22

Sep  5 10:23:07 vultr postfix/smtpd[20765]: vstream_buf_get_ready: fd 11 got 60

Sep  5 10:23:07 vultr postfix/smtpd[20765]: private/tlsmgr: wanted attribute: status

Sep  5 10:23:07 vultr postfix/smtpd[20765]: input attribute name: status

Sep  5 10:23:07 vultr postfix/smtpd[20765]: input attribute value: 0

Sep  5 10:23:07 vultr postfix/smtpd[20765]: private/tlsmgr: wanted attribute: seed

Sep  5 10:23:07 vultr postfix/smtpd[20765]: input attribute name: seed

Sep  5 10:23:07 vultr postfix/smtpd[20765]: input attribute value: KeUyc71lXO34XoQQrf6Dai/XePgzEU1RoeIggqk/tJ4=

Sep  5 10:23:07 vultr postfix/smtpd[20765]: private/tlsmgr: wanted attribute: (list terminator)

Sep  5 10:23:07 vultr postfix/smtpd[20765]: input attribute name: (end)

Sep  5 10:23:07 vultr postfix/smtpd[20765]: SSL_accept:before/accept initialization

Sep  5 10:23:07 vultr postfix/smtpd[20765]: SSL_accept:SSLv3 read client hello A

Sep  5 10:23:07 vultr postfix/smtpd[20765]: SSL_accept:SSLv3 write server hello A

Sep  5 10:23:07 vultr postfix/smtpd[20765]: SSL_accept:SSLv3 write certificate A

Sep  5 10:23:07 vultr postfix/smtpd[20765]: SSL_accept:SSLv3 write key exchange A

Sep  5 10:23:07 vultr postfix/smtpd[20765]: SSL_accept:SSLv3 write server done A

Sep  5 10:23:07 vultr postfix/smtpd[20765]: SSL_accept:SSLv3 flush data

Sep  5 10:23:07 vultr postfix/smtpd[20765]: SSL_accept:SSLv3 read client key exchange A

Sep  5 10:23:07 vultr postfix/smtpd[20765]: SSL_accept:SSLv3 read finished A

Sep  5 10:23:07 vultr postfix/smtpd[20765]: SSL_accept:SSLv3 write session ticket A

Sep  5 10:23:07 vultr postfix/smtpd[20765]: SSL_accept:SSLv3 write change cipher spec A

Sep  5 10:23:07 vultr postfix/smtpd[20765]: SSL_accept:SSLv3 write finished A

Sep  5 10:23:07 vultr postfix/smtpd[20765]: SSL_accept:SSLv3 flush data

Sep  5 10:23:07 vultr postfix/smtpd[20765]: Anonymous TLS connection established from localhost[127.0.0.1]: TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)

Sep  5 10:23:07 vultr postfix/smtpd[20765]: xsasl_cyrus_server_create: SASL service=smtp, realm=dan.com

Sep  5 10:23:07 vultr postfix/smtpd[20765]: name_mask: noanonymous

Sep  5 10:23:07 vultr postfix/smtpd[20765]: watchdog_pat: 0x7fa364bdf1d0

Sep  5 10:23:07 vultr postfix/smtpd[20765]: smtp_get: EOF

Sep  5 10:23:07 vultr postfix/smtpd[20765]: match_hostname: localhost ~? 45.76.*.*

Sep  5 10:23:07 vultr postfix/smtpd[20765]: match_hostaddr: 127.0.0.1 ~? 45.76.*.*

Sep  5 10:23:07 vultr postfix/smtpd[20765]: match_hostname: localhost ~? 127.0.0.0/8

Sep  5 10:23:07 vultr postfix/smtpd[20765]: match_hostaddr: 127.0.0.1 ~? 127.0.0.0/8

Sep  5 10:23:07 vultr postfix/smtpd[20765]: lost connection after STARTTLS from localhost[127.0.0.1]

Sep  5 10:23:07 vultr postfix/smtpd[20765]: disconnect from localhost[127.0.0.1]

开启tls以后还是不行?

2017-09-05   #2

自建SMTP很多邮箱都是拒收的。

我以前也自建过邮局,后来发现事儿还特多。

2017-09-05   #3

回复#2 @lincanbin :

其他的服务使用了邮箱,能送达,没问题的

2017-09-05   #4

回复#3 @heyo :

你的TLS证书是哪里来的?

2017-09-05   #5

回复#4 @lincanbin :

letsencrypt申请的,证书也没问题,跟网站用的一样

2017-09-05   #6

回复#5 @heyo :

我用的PHPMail发邮件的,应该也支持非TLS的。

2017-09-05   #7

回复#6 @lincanbin :

1楼有debug记录,上来就申请tls,没有就退了,问一下怎么操作能支持非tls

Sep  5 09:36:09 vultr postfix/smtpd[18378]: < localhost[127.0.0.1]: STARTTLS

Sep  5 09:36:09 vultr postfix/smtpd[18378]: > localhost[127.0.0.1]: 502 5.5.1 Error: command not implemented

Sep  5 09:36:09 vultr postfix/smtpd[18378]: watchdog_pat: 0x7f7764b69aa0

Sep  5 09:36:09 vultr postfix/smtpd[18378]: vstream_fflush_some: fd 15 flush 42

Sep  5 09:36:09 vultr postfix/smtpd[18378]: vstream_buf_get_ready: fd 15 got 6

Sep  5 09:36:09 vultr postfix/smtpd[18378]: < localhost[127.0.0.1]: QUIT

Sep  5 09:36:09 vultr postfix/smtpd[18378]: > localhost[127.0.0.1]: 221 2.0.0 Bye



2017-09-05   #8

回复#7 @heyo :

代码里改了确实可以发了,不过还是有个开关支持tls好些,多谢作者了

2017-09-05   #9

回复#8 @heyo :

TLS现在基本是标配吧,多了个选项如果99.9%的人都用不到,感觉就意义不大了。

登录后方可回帖

登 录
信息栏

Carbon Forum是一个基于话题的高性能轻型PHP论坛

下载地址:Carbon Forum v5.9.0
QQ群:12607708(QQ我不常上)

donate

手机支付宝扫描上方二维码可向本项目捐款

粤公网安备 44030602003677号
粤ICP备17135490号

Loading...