maildrop issues - unable to change to home directory

The mailq reports a few hundred stuck emails for various accounts without quota or other limits.
(temporary failure. Command output: /usr/bin/maildrop: Unable to change to home directory.)

I’m unsure if this is a permission issue on the Mail folder for the user account, an issue with the maildrop version, config or binary or something else.

rpm -qi maildrop

Should be on 3.1.8, which sets “_NSS_AUTOJAIL=1” now for users. If not, yum update -y maildrop. If that’s good, then it’s spillover from,

It is 3.1.8 for sure, anything else I can check? Fwiw, it’s just one server.

Check /etc/nsswitch.conf reports “apnscpvwh” in its passwd field. If not, run upcp to see why migration failed.

Mail delivery is invoked as:

maildrop -d USER@DOMAIN

If that succeeds, then it’s mail waiting for its next delivery interval that may be flushed with postqueue -f.

passwd: files sss apnscpvwh

postqueue -f has been ran a couple times with no change.

I’m helping someone else, it’s not my own server and it’s on RHEL 7 still. Yeah I know and so do they. I was able to get it upcp up to the latest version after fixing broken repos.

Is it possible it’s hosed up from NSS on RHEL7?

strings /usr/bin/maildrop | grep NSS_
rpm -qi maildrop | grep Date

strings /usr/bin/maildrop | grep NSS_
Nothing

rpm -qi maildrop | grep Date
Install Date: Fri 23 May 2025 08:18:29 AM UTC
Build Date : Mon 07 Apr 2025 04:46:04 PM UTC

RHEL7 is missing the patch; fixed.

yum clean all
yum update -y maildrop
postqueue -f

Confirmed!
Thanks for the quick fix.