This configuration
3. This configuration uses Maildrop for local mail delivery. Maildrop can deliver messages to
the Maildir-style folders that Courier is expecting, and can also handle basic sorting and
filtering (as described in the "Configuring Mail Clients" section). This package is not
installed by default, so install it as follows:
# apt-get install maildrop
4. Create Maildir mail directories for every user already on the system. This step must be
performed for every user that is already on the system, and must be run as the user
because running this command as root will result in Maildrop being unable to write to
the folders:
$ maildirmake.maildrop $HOME/Maildir
$ maildirmake.maildrop -f Trash $HOME/Maildir
5. Create mail directories under /etc/skel. The contents of/etc/skel will be copied to
the home directories of any new accounts that you create after the setup is completed:
# maildirmake.maildrop /etc/skel/Maildir
# maildirmake.maildrop -f Trash /etc/skel/Maildir
6. Configure Maildrop to deliver to the Maildir folders instead of mbox
files stored in /var/spool/mail . Use your favorite text editor to edit
/etc/maildroprc and add this line at the end of the file:
DEFAULT="$HOME/Maildir/"