masqmail

view tpl/failmsg.tpl @ 421:f37384470855

Changed lockdir to /var/lock/masqmail; Create lockdir and piddir on startup. Moved the lockdir out of the spool dir. (When /var/lock is a ramdisk we do well to have the lock files there.) Added the new configure option --with-lockdir to change that location. Nontheless, if we run_as_user, then lock files are always stored in the spool dir directly. Instead of installing the lockdir and piddir at installation time, we create them on startup time now if they are missing. This is necessary if lockdir or piddir are a tmpfs.
author markus schnalke <meillo@marmaro.de>
date Wed, 30 May 2012 09:38:38 +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}--