Default procmailrc settings
This commit is contained in:
parent
bc8a29b94b
commit
e316d747e4
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue