This commit is contained in:
Bob Mottram 2015-06-16 07:58:12 +01:00
parent c1d5dbe97a
commit 05c2e120fe
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ MUTTRC=/home/$MYUSERNAME/.muttrc
PM=/home/$MYUSERNAME/.procmailrc
# Ignore if subject line contains text
if [ $SUBJECT_TEXT ]; then
if [ "$SUBJECT_TEXT" ]; then
if ! grep -q "Ignore rule for $SUBJECT_TEXT" $PM; then
echo "# Ignore rule for $SUBJECT_TEXT" >> $PM
echo ":0" >> $PM