A two-node scheme: when the primary fails, the submitting program sends new mail to the standby. If the failed node’s spool can be recovered, it is attached to the standby as a second spool and the service is restarted — the standby sends both new and old mail.
Failback is in reverse order. New mail is returned to the recovered primary node, while the standby keeps working until the recovered mail is delivered or bounced; then it gets its single spool back and stays idle until next time.
Who does what at each stage:
| Stage | Primary node | Standby node |
|---|---|---|
| failure | down | new mail and, if the spool was saved, old mail as a second spool |
| failback | new mail | finishes sending the recovered mail |
| after that | new mail | one spool, idle |
<spool /var/spool/pmta> </spool> <spool /mnt/failed-node/spool> deliver-only true</spool>
2 relations
pmta show status
2 articles
◇How to name a queue in a commandHow to name a queue in a command argument: the same “receiving server and sending address” pair with asterisks added.◇Two tags the sender puts on a messageA job groups messages, an envelope identifier identifies one; the submitting side sets both, and only by them can you later select your mail in the node’s queue.