Default procmailrc settings

This commit is contained in:
Bob Mottram 2015-10-25 12:16:44 +00:00
parent bc8a29b94b
commit e316d747e4
1 changed files with 7 additions and 0 deletions

View File

@ -6283,7 +6283,14 @@ function create_procmail {
echo 'DEFAULT=$MAILDIR/' >> /home/$MY_USERNAME/.procmailrc echo 'DEFAULT=$MAILDIR/' >> /home/$MY_USERNAME/.procmailrc
echo 'LOGFILE=$HOME/log/procmail.log' >> /home/$MY_USERNAME/.procmailrc echo 'LOGFILE=$HOME/log/procmail.log' >> /home/$MY_USERNAME/.procmailrc
echo 'LOGABSTRACT=all' >> /home/$MY_USERNAME/.procmailrc echo 'LOGABSTRACT=all' >> /home/$MY_USERNAME/.procmailrc
chown $MY_USERNAME:$MY_USERNAME /home/$MY_USERNAME/.procmailrc
fi 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 echo 'create_procmail' >> $COMPLETION_FILE
} }