From 9f26443a68515fe7683aa5f83c6698b28a39d7f9 Mon Sep 17 00:00:00 2001 From: Thomas Roessler Date: Mon, 15 Mar 1999 15:32:15 +0000 Subject: Add $bounce_delivered. --- copy.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'copy.c') diff --git a/copy.c b/copy.c index 79b36594..369980b3 100644 --- a/copy.c +++ b/copy.c @@ -60,7 +60,7 @@ mutt_copy_hdr (FILE *in, FILE *out, long off_start, long off_end, int flags, buf[0] = '\n'; buf[1] = 0; - if ((flags & (CH_REORDER | CH_WEED | CH_MIME | CH_DECODE | CH_PREFIX)) == 0) + if ((flags & (CH_REORDER | CH_WEED | CH_MIME | CH_DECODE | CH_PREFIX | CH_WEED_DELIVERED)) == 0) { /* Without these flags to complicate things * we can do a more efficient line to line copying @@ -149,6 +149,9 @@ mutt_copy_hdr (FILE *in, FILE *out, long off_start, long off_end, int flags, mutt_matches_ignore (buf, Ignore) && !mutt_matches_ignore (buf, UnIgnore)) continue; + if ((flags & CH_WEED_DELIVERED) && + mutt_strncasecmp ("Delivered-To:", buf, 13) == 0) + continue; if ((flags & (CH_UPDATE | CH_XMIT | CH_NOSTATUS)) && (mutt_strncasecmp ("Status:", buf, 7) == 0 || mutt_strncasecmp ("X-Status:", buf, 9) == 0)) -- cgit v1.2.3