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 <NOMSGID...@...> 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: <id@do.main>
-->
^AMSGID: <id@do.main> 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("<id@do.main>" + "AREA")</LI>
<LI>For NetMail the hex number is just the checksum computed for the Message-ID string.
abcd1234 = CRC32("<id@domain>")</LI>
</UL>
<P>If the Message-ID contains the characters ` ' (space) or `"', the `<id@domain>' 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: <1991Aug9.034239.10837@bisun.nbg.sub.org>
FTN Area: DE.COMM.GATEWAYS
-->
^AMSGID: <1991Aug9.034239.10837@bisun.nbg.sub.org> 9dc743f7
</PRE>
<P>
<P>
<PRE>
Message-ID: <IBNTXSD@methan.chemie.fu-berlin.de>
FTN Area: GATEWAYS.GER
-->
^AMSGID: <IBNTXSD@methan.chemie.fu-berlin.de> 22f000eb
</PRE>
<P>
<P>
<PRE>
Message-ID: <junk" id "@illegal>
FTN Area: JUNK
-->
^AMSGID: "<junk"" id ""@illegal>" 22a75d09
</PRE>
<H2><A NAME="ss5.3">5.3 Converted FTN Message-IDs </A>
</H2>
<P>
<PRE>
Message-ID: <MSGID-mimeanything_abcd1234@ftn.domain>
-->
^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: <MSGID_2=3A2452=2F110.99_fedcba98@fidonet.org>
-->
^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>
|