masqmail-0.2

view tpl/failmsg.tpl @ 75:257a9e6d1a8e

fixed correct processing of mails with data lines longer 4096 chars Mail messages with lines longer than 4096 chars were already read correctly, i.e. the spool files were correct. This commit fixes the reading of spool files with long lines. The old behavior was that the message body was truncated right before the first line longer 4096 chars. The number comes from MAX_DATALINE.
author meillo@marmaro.de
date Wed, 16 Jun 2010 19:06:34 +0200
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}--