Package: exim4-config
Version: 4.98.2-1
Severity: wishlist
File: /etc/exim4/conf.d/transport/30_exim4-config_mail_spool

Dear Maintainer,

I'd like to suggest to add "current_directory = /" to 
30_exim4-config_mail_spool.

Background:
 - https://github.com/Exim/exim/wiki/Q0423: check_local_user sets work-dir to 
$HOME
 - if $HOME is not accessible, mail_spool fails with "Permission denied: failed 
to chdir to /home/..."
 - in my opinion there is no need to chdir to /home/, if the mail is going to 
be delivered to /var/mail/

Notes:
 - 30_exim4-config_maildir_home has a hint about this "issue". 
 - there is no hint in 30_exim4-config_mail_spool.


-- Package-specific info:
Exim version 4.98.2 #2 built 29-Mar-2025 12:22:55

Reply via email to