Article View: news.software.nntp
Article #19524INN 1.6b1 inncheck...
From: Francis C. Swasey
Date: Wed, 23 Jul 1997 00:00
Date: Wed, 23 Jul 1997 00:00
47 lines
1926 bytes
1926 bytes
inncheck doesn't like the new complaints field in inn.conf -- I don't
know if the following patch is exactly correct, but it's a start.
diff -u6 -r inn-1.6b1.original/samples/inncheck inn-1.6b1/samples/inncheck
--- inn-1.6b1.original/samples/inncheck Wed Jul 23 10:54:09 1997
+++ inn-1.6b1/samples/inncheck Wed Jul 23 15:39:50 1997
@@ -324,13 +324,14 @@
'moderatormailer', 0,
'organization', 0,
'pathhost', 0,
'server', 0,
'mime-version', 0,
'mime-contenttype', 0,
- 'mime-encoding', 0
+ 'mime-encoding', 0,
+ 'complaints', 0
);
%inn_conf'optionals = (
'mime-version', 0,
'mime-contenttype', 0,
'mime-encoding', 0
);
@@ -378,12 +379,15 @@
} elsif ( $k eq "pathhost" ) {
print "$file:$line: pathhost has a ! in it\n"
if $v =~ /!/;
} elsif ( $k eq "server" ) {
print "$file:$line: server (`$v') isn't local hostname\n"
if $pedantic && $fqdn !~ /^$v/;
+ } elsif ( $k eq "complaints" ) {
+ print "$file:$line: complaints has bad address\n"
+ if $v !~ /[\w\-]+@[\w\-]+\.[\w\-]+/;
}
else {
print "$file:$line: semi-known field\n";
}
}
--
e-mail: fswasey@btv.ibm.com ,,,
Tel: 802-769-4011 (tie: 446), Fax: 802-769-4253 (tie: 446) (o o)
Speaking *from* but not *for* IBM -oOOO--(_)--OOOo-
Technical Details
Message-ID:
<5r5orp$1bac$1@mdnews.btv.ibm.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <5r5orp$1bac$1@mdnews.btv.ibm.com> Subject: INN 1.6b1 inncheck... Date: Wed, 23 Jul 1997 00:00:00 +0000 From: fswasey@btv.ibm.com (Francis C. Swasey) Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 258405059 Organization: IBM Microelectronics Division Reply-To: fswasey@btv.ibm.com Newsgroups: news.software.nntp