How long does postfix keep mails when relay host is down ?
Environment
- Red Hat Enterprise Linux
- postfix
Issue
- How long does postfix keep mails when relay host is down ?
Resolution
postfix keeps trying periodically to relay mails during the relayhost is down.
But after maximal_queue_lifetime
is passed, postfix stops retrying and sends a bounce mail to the sender.
The default value of maximal_queue_lifetime
is 5 days.
# postconf | grep maximal_queue_lifetime
maximal_queue_lifetime = 5d
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.
Comments