From: martin f. krafft Date: Sun, 23 Sep 2007 15:12:00 +0000 (+0200) Subject: move more headers to earlier cleanup X-Git-Url: https://git.madduck.net/etc/mailfilter.git/commitdiff_plain/dd613d75459d5bb9878d016c503b1aec6a356d12?ds=sidebyside move more headers to earlier cleanup --- diff --git a/procmail/cleanup b/procmail/cleanup index 0d71fd8..e367cd2 100644 --- a/procmail/cleanup +++ b/procmail/cleanup @@ -4,7 +4,10 @@ # remove all headers our mailfilter adds :0 fw -|$FORMAIL -IX-EqDomain -IX-EqTo -IX-Justme -IContent-Length +|$FORMAIL -IX-EqDomain -IX-EqTo -IX-Justme \ + -IX-Trained-As \ + -IX-UID -IX-OfflineIMAP- \ + -IX-Status -IStatus -IX-Keywords -IContent-Length # now should be idempotent diff --git a/procmail/pre-spam-cleanup b/procmail/pre-spam-cleanup index 93fee2a..2f66743 100755 --- a/procmail/pre-spam-cleanup +++ b/procmail/pre-spam-cleanup @@ -25,7 +25,7 @@ PMDIR=${PMDIR:-$HOME/.etc/mailfilter/procmail} # remove other unwanted headers from all messages :0 fw -|$FORMAIL -IX-Virus -IX-UID -IX-OfflineIMAP- -IX-Status -IStatus -IX-Keywords -IX-Greylist \ - -IX-Spam -IX-CRM114 -IX-Auto -IX-Trained-As +|$FORMAIL -IX-Virus -IX-Greylist \ + -IX-Spam -IX-CRM114 # now should be idempotent