Mercurial > masqmail
view tpl/failmsg.tpl @ 276:1abc1faeb45d
for -t cmdline args are now added to the rcpt list instead of substracted
Please read the diff and the section about -t in man/masqmail.8.
Masqmail's behavior had been like the one of exim/smail, now it's
similar to postfix.
Masqmail does it now the most simple way, regarding the code.
Also, addr args are always recipients, -t does not change their meaning.
-t makes the addrs from rcpt hdrs, rcpt addrs too.
It would have been logical too, to ignore the cmdline args,
in the sense of ``headers *instead of* args'' but none of the
popular MTAs does it that way and it would have been a bit more
complicated in the code.
Anyway, this is a corner-case that should better be avoided completely.
author | markus schnalke <meillo@marmaro.de> |
---|---|
date | Fri, 03 Dec 2010 21:05:34 -0300 |
parents | 08114f7dcc23 |
children |
line wrap: on
line source
Subject: Mail Delivery Failure Notice From: MAILER-DAEMON@${host_name} To: ${return_path} MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="${uid}/${host_name}" This is a MIME-encapsulated message. --${uid}/${host_name} Content-Description: Notification Content-Type: text/plain This message was sent to you by the mailer daemon (${package} ${version}) at ${host_name}. Sorry, but your mail could not be delivered to all recipients. Delivery to the following recipients failed permanently and has been given up: @failed_rcpts This error message may give you a hint about what caused the failure: ${err_msg} If you need help, write to <postmaster@${host_name}>. Your message follows attached, including all headers: --${uid}/${host_name} Content-Description: Undelivered Message Content-Type: message/rfc822 @msg_headers @msg_body --${uid}/${host_name}--