On Tue, 2012-12-11 at 19:13 -0800, Joseph Tam wrote:
Ben Morrow writes:
In any case, it's likely that the delivery process looks in the user's home directory even if delivery is to a separate mail spool, unless you've taken steps to prevent this.
I can confirm this. I think the reason is that dovecot changes to the user's home directory so that it has a place to dump core. This causes problem for my setup since I user per-user NFS mounts, so a delivery to an internal mailing list caused hundreds of NFS automounts.
I patched this behaviour out, but there is probably a more elegant solution (unset MAIL_STORAGE_SERVICE_FLAG_ENABLE_CORE_DUMPS? How?).
If there is a home directory, Dovecot chdirs there. Maybe you can avoid returning a home directory? Of course that causes some other trouble then. A new mail_home_chdir=no setting would of course work, but kind of annoying to have such setting..