INN commit: branches/2.6 (doc/pod/news.pod nnrpd/post.c nnrpd/post.h)
INN Commit
rra at isc.org
Wed Jun 1 20:08:10 UTC 2016
Date: Wednesday, June 1, 2016 @ 13:08:10
Author: iulius
Revision: 10038
Allow posts containing a Received: or a Posted: header field
Modified:
branches/2.6/doc/pod/news.pod
branches/2.6/nnrpd/post.c
branches/2.6/nnrpd/post.h
------------------+
doc/pod/news.pod | 5 +++++
nnrpd/post.c | 6 ++++--
nnrpd/post.h | 6 +++---
3 files changed, 12 insertions(+), 5 deletions(-)
Modified: doc/pod/news.pod
===================================================================
--- doc/pod/news.pod 2016-06-01 20:07:30 UTC (rev 10037)
+++ doc/pod/news.pod 2016-06-01 20:08:10 UTC (rev 10038)
@@ -32,6 +32,11 @@
=item *
+If an article contains a Received: or a Posted: header field, it is no
+longer rejected by B<nnrpd>.
+
+=item *
+
S<OpenSSL 1.1.0> support has been added to INN.
=item *
Modified: nnrpd/post.c
===================================================================
--- nnrpd/post.c 2016-06-01 20:07:30 UTC (rev 10037)
+++ nnrpd/post.c 2016-06-01 20:08:10 UTC (rev 10038)
@@ -27,6 +27,10 @@
/*
** Do not modify the table without also looking at post.h for potential
** changes in the order of the fields.
+**
+** The table should reflect the status of the fields in the "Permanent
+** Message Header Field Names" registry:
+** http://www.iana.org/assignments/message-headers/
*/
HEADER Table[] = {
/* Name CanSet Type Size Value */
@@ -62,8 +66,6 @@
{ "Keywords", true, HTstd, 0, NULL, NULL, 0 },
{ "User-Agent", true, HTstd, 0, NULL, NULL, 0 },
{ "Date-Received", false, HTobs, 0, NULL, NULL, 0 },
- { "Received", false, HTobs, 0, NULL, NULL, 0 },
- { "Posted", false, HTobs, 0, NULL, NULL, 0 },
{ "Posting-Version", false, HTobs, 0, NULL, NULL, 0 },
{ "Relay-Version", false, HTobs, 0, NULL, NULL, 0 },
{ "Cc", true, HTstd, 0, NULL, NULL, 0 },
Modified: nnrpd/post.h
===================================================================
--- nnrpd/post.h 2016-06-01 20:07:30 UTC (rev 10037)
+++ nnrpd/post.h 2016-06-01 20:08:10 UTC (rev 10038)
@@ -53,6 +53,6 @@
#define HDR__MESSAGEID 15
#define HDR__INJECTION_DATE 26
#define HDR__INJECTION_INFO 27
-#define HDR__CC 36
-#define HDR__BCC 37
-#define HDR__TO 38
+#define HDR__CC 34
+#define HDR__BCC 35
+#define HDR__TO 36
More information about the inn-committers
mailing list