From: martin f. krafft Date: Fri, 18 Apr 2008 11:47:44 +0000 (+0200) Subject: allow certain senders to pass undelayed, and add penny X-Git-Url: https://git.madduck.net/etc/mailfilter.git/commitdiff_plain/a8f2c04936c3cc265b67f8098934e067fa113701 allow certain senders to pass undelayed, and add penny --- diff --git a/config/undelayed-senders b/config/undelayed-senders new file mode 100644 index 0000000..02a8fbb --- /dev/null +++ b/config/undelayed-senders @@ -0,0 +1 @@ +^Penny Leach $ diff --git a/procmail/delay-delivery b/procmail/delay-delivery index aef22e1..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 ?? .