From: martin f. krafft Date: Sun, 23 Sep 2007 15:18:01 +0000 (+0200) Subject: comment header cleanup X-Git-Url: https://git.madduck.net/etc/mailfilter.git/commitdiff_plain/c665eae75cbe272fbaca4a69135eebcc290b3278?hp=092a8c659c7850bd1326e4206c2160fbedd1a722 comment header cleanup --- diff --git a/procmail/cleanup b/procmail/cleanup index e367cd2..3eacdd7 100644 --- a/procmail/cleanup +++ b/procmail/cleanup @@ -2,11 +2,16 @@ * ^X-Trained-As: \/(h|sp)am { TRAINED_AS=$MATCH } -# remove all headers our mailfilter adds +# remove all headers added in the *local* mail chain :0 fw -|$FORMAIL -IX-EqDomain -IX-EqTo -IX-Justme \ +|$FORMAIL \ + # headers added by this mailfilter + -IX-EqDomain -IX-EqTo -IX-Justme \ + # headers added by the retraining system -IX-Trained-As \ + # headers added by offlineimap -IX-UID -IX-OfflineIMAP- \ + # headers added by the MUA -IX-Status -IStatus -IX-Keywords -IContent-Length # now should be idempotent