From e316d747e408dfefa34cd3def92505fd4b4efff4 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 25 Oct 2015 12:16:44 +0000 Subject: [PATCH] Default procmailrc settings --- src/freedombone | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/freedombone b/src/freedombone index 258cde87..4ed4666d 100755 --- a/src/freedombone +++ b/src/freedombone @@ -6283,7 +6283,14 @@ function create_procmail { echo 'DEFAULT=$MAILDIR/' >> /home/$MY_USERNAME/.procmailrc echo 'LOGFILE=$HOME/log/procmail.log' >> /home/$MY_USERNAME/.procmailrc echo 'LOGABSTRACT=all' >> /home/$MY_USERNAME/.procmailrc + chown $MY_USERNAME:$MY_USERNAME /home/$MY_USERNAME/.procmailrc fi + + if [ ! -f /etc/skel/.procmailrc ]; then + cp /home/$MY_USERNAME/.procmailrc /etc/skel/.procmailrc + chown roor:root /etc/skel/.procmailrc + fi + echo 'create_procmail' >> $COMPLETION_FILE }