On Tue, Apr 27, 2021 at 01:49:03PM +0800, P.V.Anthony wrote:

> ------- start ---------------
> Apr 27 13:38:06 mail postfix/smtpd[383580]: connect from 
> hubie.merck.com[155.91.37.10]
> Apr 27 13:38:07 mail postfix/smtpd[383580]: SSL_accept error from 
> hubie.merck.com[155.91.37.10]: Connection reset by peer
> Apr 27 13:38:07 mail postfix/smtpd[383580]: lost connection after STARTTLS 
> from hubie.merck.com[155.91.37.10]
> Apr 27 13:38:07 mail postfix/smtpd[383580]: disconnect from 
> hubie.merck.com[155.91.37.10] ehlo=1 starttls=0/1 commands=1/2
> ------- end -----------------

http://www.postfix.org/postconf.5.html#smtpd_discard_ehlo_keyword_address_maps
http://www.postfix.org/postconf.5.html#smtpd_discard_ehlo_keywords

  smtpd-ehlo-discard.cidr:
    # NetName:        MERCK1
    # NetHandle:      NET-155-91-0-0-1
    155.91.0.0/16     starttls

  main.cf:
    cidr = cidr:${config_directory}/
    smtpd_discard_ehlo_keyword_address_maps = ${cidr}smtpd-ehlo-discard.cidr

You should also reach out to the merck.com postmaster and try to resolve
the underlying issue.  Why is their MTA closing the connection in the
middle of STARTTLS?

-- 
    Viktor.

Reply via email to