I haven't seen my last two postings come through yet. I hope this one runs through.
For a specific mail archive I'd like to hypermail to display *all* header lines not just a few of them. I'm archiving antispam efforts on the web (http://www.infodrom.north.de/Infodrom/antispam/) and without headers it's kind of rediculous.
Hypermail comes with a way to define a static set of headers to display. For my needs this isn't sufficient.
Thus I have introduced a new pseudo header ``*'' which results in hypermail printing out all headers. In your configuration you only have to sed "hm_show_headers=*" and "hm_showheaders=1" and you're done.
Please find attached a clean patch that implements this behaviour combined with adjusted documentation.
I also noticed that hypermail behaves "strange" when an attachement contains a complete mail including header fields.
Index: docs/hmrc.4
--- hmrc.4 1998/09/10 07:49:19 1.1.1.1 +++ hmrc.4 1998/11/12 11:32:19
+line. If it contains the special character ``*'' +.B hypermail +will display all header lines.
diff -u -r1.1.1.1 hypermail.1 --- hypermail.1 1998/09/10 07:49:19 1.1.1.1 +++ hypermail.1 1998/11/12 11:34:23
-.B "To:", "From:", -and -.B "Subject:"
hm_show_headers = Date
hm_show_headers = Message-ID
.nr
+ +As a special case you can use the identifier ``*'' as header to tell +.B hypermail +to display all header lines.
.TP
.B HM_INLINE_TYPES image data types to inline
Index: src/print.c
--- print.c 1998/09/10 07:49:20 1.1.1.1 +++ print.c 1998/11/12 11:26:45
int showheader(char *header)
{
- return (inlist(show_headers, header));
+ return (inlist(show_headers, header) || inlist(show_headers, "*"));
}
Regards,
Joey
-- Linux - the choice of a GNU generationReceived on Thu 12 Nov 1998 05:21:02 PM GMT
This archive was generated by hypermail 2.3.0 : Sat 13 Mar 2010 03:46:11 AM GMT GMT