View Single Post
  #3  
Old 11th March 2006, 11:51
edge edge is offline
Moderator
 
Join Date: Dec 2005
Location: The Netherlands
Posts: 2,034
Thanks: 265
Thanked 152 Times in 132 Posts
Default

Quote:
Originally Posted by falko
Hmmm

1)
Quote:
GENERAL PROCEDURE
To create customized bounce template file, create a tempo-
rary copy of the file /etc/postfix/bounce.cf.default and
edit the temporary file.
I do not have the "bounce.cf.default", so I created one named temporary_file with this in it (as test):

Code:
# The failure template is used for undeliverable mail.

           failure_template = <<EOF
           Charset: us-ascii
           From: MAILER-DAEMON (Mail Delivery System)
           Subject: Undelivered Mail Returned to Sender
           Postmaster-Subject: Postmaster Copy: Undelivered Mail

           This is the $mail_name program at host $myhostname.

           I'm sorry to have to inform you that your message could not
           be delivered to one or more recipients. It's attached below.

           For further assistance, please send mail to <postmaster>

           If you do so, please include this problem report. You can
           delete your own text from the attached returned message.

                                          The $mail_name program
           EOF
2)
Quote:
To preview the results of $name expansions in the template
text, use the command

postconf -b temporary_file
This is a no go.... I get this error:
Quote:
[root@host postfix]# postconf -b temp_bounce
postconf: invalid option -- b
postconf: fatal: usage: postconf [-c config_dir] [-d (defaults)] [-e (edit)] [-he...]
There is NO -b option !

Falko..... HELP PLS! :-)
Reply With Quote