Chris Scully
2010-Sep-01 18:34 UTC
[Pkg-exim4-users] Pkg-exim4-users Digest, Vol 61, Issue 1
Getting exim to use Maildir is a little more involved than that single command. My config looks like this: ##################################################### ### transport/30_exim4-config_maildir_home ##################################################### # Use this instead of mail_spool if you want to to deliver to Maildir in # home-directory - change the definition of LOCAL_DELIVERY # maildir_home: debug_print = "T: maildir_home for $local_part@$domain" driver = appendfile .ifdef MAILDIR_HOME_MAILDIR_LOCATION directory = MAILDIR_HOME_MAILDIR_LOCATION .else directory = $home/Maildir .endif .ifdef MAILDIR_HOME_CREATE_DIRECTORY create_directory .endif .ifdef MAILDIR_HOME_CREATE_FILE create_file = MAILDIR_HOME_CREATE_FILE .endif delivery_date_add envelope_to_add return_path_add maildir_format .ifdef MAILDIR_HOME_DIRECTORY_MODE directory_mode = MAILDIR_HOME_DIRECTORY_MODE .else directory_mode = 0700 .endif .ifdef MAILDIR_HOME_MODE mode = MAILDIR_HOME_MODE .else mode = 0600 .endif mode_fail_narrower = false Best, Chris On 9/1/2010 5:11 AM, pkg-exim4-users-request at lists.alioth.debian.org wrote:> Send Pkg-exim4-users mailing list submissions to > pkg-exim4-users at lists.alioth.debian.org > > To subscribe or unsubscribe via the World Wide Web, visit > http://lists.alioth.debian.org/mailman/listinfo/pkg-exim4-users > or, via email, send a message with subject or body ''help'' to > pkg-exim4-users-request at lists.alioth.debian.org > > You can reach the person managing the list at > pkg-exim4-users-owner at lists.alioth.debian.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Pkg-exim4-users digest..." > > > Today''s Topics: > > 1. dc_localdelivery=''maildir_home'' has no effect? (thomas) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Wed, 1 Sep 2010 09:56:33 +0200 > From: thomas<thomas.bsd at gmail.com> > Subject: [Pkg-exim4-users] dc_localdelivery=''maildir_home'' has no > effect? > To: pkg-exim4-users at lists.alioth.debian.org > Message-ID: > <AANLkTi=cGLcAY1rrMAoO7hPokarE7-kNzWbPnVGF4rh0 at mail.gmail.com> > Content-Type: text/plain; charset=UTF-8 > > Hello > > 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? > > Thanks > Thomas > > > > ------------------------------ > > _______________________________________________ > Pkg-exim4-users mailing list > Pkg-exim4-users at lists.alioth.debian.org > http://lists.alioth.debian.org/mailman/listinfo/pkg-exim4-users > > End of Pkg-exim4-users Digest, Vol 61, Issue 1 > **********************************************
Andreas Metzler
2010-Sep-02 17:28 UTC
[Pkg-exim4-users] Pkg-exim4-users Digest, Vol 61, Issue 1
Chris Scully <cscully at careplusfinancial.com> wrote:> Getting exim to use Maildir is a little more involved than that single > command.Actually it is not ...> My config looks like this:> ##################################################### > ### transport/30_exim4-config_maildir_home > #####################################################> # Use this instead of mail_spool if you want to to deliver to Maildir in > # home-directory - change the definition of LOCAL_DELIVERY[...] ... since your snippet is part of the standard Debian exim configuration. Change the definition of LOCAL_DELIVERY does th trick. And the dc_localdelivery settinng in /etc/exim4/update-exim4.conf.conf does exactly this. cu andreas