Prior to this change, Stump removed the supplied Date: header, and
replaced it with one of its own, which reflected the time at which the
article was approved. Following discussion in unnm, it seemed clear
that people would like the Date: header to be unmolested.
Signed-off-by: Matthew Vernon <matthewv@chiark.greenend.org.uk>
# I do grep above because a lot of users inserts empty
# lines in the added headers.
- echo Date: `date -R`
cat $TMPFILE \
| formail -f -a "Newsgroups: $NEWSGROUP" \
-I Path: \
-I X-Moderate-For: \
-I Return-Path: \
-I X-Mailer: \
- -I "Date:" \
-I "X-400-Received:" \
-I Received: -I "From " \
-a "Approved: $PMUSER_APPROVAL" \
return 1 if( $header =~ /^Supersedes:/i );
return 1 if( $header =~ /^Precedence:/i );
return 1 if( $header =~ /^Apparently-To:/i );
- return 1 if( $header =~ /^Date:/i );
return 1 if( $header =~ /^Expires:/i );
return 1 if( $header =~ /^Distribution:/i );
return 1 if( $header =~ /^Path:/i );