I configured exim to deliver local mail via procmail to maildirs in a pretty standard way: (exim4.conf
)
procmail_pipe:
driver = pipe
command = /usr/bin/procmail -d $local_part
return_path_add
delivery_date_add
envelope_to_add
check_string = "From "
escape_string = ">From "
user = $local_part
group = mail
and in /etc/procmailrc
MAILDIR=$HOME/
LOGFILE=procmail.log
LOCKFILE=procmail.lock
DEFAULT=.maildir/
The owner of the .maildir itself is correct -- $user:mail
, but for some reason the log file is root:mail
.
How can I change it to $user:mail
too?