Page 1 of 1

Do EFA queue your mail (Backup) if target hsot is down ?

Posted: 01 Oct 2016 00:52
by ictdude
Do EFA queue your mail (Backup) if target host is down ?

So if one of my mail-servers would be down offline. Is EFA queue your mail (Backup)
until host is responding again ? If so that would be nice. :dance:

Re: Do EFA queue your mail (Backup) if target hsot is down ?

Posted: 01 Oct 2016 06:29
by pdwalker
Short answer: yes.

Long answer: that's a function of the mailer, in this case, postfix. If postfix is unable to deliver, it will retry at increasingly longer intervals until the maximum time is reached and then deliver a NDR to the sender.

What are the exact postfix settings? Not sure, I'll need to look them up.

Re: Do EFA queue your mail (Backup) if target hsot is down ?

Posted: 14 Nov 2016 18:58
by onestone
i *think* there are these options and all are defaults (grep -r "queue_run" * in /etc/ does not find any matching string):

http://www.postfix.org/TUNING_README.html#hammer

his process is governed by a bunch of little parameters.
queue_run_delay (default: 300 seconds; before Postfix 2.4: 1000s)
How often the queue manager scans the queue for deferred mail.
minimal_backoff_time (default: 300 seconds; before Postfix 2.4: 1000s)
The minimal amount of time a message won't be looked at, and the minimal amount of time to stay away from a "dead" destination.
maximal_backoff_time (default: 4000 seconds)
The maximal amount of time a message won't be looked at after a delivery failure.
maximal_queue_lifetime (default: 5 days)
How long a message stays in the queue before it is sent back as undeliverable. Specify 0 for mail that should be returned immediately after the first unsuccessful delivery attempt.
bounce_queue_lifetime (default: 5 days, available with Postfix version 2.1 and later)
How long a MAILER-DAEMON message stays in the queue before it is considered undeliverable. Specify 0 for mail that should be tried only once.
qmgr_message_recipient_limit (default: 20000)
The size of many in-memory queue manager data structures. Among others, this parameter limits the size of the short-term, in-memory list of "dead" destinations. Destinations that don't fit the list are not added.
transport_destination_concurrency_failed_cohort_limit
Controls when a destination is considered "dead". This parameter is critical with a non-zero transport_destination_rate_delay, with a reduced transport_destination_concurrency_limit, or with a reduced initial_destination_concurrency.