On Wed, Mar 12, 2025 at 08:48:17PM -0700, Doug Hardie via Postfix-users wrote:

> >> Most are dated in 2017, ...  Why would there be 1175 messages in
> >> deferred with no defer entry?
> > 
> > They probably don't have the execute bit set, and were put there
> > manually in ~2017 by someone who did not understand the queue
> > directory structure.
> 
> Yes - no execute bit on any of them.  They were not manually put there.  I am 
> the only one with access to 
> the machine and I didn't do it.  Since they are all quite old, I am not 
> concerned about retaining them.  This is
> the first time I have looked into the storage area.

When a queue file is initially created its permissions are 0600, with
the "execute" bit set (and fsync() called) once the message is fully
received, in SMTP just before returning a "250" response to the remote
client accepting resposibility to deliver the message.

So queue files with mode 0600 are typically in-progress or aborted
deliveries, with the latter for some reason not deleted when the
delivery was aborted.  So if the files weren't incorrectly copied
into the queue, they're the result of aborted deliveries, perhaps
across a system crash that prevented just-in-time deletion.

What happened back in 2017, will remain a mystery unless you've retained
logs (or backups of same) from 2017.

-- 
    Viktor.
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to