37.9. Viewing the Mail Queue

When Sendmail receives a message, it is placed into the mail queue. If it can be sent to its destination immediately, then it will be removed from the queue almost at once. If, however, some temporary error occurs when sending, then it will remain queued for later processing. The Sendmail server process makes periodic checks of messages in the queue, retrying each one at longer and longer intervals. Finally, after a message has been in the queue for too long (usually 5 days), it will be removed and a bounce email will be sent back to the original sender.

Most messages that are in the queue for a long time are there because the destination mail server is down or unreachable. Another common cause is a temporary error ...

Get Managing Linux® Systems with Webmin™ System Administration and Module Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.