On Mon, Jul 29, 2024 at 08:21:40AM -0400, Wietse Venema via Postfix-users wrote: > export--- via Postfix-users: > > Sent email returns with the error > > > > #5.7.0 Must issue a STARTTLS command first (in reply to MAIL FROM command) > > > > How can I correct that error? > > Thank you for help > > Assuming that the actual message was: > > 530 5.7.0 Must issue a STARTTLS command first > > * If this happens while Postfix receives a message with the 'submission' > service (TCP port 587) then the client is at fault. > > This should not be fixed on the Postfix side. The client should > turn on TLS, or it should not use the submission service. > > * If this happens while Postfix receives a message with the 'smtp' > service (port 25) then the server is at fault. > > This can be fixed on the Postfix side with: > > main.cf: > smtpd_tls_security_level = may
It was a response from a remote server refusing to accept delivery, so, the fix (if not already in place) is: smtp_tls_security_level = may however, the remote server might be one of the broken ones both require and fail to offer STARTTLS, in which the OP is out of luck. More detailed logs can tell the full story. -- Viktor. _______________________________________________ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to postfix-users-le...@postfix.org