On 25.02.23 07:44, winnie hw wrote:
Thanks. I have setup these two options in main.cf,

maximal_queue_lifetime = 1d
bounce_queue_lifetime = 1d

delay_warning_time is NOT bounce_queue_lifetime

On Fri, Feb 24, 2023 at 9:28 PM Matus UHLAR - fantomas <uh...@fantomas.sk>
wrote:

On 24.02.23 20:45, winnie hw wrote:
>When the peer MTA can't accept messages, my local postfix will retry
>delivery for a few days.
>
>My question is,
>
>1) how can I shorten the retry time?

http://www.postfix.org/postconf.5.html#maximal_queue_lifetime

>2) when the first delivery fails, I want to notify the sender user, how to
>do it?

postfix notifies after specified time, not after amount of delivery
attempts:

http://www.postfix.org/postconf.5.html#delay_warning_time

--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
There's a long-standing bug relating to the x86 architecture that
allows you to install Windows.   -- Matthew D. Fuller

Reply via email to