diff options
author | Konstantin Ryabitsev <konstantin@linuxfoundation.org> | 2020-10-14 15:48:23 -0400 |
---|---|---|
committer | Konstantin Ryabitsev <konstantin@linuxfoundation.org> | 2020-10-14 15:48:23 -0400 |
commit | 9fec60cc20154671069e960ea8bf89efaba03662 (patch) | |
tree | 29f4af8837258c7691df6e6bbddf88ba1916029a | |
parent | 11fc21dd882b6cf4f4986b4f6206ce9e071a0630 (diff) | |
download | procmail-9fec60cc20154671069e960ea8bf89efaba03662.tar.gz |
Add default.rc
Instead of passing defaults to common.rc, pass it to default.rc. This
way every file has to include a final :0 for actual delivery.
Signed-off-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
-rw-r--r-- | common.rc | 1 | ||||
-rw-r--r-- | default.rc | 6 | ||||
-rw-r--r-- | git.rc | 3 |
3 files changed, 9 insertions, 1 deletions
@@ -2,6 +2,5 @@ VERBOSE=no COMSAT=no LOGFILE=/var/log/grokmirror/procmail.log PARSEMAIL=/usr/local/bin/parsemail.sh -DEFAULT=| $PARSEMAIL # vim: ts=2 sw=2 sts=2 et syntax=procmail diff --git a/default.rc b/default.rc new file mode 100644 index 0000000..17eaaf4 --- /dev/null +++ b/default.rc @@ -0,0 +1,6 @@ +INCLUDERC=$HOME/procmail/common.rc + +:0 +| $PARSEMAIL + +# vim: ts=2 sw=2 sts=2 et syntax=procmail @@ -14,4 +14,7 @@ INCLUDERC=$HOME/procmail/common.rc | formail -I "X-Original-From:$INBODYFROM" } +:0 +| $PARSEMAIL + # vim: ts=2 sw=2 sts=2 et syntax=procmail |