Thread View: news.software.nntp
1 messages
1 total messages
Started by Francis C. Swasey
Wed, 23 Jul 1997 00:00
INN 1.6b1 inncheck...
Author: 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-
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads