On 14/5/24 19:44, Greg Wooledge wrote:
On Tue, May 14, 2024 at 07:36:17PM +0800, jeremy ardley wrote:
Postfix is chrooted (usuallly) to /var/spool/postfix
If this is true, then how would a local delivery agent work? It needs
write access to all users' inboxes, which are either in /var/mail or in
users' home directories.
I could imagine the Postfix SMTP sending/receiving and queue processing
programs being chrooted, but the LDA probably isn't. Or at least not
chrooted to /var/spool/postfix.
From what I can find out, the postfix local delivery agent is not
chroot and it communicates with the main postfix processes via shared
directories and pipes.
To debug the problem I suggest checking the chroot and non chroot
processes and eliminate those that are not relevant to the seen error
messages