Article View: news.software.readers
Article #20556Re: xrn question
From: Jonathan Kamens
Date: Fri, 12 Apr 1996 00:00
Date: Fri, 12 Apr 1996 00:00
47 lines
3138 bytes
3138 bytes
(Insert standard flame about how you should have sent your question to bug-xrn@cam.ov.com before posting it to the entire Usenet. I would have answered it quickly, and you wouldn't have had to waste the bandwidth of a Usenet posting.) (Insert standard flame about how you should have mentioned what version of XRN you are using. Note that this answer is based on the current version of XRN, 8.01.) Your question can be interpreted in two different ways. Either you are asking how to modify the contents of the header lines that are already inserted by XRN, or you are asking how to get XRN to insert additional header lines. The former question is answered by the documentation in the config.h file that comes with XRN and in the XRN man page. In config.h, see ORG_NAME, ORG_FILE, DOMAIN_NAME, RESOLVER, RETURN_HOST, UUCPNAME, HIDE_PATH, REAL_HOST, SENDER_HOST, HIDDEN_FILE, PATH_FILE, DOMAIN_FILE, and DISTRIBUTION. See also IDENTIFY_VERSION_IN_MESSAGES, which is disabled by default. In the man page, see the documentation for the "cc", "ccForward", "distribution", "organization", and "replyTo" command-line arguments/X resources, the "domainName" and "hiddenHost" X resources, and the "DOMAIN", "HIDDENHOST" and "HIDDENPATH" environment variables. Note that some of the settings mentioned above are overridden by the INN configuration file, if you configure XRN to use INN and there are settings present in its configuration file. As for getting XRN to insert extra headers other than the ones that it knows about, there are two ways to do that in the current version of XRN: 1) Use an external editor (see the "editorCommand" command-line argument/X resource), and make it a shell script which adds the extra headers to the message and then calls the editor on the resulting file. 2) Specify a special mailer (see the "mailer" command-line argument/X resource) and make it a shell script which adds the extra headers before calling the real mailer (or feeds the extra headers into the mailer before feeding the actual article). Of course, this will only work for E-mail messages. For postings, you'd have to change INEWS in config.h to refer to a customized inews program which adds the extra headers before doing the posting. I think that it's a good idea for XRN to have some sort of facility for adding customized headers to messages without having to resort to the trickery mentioned above. I'll add it to the TODO list.
Technical Details
Message-ID:
<4kku32$41v@jik.israel.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mailReferences:
<4kjkc6$3d9@pendragon.jsc.nasa.gov>Show Full Headers
Complete Article Headers
Message-ID: <4kku32$41v@jik.israel.net> Subject: Re: xrn question Date: Fri, 12 Apr 1996 00:00:00 +0000 From: jik@annex-1-slip-jik.cam.ov.com (Jonathan Kamens) References: <4kjkc6$3d9@pendragon.jsc.nasa.gov> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail X-Deja-AN: 147069518 Sender: jik@jik.israel.net (Jonathan Kamens) To: houk@mickey.jsc.nasa.gov (Leslie B. Houk) Cc: jik Organization: jik's Linux box Newsgroups: news.software.readers