masqmail

view tpl/failmsg.tpl @ 284:4869321aa7bf

recognize the program name `newaliases' too We still simply exit in this mode, but now we can create a link called `newaliases' to masqmail instead of needing a script to call `masqmail -bi'. `ln /bin/true /usr/bin/newaliases' would be a fancy way too, but letting the MTA handle it is probably the safer approach.
author markus schnalke <meillo@marmaro.de>
date Tue, 07 Dec 2010 17:09:07 -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}--