File: msgid-5.html

package info (click to toggle)
fidogate 4.4.7-2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 5,784 kB
  • ctags: 2,957
  • sloc: ansic: 24,413; perl: 4,932; makefile: 885; sh: 824; yacc: 662; tcl: 415
file content (88 lines) | stat: -rw-r--r-- 2,809 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
 <META NAME="GENERATOR" CONTENT="SGML-Tools 1.0.7">
 <TITLE>MSGID / Message-ID Conversion for Fido-Internet Gateways : RFC Message-ID to FTN MSGID Conversion</TITLE>
 <LINK HREF="msgid-6.html" REL=next>
 <LINK HREF="msgid-4.html" REL=previous>
 <LINK HREF="msgid.html#toc5" REL=contents>
</HEAD>
<BODY>
<A HREF="msgid-6.html">Next</A>
<A HREF="msgid-4.html">Previous</A>
<A HREF="msgid.html#toc5">Contents</A>
<HR>
<H2><A NAME="s5">5. RFC Message-ID to FTN MSGID Conversion</A></H2>

<P>
<H2><A NAME="ss5.1">5.1 NOMSGID Message-IDs </A>
</H2>

<P>
<P>Any Message-ID starting with &lt;NOMSGID...@...&gt; is NOT converted back to an FTN ^AMSGID or ^AREPLY! 
<H2><A NAME="ss5.2">5.2 Normal Message-IDs </A>
</H2>

<P>
<PRE>
Message-ID: &lt;id@do.main&gt; 
--&gt; 
^AMSGID: &lt;id@do.main&gt; abcd1234 
</PRE>
<P>RFC Message-IDs are converted by putting the entire string into the origin address part of FTN MSGID and adding a hex serial number.
<UL>
<LI>For EchoMail, the `abcd1234' hex number is a checksum computed for the concatenation of the Message-ID string and the FTN area name (upper case letters).
abcd1234 = CRC32("&lt;id@do.main&gt;" + "AREA")</LI>
<LI>For NetMail the hex number is just the checksum computed for the Message-ID string. 
abcd1234 = CRC32("&lt;id@domain&gt;")</LI>
</UL>
<P>If the Message-ID contains the characters ` ' (space) or `"', the `&lt;id@domain&gt;' string must be quoted using "..." according to FTS-0009. Any `"' within this string must be doubled.
<P>Putting the area name into the CRC32 value generates different MSGIDs for different areas, preventing nopes, if the FTN tosser does dupe checking on a global basis.  Examples:  
<PRE>
Message-ID: &lt;1991Aug9.034239.10837@bisun.nbg.sub.org&gt; 
FTN Area: DE.COMM.GATEWAYS 
--&gt; 
^AMSGID: &lt;1991Aug9.034239.10837@bisun.nbg.sub.org&gt; 9dc743f7
</PRE>
<P>
<P>
<PRE>
Message-ID: &lt;IBNTXSD@methan.chemie.fu-berlin.de&gt; 
FTN Area: GATEWAYS.GER 
--&gt; 
^AMSGID: &lt;IBNTXSD@methan.chemie.fu-berlin.de&gt; 22f000eb
</PRE>
<P>
<P>
<PRE>
Message-ID: &lt;junk" id "@illegal&gt; 
FTN Area: JUNK 
--&gt; 
^AMSGID: "&lt;junk"" id ""@illegal&gt;" 22a75d09 
</PRE>
<H2><A NAME="ss5.3">5.3 Converted FTN Message-IDs </A>
</H2>

<P>
<PRE>
Message-ID: &lt;MSGID-mimeanything_abcd1234@ftn.domain&gt; 
--&gt; 
^AMSGID: anything abcd1234 
</PRE>
<P>Reversing the rules of 3.3: 
<UL>
<LI>`_' is converted to ` ' (space).  </LI>
<LI>`=XX' is converted to the character with hex code XX.   </LI>
</UL>
<P>Examples:  
<PRE>
Message-ID: &lt;MSGID_2=3A2452=2F110.99_fedcba98@fidonet.org&gt; 
--&gt; 
^AMSGID: 2:2452/110.99 fedcba98 
</PRE>
<HR>
<A HREF="msgid-6.html">Next</A>
<A HREF="msgid-4.html">Previous</A>
<A HREF="msgid.html#toc5">Contents</A>
</BODY>
</HTML>