文件操作 - bounce.cf
返回文件管理
返回主菜单
删除本文件
文件: /root/sh/etc/postfix/bounce.cf
编辑文件内容
# Ross : questo file secondo le info del sito di postfix si può tradurre # va inserito il rifermineto in main.cf ( si trova in fondo ) # http://www.postfix.org/bounce.5.html # # GENERAL PROCEDURE # To create a customized bounce template file, create a temporary copy of # the file /etc/postfix/bounce.cf.default and edit the temporary file. # # To preview the results of $name expansions in the template text, use # the command # # postconf -b temporary_file # # Errors in the template will be reported to the standard error stream # and to the syslog daemon. # # While previewing the text, be sure to pay particular attention to the # expansion of time value parameters that appear in the delayed mail # notification text. # # Once the result is satisfactory, copy the template to the Postfix con- # figuration directory and specify in main.cf something like: # # /etc/postfix/main.cf: # bounce_template_file = /etc/postfix/bounce.cf # # # # 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. # # # 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. # failure_template = <<EOF Charset: us-ascii From: admin (Mail Server) Subject: Mail non consegnata Postmaster-Subject: Postmaster Undelivered Mail Ci dispiace doverti informare che non e' stato possibile consegnare il tuo messaggio ad uno o piu' destinatari. Trovi il destinatario allegato qui sotto con i dettagli dell'errore. 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. # delay_template = <<EOF Charset: us-ascii From: admin (Mail Server) Subject: Mail Spedita in Ritardo (Verra' rispedita piu' tardi) Postmaster-Subject: Mail spedita in ritardo Il tuo messaggio sta subendo dei ritardi di invio. Verranno fatti altri tentativi di invio nelle prossime 24 ore. 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. # success_template = <<EOF Charset: utf-8 From: admin (Mail Server) Subject: Email consegnata correttamente La tua e-mail e' stata consegnata al destinatario(i). 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. # verify_template = <<EOF Charset: us-ascii From: admin (Mail Server) Subject: Mail Delivery Status Report This is the mail system at host $myhostname. Enclosed is the mail delivery report that you requested. The mail system EOF
修改文件时间
将文件时间修改为当前时间的前一年
删除文件