X-Git-Url: https://git.madduck.net/etc/mailfilter.git/blobdiff_plain/977bf4ebd9d06d5ee7c493db630f53163e1525a3..dd613d75459d5bb9878d016c503b1aec6a356d12:/procmail/cleanup diff --git a/procmail/cleanup b/procmail/cleanup index 646d2ab..e367cd2 100644 --- a/procmail/cleanup +++ b/procmail/cleanup @@ -1,6 +1,13 @@ +:0 +* ^X-Trained-As: \/(h|sp)am +{ TRAINED_AS=$MATCH } + # 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