[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Displaying attachments in an apparently empty message



this was some time ago.... sorry, just catching up!

At Mon, 18 Oct 2010 20:36:15 +1300, Simon Guest <simon.guest@tesujimath.org> wrote:
Subject: Re: Displaying attachments in an apparently empty message
> 
> At Mon, 18 Oct 2010 10:08:24 +1300,
> Simon Guest wrote:
> > 
> >   (setq wl-message-visible-field-list mime-view-visible-field-list)
> >   (add-to-list 'wl-message-visible-field-list "^Content-Type:")
> >   (add-to-list 'wl-message-visible-field-list "^Content-disposition:")

I do something that I think is effectively the opposite.  I always want
to see all headers except those I specifically do not want to see.

(setq wl-message-visible-field-list nil)
(setq mime-view-visible-field-list nil)
(setq wl-message-ignored-field-list
      '(".*Received:"
	".*Path:"
	".*Sender:"			; include X-Sender, X-X-Sender, etc.
	".*Host:"
	"^[cC]ontent.*:"		; irrelevant!  :-)
	"^Content-Type:"
	"^DomainKey.*:"			; bogus junk
	"^Errors-To:"
	"^In-Reply-To:"			; just another message-id
	"^Lines:"
	"^List-.*:"			; rfc????
	"^Message-I[dD]:"		; RFC 2036 too!
	"^[mM][iI][mM][eE]-[vV]ersion:"	; irrelevant!  :-)
;;;	"^Precedence:"
	"^References:"
	"^Replied:"
	"^Status:"
	"^Thread-Index:"
	"^X-Accept-Language:"
	"^X-BeenThere:"			; mailman?
	"^X-Cam.*:"			; some stupid virus scanner
	"^X-CanItPRO.*:"
	"^X-Greylist.*:"
	"^X-Hashcash.*:"		; ???
	"^X-IronPort.*:"		; some silly AV crapware
	"^X-MAil-Count:"		; fml?
	"^X-MIME-Autoconverted:"
	"^X-ML.*:"			; fml
	"^X-MS-.*:"
	"^X-Mailman.*:"			; mailman
	"^X-OriginalArrivalTime:"
	"^X-PMAS-.*:"
	"^X-PMX.*:"
	"^X-RPI.*:"
	"^X-SKK:"
	"^X-Scanned.*:"
	"^X-Sieve:"			; cyrus
	"^X-Spam.*:"
	"^X-VM-.*:"
	"^X-Virus.*:"
	"^Xref:"
;	"^X-Original-To:"		; fml?
	))

-- 
						Greg A. Woods
						Planix, Inc.

<woods@planix.com>       +1 250 762-7675        http://www.planix.com/