如何在Debian上configurationpostfix在X小时之后重新发送软反弹

这是一个完整的nofix问题,但我必须pipe理一个实时安装,并需要重新configuration重发率。

帮助将不胜感激。

参数minimal_backoff_timemaximum_backoff_timequeue_run_delay可能对您有所帮助。

maximal_backoff_time(默认:4000s)

 The maximal time between attempts to deliver a deferred message. This parameter should be set to a value greater than or equal to 

$ minimal_backoff_time。 另请参阅$ queue_run_delay。

 Time units: s (seconds), m (minutes), h (hours), d (days), w 

(周)。 默认时间单位是s(秒)。

有关更多信息,请参阅有关参数的Postfix文档

你需要delay_warning_time参数,设置为4h,performance得像sendmail一样:

 delay_warning_time (default: 0h) The time after which the sender receives the message headers of mail that is still queued. To enable this feature, specify a non-zero time value (an integral value plus an optional one-letter suffix that specifies the time unit). Time units: s (seconds), m (minutes), h (hours), d (days), w (weeks). The default time unit is h (hours). 

也就是说,要么做一个:

 postconf -e delay_warning_time=4h 

或编辑main.cf文件并将delay_warning_time=4h