[Pkg-exim4-users] dc_localdelivery='maildir_home' has no effect?

Andreas Metzler ametzler at downhill.at.eu.org
Wed Sep 1 17:18:43 UTC 2010

thomas <thomas.bsd at gmail.com> wrote:
> I ran dpkg-reconfigure exim4-config to set up exim4 for local delivery
> only (msmtp takes care for the rest). In
> /etc/exim4/update-exim4.conf.conf, I have:

> dc_localdelivery='maildir_home'

> However, when I send an email as root to root (for testing), it goes
> to /var/mail/mail, not to /root/Maildir. I do not understand why. Any
> clue?

root is a particulry bad testcase if you did not redcirect it with /etc/aliases.

4.3. No deliveries to root!

   No Exim 4 version released with any Debian OS can run deliveries as
   root. If you don't redirect mail for root via /etc/aliases to a
   nonprivileged account, the mail will be delivered to /var/mail/mail
   with permissions 0600 and owner mail:mail.

   This redirection is done by the mail4root router which is last in the
   list and will thus catch mail for root that has not been taken care of

cu andreas

More information about the Pkg-exim4-users mailing list