From: jemminger on
Are message files removed automatically from /var/spool/mqueue if a
message is undeliverable after the Timeout.queuereturn time?
From: Robert Bonomi on
In article <a31b259c-89f9-4544-be4a-d8179e60895e(a)u22g2000yqf.googlegroups.com>,
jemminger <jemminger(a)gmail.com> wrote:
>Are message files removed automatically from /var/spool/mqueue if a
>message is undeliverable after the Timeout.queuereturn time?

When the timeout is reached such that sendmail does the 'return to sender'
notification of an _undeliverable_ message (*not* the 'warning notice' that
the message is 'so far undeliverable, but 'will keep trying') - the one
that says 'this is a a permanent error', then _YES_ the message is deleted
from the queue when that occurs.

Messages in the queue are the messages that sendmail is still *attempting*
to deliver. When sendmail announces that it has *given*up* attempting to
deliver that message, the message is, therefore, removed from the queue.