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 }