From 31b0bcf17fe81e3672ff6f30cfb0f60b589936ee Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 26 Feb 2014 21:33:27 +0000 Subject: [PATCH] Starting email from scratch --- beaglebone.txt | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/beaglebone.txt b/beaglebone.txt index 38da1e66..ff0f74ae 100644 --- a/beaglebone.txt +++ b/beaglebone.txt @@ -858,7 +858,26 @@ save and exit adduser myusername sasl addgroup Debian-exim sasl /etc/init.d/exim4 restart -mkdir /etc/skel/Maildir +mkdir -m 700 /etc/skel/Maildir +mkdir -m 700 /etc/skel/Maildir/sent +mkdir -m 700 /etc/skel/Maildir/sent/tmp +mkdir -m 700 /etc/skel/Maildir/sent/cur +mkdir -m 700 /etc/skel/Maildir/sent/new +#+END_SRC + +If you're starting from scratch and don't already have a /Maildir/ directory in your home directory, then create one as follows: + +#+BEGIN_SRC: bash +export MYUSERNAME=myusername +mkdir -m 700 /home/$MYUSERNAME/Maildir +mkdir -m 700 /home/$MYUSERNAME/Maildir/cur +mkdir -m 700 /home/$MYUSERNAME/Maildir/tmp +mkdir -m 700 /home/$MYUSERNAME/Maildir/new +mkdir -m 700 /home/$MYUSERNAME/Maildir/sent +mkdir -m 700 /home/$MYUSERNAME/Maildir/sent/cur +mkdir -m 700 /home/$MYUSERNAME/Maildir/sent/tmp +mkdir -m 700 /home/$MYUSERNAME/Maildir/sent/new +chown -R $MYUSERNAME:$MYUSERNAME /home/$MYUSERNAME/Maildir #+END_SRC ** Spam filtering