masqmail

view tpl/failmsg.tpl @ 156:ee2afbf92428

require host_name to be set in config file exit otherwise there is no portable way to determine the hostname (actually the hostname that masqmail should use) thus it must be set by the administrator
author meillo@marmaro.de
date Thu, 08 Jul 2010 09:49:05 +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}--