print <<'EOF' # # Do not edit this file. This file shows the default delivery status # notification (DSN) messages that are built into Postfix. # # To change Postfix DSN messages, perhaps to add non-English text, # follow instructions in the bounce(5) manual page. # EOF # QUICK INSTRUCTIONS: # #-Edit a temporary copy of this file, and preview the result of $name # expansions with "postconf -b temporary_file". If there are any # problems, Postfix will log "warning" or "fatal" messages to the # maillog file. # #-The template file can specify bounce message templates for # failed mail, for delayed mail, for successful delivery, or for # verbose delivery. You don't have to specify all templates. # #-Each template starts with "template_name = <) { if (/^failure_template/) { print <<'EOF' # # The failure template is used when mail is returned to the sender; # either the destination rejected the message, or the destination # could not be reached before the message expired in the queue. # EOF ; } elsif (/^delay_template/) { print <<'EOF' # # The delay template is used when mail is delayed. Note a neat trick: # the default template displays the delay_warning_time value as hours # by appending the _hours suffix to the parameter name; it displays # the maximal_queue_lifetime value as days by appending the _days # suffix. # # Other suffixes are: _seconds, _minutes, _weeks. There are no other # main.cf parameters that have this special behavior. # # You need to adjust these suffixes (and the surrounding text) if # you have very different settings for these time parameters. # EOF ; } elsif (/^success_template/) { print <<'EOF' # # The success template is used when mail is delivered to mailbox, # when an alias or list is expanded, or when mail is delivered to a # system that does not announce DSN support. It is an error to specify # a Postmaster-Subject: here. # EOF ; } elsif (/^verify_template/) { print <<'EOF' # # The verify template is used for address verification (sendmail -bv # address...). or for verbose mail delivery (sendmail -v address...). # It is an error to specify a Postmaster-Subject: here. # EOF ; } print $_; }