Remote mail server returns error "Must issue a STARTTLS command first" on connection by postfix' smtp client
This document (000020587) is provided subject to the disclaimer at the end of this document.
Environment
SUSE Linux Enterprise Server 15
Situation
clnthost postfix/smtp[815]: < relay.example.com[10.0.0.2]:25: 220 ********************************* clnthost postfix/smtp[815]: name_mask: disable_esmtp clnthost postfix/smtp[815]: name_mask: delay_dotcrlf clnthost postfix/smtp[815]: A123456789B: enabling PIX workarounds: disable_esmtp delay_dotcrlf for relay.example.com[10.0.0.2]:25 clnthost postfix/smtp[815]: > relay.example.com[10.0.0.2]:25: HELO clnthost.example.com clnthost postfix/smtp[815]: < relay.example.com[10.0.0.2]:25: 530 #5.7.0 Must issue a STARTTLS command first
Resolution
postconf "smtp_pix_workarounds=delay_dotcrlf"
Cause
Status
Additional Information
PIX workarounds can be set by destination with lookup tables specified with the smtp_pix_workaround_maps parameter. Please refer to postfix documentation such as the man page smtp(8) for details.
Note that the TCP proxy must pass ESMTP commands for STARTTLS to work at all in this scenario.
Disclaimer
This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:000020587
- Creation Date: 14-Feb-2022
- Modified Date:10-Jan-2023
-
- SUSE Linux Enterprise Server
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com