view tpl/warnmsg.tpl @ 246:4cff8638dd9b

SMTP client: tries EHLO now always first Changed the behavior of the SMTP client. Now always an EHLO greeting is sent, no matter what kind of greeting text the server had sent. If the EHLO failed, an HELO greeting is tried as fall back. This is the behavior RFC 2821 requires (section 3.2). This change will fix setups that were not possible to sent to a server because that requires AUTH but hadn't said ``ESMTP'' in its greeting message. See also: Debian bug #349211 Thanks to Steffen (inne)
author markus schnalke <meillo@marmaro.de>
date Thu, 28 Oct 2010 16:40:02 -0300
parents 08114f7dcc23
children
line wrap: on
line source

Subject: Warning: could not yet send message
From: MAILER-DAEMON@${host_name}
To: ${return_path}
MIME-Version: 1.0
Content-Type: multipart/mixed;
        boundary="${uid}/${host_name}"

This is a MIME-encapsulated message.

--${uid}/${host_name}
Content-Description: Notification
Content-Type: text/plain

This message was sent to you by the mailer daemon (${package} ${version})
at ${host_name}.

Sorry, but your mail could not yet be delivered to all recipients.
Delivery to the following recipients has been defered:

@failed_rcpts

Delivery will be tried again, until it is either successful or a
timeout has been reached. If the latter happens, you will get a
delivery failure notice.


This error message may give you a hint about what caused the
delay:

${err_msg}

If you need help, write to <postmaster@${host_name}>.

The headers of your message follow attached:

--${uid}/${host_name}
Content-Description: Undelivered Message Headers
Content-Type: message/rfc822

@msg_headers

--${uid}/${host_name}--