Article View: news.software.nntp
Article #13214Re: Domain-names on outgoing news
From: The Caretaker
Date: Thu, 12 Dec 1996 00:00
Date: Thu, 12 Dec 1996 00:00
46 lines
1957 bytes
1957 bytes
Chrisy Luke (chrisy@easynet.net) chatted away...
: On Fri, 6 Dec 1996 12:39:20 +0100, Martin Milinovsky
: <martin@xsoft.co.at> wrote:
: >Does anybody know where I can set the domain-name INN puts on outgoing
: >postings?
: This is really an FAQ, but in inn.conf:
: news@cherry[~]> tail -5 inn.conf
: organization: [posted via] Easynet Group PLC
: server: news.easynet.co.uk
: pathhost: easynet-cherry
: domain: easynet.net
: fromhost: easynet.net
...to add to this, if you want news posted from your site to ALWAYS have your
ORGANIZATION field in the postings, in nnrpd/post.c change:
/* Set Organization */
if (HDR(_organization) == NULL
&& (p = GetConfigValue(_CONF_ORGANIZATION)) != NULL) {
to:
/* Set Organization */
if ((p = GetConfigValue(_CONF_ORGANIZATION)) !=NULL) {
This way, someone using your INND server can't substitute his organization
in lieu of yours (I hate when users do that...!). Of course, this will only work
if you fill in organization in inn.conf as Chrisy has pointed out.
g'luck!
//del//
=============================================================================
Flex Information Network 808.539.3790 HAWAII Email: postmaster@aloha.com
>>> Hawaii's Very First Public Access Internet Provider, July 19, 1994 <<<
Technical Details
Message-ID:
<58p10a$m4d$3@opihi.aloha.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-mailReferences:
<Pine.SUN.3.95.961206123748.28276B-100000@sun> <32d314f8.692399664@cherry.news.easynet.net>Show Full Headers
Complete Article Headers
Message-ID: <58p10a$m4d$3@opihi.aloha.com> Subject: Re: Domain-names on outgoing news Date: Thu, 12 Dec 1996 00:00:00 +0000 From: del@aloha.com (The Caretaker) References: <Pine.SUN.3.95.961206123748.28276B-100000@sun> <32d314f8.692399664@cherry.news.easynet.net> 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: 203699254 Organization: Aloha.Com News Server Newsgroups: news.software.nntp