X-Git-Url: https://git.madduck.net/etc/mailfilter.git/blobdiff_plain/977bf4ebd9d06d5ee7c493db630f53163e1525a3..f0508db67a740ddfba6d0caab0439c6d75c0495b:/procmail/cleanup diff --git a/procmail/cleanup b/procmail/cleanup index 646d2ab..e22b58b 100644 --- a/procmail/cleanup +++ b/procmail/cleanup @@ -1,6 +1,15 @@ -# remove all headers our mailfilter adds +# remove all headers added in the *local* mail chain: +# 1. added by this mailfilter +# (but not X-Tickle, X-Postponed, or X-Resubmitted) +# 2. added by the retraining system +# 3. added by offlineimap +# 4. added by the MUA :0 fw -|$FORMAIL -IX-EqDomain -IX-EqTo -IX-Justme -IContent-Length +|$FORMAIL \ + -IX-EqDomain -IX-EqTo -IX-Justme -IX-Spamtrapped \ + -IX-Trained-As \ + -IX-UID -IX-OfflineIMAP- \ + -IX-Status -IStatus -IX-Keywords -IContent-Length # now should be idempotent