X-Git-Url: https://git.madduck.net/etc/mailfilter.git/blobdiff_plain/864bba9e27d4b47043898efaa709281986ba36ff..a8f2c04936c3cc265b67f8098934e067fa113701:/procmail/delay-delivery diff --git a/procmail/delay-delivery b/procmail/delay-delivery index 9e8e02a..cd50135 100644 --- a/procmail/delay-delivery +++ b/procmail/delay-delivery @@ -14,6 +14,12 @@ LOG="delay: delays disabled, thus not delaying$NL" } +:0 E +* ? echo "$FROM" | $EGREP -qif $CONF/undelayed-senders +{ + LOG="delay: do not delay mail from $FROM$NL" +} + :0 E * 1^0 DELAY ?? . * 1^0 RELEASE ?? . @@ -42,7 +48,6 @@ :0 fw |$FORMAIL -I"X-Postponed: $RELEASE" - INCLUDERC=$PMDIR/record-delayed-mail :0 $DELAYED_QUEUE }