Adding other headers in %hdr

Julien ÉLIE julien at trigofacile.com
Wed May 2 14:43:44 UTC 2007


Hi,

First of all, there is a discrepancy between the actual
headers in %hdr and what is mentioned in hook-perl/python.pod;
indeed, these fields are missing in hook-perl.pod while
there are in innd.c:

Xref
Date-Received
Posted
Posting-Version
Received
Relay-Version
X-Newsposter
User-Agent
X-Original-Message-ID


I believe they should be added to hook-perl.pod.  Then
hook-perl.py should be updated accordingly.


By the way, can new headers be added?
Here is an interesting list:

X-Complaints-To
NNTP-Posting-Date
In-Reply-To
X-No-Archive
X-Face
Mime-Version
Content-Transfer-Encoding
Cancel-Lock
Cancel-Key


Do you know other useful headers which could be appended
to that list?

When a good list is set, there is only these fields to
add in innd.c, hook-perl/python.pod, tests\innd\fakeinnd.c
and samples\filter_innd.py (easy to do I believe but
I do not provide a patch because I do not know the exact
headers list you wish to add).

Regards,

-- 
Julien ÉLIE

« La grippe, ça dure huit jours si on la soigne et une semaine
  si on ne fait rien. » (Raymond Devos)



More information about the inn-bugs mailing list