home *** CD-ROM | disk | FTP | other *** search
/ HAM Radio 1 / HamRadio.cdr / packet / packetcl / smtp.doc < prev    next >
Text File  |  1988-07-06  |  1KB  |  52 lines

  1.  
  2.  
  3.         Rules for SMTP to MailBox message transfer.
  4.  
  5.  
  6.  
  7.   The directory \spool\rqueue\ is searched for files with extension WRK.
  8.   Each WRK file contains information used to construct the MailBox
  9.   message header. For each WRK file, there is an associaated TXT file
  10.   which contains the message text.
  11.  
  12.  
  13.   The first record is the source of the message. It's form is:
  14.  
  15.   "From: "callsign["@"callsign]
  16.  
  17.   The MailBox FROM field is taken from the first (or only) callsign.
  18.  
  19.  
  20.   The second record is the destination for the Message. It's form is:
  21.  
  22.   "To: "tonode["%"atnode]"@"hostnode
  23.  
  24.   tonode, atnode, and hostnode are truncated to six characters.
  25.  
  26.   The MailBox TO field is taken from tonode.
  27.   The MailBox AT field is taken from atnode, if it exists.
  28.  
  29.   The MailBox message title is taken from the RFC-822 header in
  30.   the TXT file.
  31.  
  32.  
  33.         Rules for MailBox to SMTP message transfer.
  34.  
  35.  
  36.   For each message going to smtp, a WRK and TXT file are created in the
  37.   directory \spool\mqueue. The TXT file contains an RFC-822 message header,
  38.   and the message text.
  39.  
  40.   The WRK file has 3 lines:
  41.  
  42.   desig
  43.   from"@"bbs
  44.   fwdadr
  45.  
  46.   desig  is taken from the first field of the FWD.MB entry.
  47.   from     is taken from the message FROM field.
  48.   bbs     is taken from the message AT field.
  49.      if the AT field is blank, the host callsign is used.
  50.   fwdadr is taken from the second field of the FWD.MB entry.
  51.  
  52.