From: martin f. krafft Date: Fri, 17 Aug 2007 14:18:22 +0000 (+0200) Subject: write X-Eq* headers at the end X-Git-Url: https://git.madduck.net/etc/mailfilter.git/commitdiff_plain/e60fac44d968469044591dbf1170e5b12aca22bd?hp=39624250646933161646aa1de574cfc4965f2916 write X-Eq* headers at the end --- 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" } }