masqmail

view tpl/failmsg.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
children
line source
1 Subject: Mail Delivery Failure Notice
2 From: MAILER-DAEMON@${host_name}
3 To: ${return_path}
4 MIME-Version: 1.0
5 Content-Type: multipart/mixed;
6 boundary="${uid}/${host_name}"
8 This is a MIME-encapsulated message.
10 --${uid}/${host_name}
11 Content-Description: Notification
12 Content-Type: text/plain
14 This message was sent to you by the mailer daemon (${package} ${version})
15 at ${host_name}.
17 Sorry, but your mail could not be delivered to all recipients.
18 Delivery to the following recipients failed permanently and has been given
19 up:
21 @failed_rcpts
23 This error message may give you a hint about what caused the
24 failure:
26 ${err_msg}
28 If you need help, write to <postmaster@${host_name}>.
30 Your message follows attached, including all headers:
32 --${uid}/${host_name}
33 Content-Description: Undelivered Message
34 Content-Type: message/rfc822
36 @msg_headers
38 @msg_body
40 --${uid}/${host_name}--