| 1 |
From: [email protected] (Matt Millar) |
| 2 |
Subject: Re: Ftn MSGID's |
| 3 |
Date: 9 Oct 1994 12:52:31 -0500 |
| 4 |
Message-Id: <[email protected]> |
| 5 |
Author-Reply-To: [email protected] |
| 6 |
To: [email protected] (Ifmail mailing list) |
| 7 |
Reply-To: [email protected] (Ifmail mailing list) |
| 8 |
Precedence: bulk |
| 9 |
Status: RO |
| 10 |
|
| 11 |
In-Reply-To: <[email protected]> from "Eugene Crosser" at Oct 3, 94 04:20:38 am |
| 12 |
|
| 13 |
I have come up with some mods for cnews to allow ftn MSGID's to be created, |
| 14 |
whilst still retaining internet from addressing. Make the following mods |
| 15 |
bin/inject/anne.jones |
| 16 |
|
| 17 |
-------------------------------------------- |
| 18 |
# This should already exist |
| 19 |
if test -r $NEWSCTL/mailname; then |
| 20 |
mailname="`tr -d ' \11' <$NEWSCTL/mailname`" |
| 21 |
else |
| 22 |
mailname="`newshostname`" |
| 23 |
case "$mailname" in |
| 24 |
*.*) ;; # not a uucp host name |
| 25 |
*) mailname="$mailname.uucp" ;; # probably a uucp host name |
| 26 |
esac |
| 27 |
fi |
| 28 |
# End of the existing part |
| 29 |
# Add this after the above |
| 30 |
if test -r $NEWSCTL/ftnname; then |
| 31 |
ftnname="`tr -d ' \11' <$NEWSCTL/ftnname`" |
| 32 |
else |
| 33 |
ftnname=$mailname |
| 34 |
fi |
| 35 |
# End of the new part |
| 36 |
------------------------------------------------- |
| 37 |
|
| 38 |
Then to the end of anne.jones look for this: |
| 39 |
|
| 40 |
------------------------------------------------- |
| 41 |
awk -f $NEWSBIN/inject/defhdrs.awk defpath="$badsites$USER" deffrom="$FROM" \ |
| 42 |
deforg="$deforg" defdate="$defdate" defexpiry="$expiry" \ |
| 43 |
defmsgid="`set $date; echo \<$6$2$3.\` echo $4 | tr -d : \`.$$@$ftnname\>`" \ |
| 44 |
me="`newshostname`" $tmp |
| 45 |
------------------------------------------------- |
| 46 |
|
| 47 |
In the the line beginning " defmsgid" ends with "`.$$@$host\>`" It should be |
| 48 |
"`.$$@$ftnname" as above. Then create a file "ftnname" in your |
| 49 |
/usr/local/lib/news or equivalent, with the internet style fido address in, |
| 50 |
for example |
| 51 |
|
| 52 |
p26.f325.n250.z2.fidonet.org |
| 53 |
|
| 54 |
This should generate Message-ID:'s with the ftn address. |
| 55 |
|
| 56 |
Works for me at least! |
| 57 |
-- |
| 58 |
[email protected] |
| 59 |
[email protected] |
| 60 |
|