From e60fac44d968469044591dbf1170e5b12aca22bd Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Fri, 17 Aug 2007 16:18:22 +0200 Subject: [PATCH 1/1] write X-Eq* headers at the end --- procmail/addheaders | 4 ++++ procmail/eqdomains | 3 --- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/procmail/addheaders b/procmail/addheaders index dc37f13..6915f9c 100644 --- a/procmail/addheaders +++ b/procmail/addheaders @@ -2,4 +2,8 @@ * JUSTME ?? . |$FORMAIL -A"X-Justme: $JUSTME" +:0 fw +* EQ_DOMAIN ?? . +|$FORMAIL -A"X-EqDomain: $ORIG_DOMAIN" -A"X-EqTo: $EQ_LOCAL@$EQ_DOMAIN" + # vim:set ft=procmail diff --git a/procmail/eqdomains b/procmail/eqdomains index d1f3960..4899f16 100644 --- a/procmail/eqdomains +++ b/procmail/eqdomains @@ -21,9 +21,6 @@ { EQ_DOMAIN="$MATCH" } LOG="eqdomain: message to $EQ_LOCAL@$EQ_DOMAIN via $ORIG_DOMAIN$NL" - - :0 fw - |$FORMAIL -A"X-EqDomain: $ORIG_DOMAIN" -A"X-EqTo: $EQ_LOCAL@$EQ_DOMAIN" } } -- 2.39.5