home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / os / mswindo / apps / 6367 < prev    next >
Encoding:
Internet Message Format  |  1992-12-22  |  4.8 KB

  1. Xref: sparky comp.os.ms-windows.apps:6367 comp.protocols.tcp-ip.ibmpc:7118
  2. Newsgroups: comp.os.ms-windows.apps,comp.protocols.tcp-ip.ibmpc
  3. Path: sparky!uunet!mcsun!sunic!ugle.unit.no!alf.uib.no!usenet
  4. From: im@cmr.no (Ingolf Magnus)
  5. Subject: MSMail <--> SMTP (Was: Re: TCP/IP, WFW, ethernet, and internet mail)
  6. Message-ID: <1992Dec22.140336.9232@alf.uib.no>
  7. Sender: usenet@alf.uib.no (Bergen University Newsaccount)
  8. Organization: Christian Michelsen Research a.s., Norway
  9. References: <BxxJ1G.4vv@law7.DaytonOH.NCR.COM> <1992Dec6.230456.24802@csc.canberra.edu.au> <1fvotcINNnq8@tamsun.tamu.edu> <8892@lee.SEAS.UC <rick.104.724358768@sjsumcs.sjsu.edu>
  10. Date: Tue, 22 Dec 92 14:03:36 GMT
  11. Lines: 71
  12.  
  13. In article <rick.104.724358768@sjsumcs.sjsu.edu>, rick@sjsumcs.sjsu.edu (Richard M. Warner) says:
  14. >
  15. >In article <8892@lee.SEAS.UCLA.EDU> weiss@curtiss.seas.ucla.edu (Michael Weiss) writes:
  16.  
  17. (stuff deleted)
  18.  
  19. >>In article <1fvotcINNnq8@tamsun.tamu.edu> cmenzel@tamsun.tamu.edu (Chris Menzel) writes:
  20. >>>Will WFW allow one using a PC on a campus ethernet to use Microsoft
  21. >>>mail (which, I understand, is bundled with WFW) to send and receive
  22. >>>internet mail directly?  Thanx.
  23. >>
  24. >>The answer is "yes," IF:
  25. >>1)  a mail server is used on that LAN
  26. >>           -AND-
  27. >>2)  an Internet gateway is added to the mail server.
  28. >
  29. >I.e., the answer is NO.  Note the original question included the word
  30. >'directly' - which implies no intermediate mailer and no gateway.
  31. >>-  Michael  weiss@seas.ucla.edu   |  School of Engineering & Applied Science  -
  32. >>-   Weiss   izzydp5@oac.ucla.edu  |   University of California, Los Angeles   -
  33.  
  34. A few facts:
  35.  - MS Mail always uses a file server share name, like \\MAILHOST\MSMAIL for spooling local mail
  36.  - An organization doing Internet mail needs a separate mail server for two purposes:
  37.    (this is true for both UNIX-only and mixed UNIX/Windows networks)
  38.    - Receiving SMTP mail on behalf of all users, no matter what machine they use
  39.    - Queueing outbound mail that can't be delivered at once.
  40.  
  41. ==> There is need for both a mail server and an Internet mail host. It could be the same machine,
  42.         doing both file serving and TCP/IP comms. 
  43.  
  44. The routing of messages between MS Mail and SMTP can be done in at least two ways:
  45. 1. Installing a separete gateway PC, acting as a client to both the MSMail post office and the
  46.     SMTP mail server. This would poll and move messages between the two worlds at frequent
  47.     intervals, e.g. each 5 minutes.
  48. 2. If the PCs have TCP/IP stacks, install a Transport Service for MSMail, letting each MSMail 
  49.     instance poll for, and deliver, mail to/from the SMTP server.
  50.  
  51. Alternative 1 is available (at least in Norway) as the Microsoft SMTP Gateway product. It costs
  52. around USD 7.000,- (Yep, seven-zero-zero-zero). Or, one can purchase the FFAPI (File Format
  53. API) from MS at around USD 300,-. it consist of a large set of DOS .EXE modules that one can
  54. combine in .BAT files to construct a gateway mechanism. It can read and write directly to the
  55. MS post office, but I guess one has to write the SMTP/POP socket code oneself, in DOS.
  56.  
  57. Alternative 2 is the most elegant, and it is software-only. The Microsoft MAPI (Message API) 
  58. describes how to write a Transport Service (TS), using the SPI (Service Provider Interface, part of
  59. MAPI). The TS is written as a  .DLL, and a reference to this DLL is registered in MSMAIL.INI
  60. (or some other INI file). So, each time MSMail starts, it will ask this DLL what kind of mail it accepts,
  61. and then provide the user with a logon message for that transport (can be remembered for
  62. future logons). This would be the user's UNIX userid and password. The DLL can verify this with 
  63. the SMTP server, using POP. When logged into the tranport, MSMail will call the TS's Poll routine
  64. regularly, and the TS will in turn poll to the POP service on the mail server.
  65. At an SMTP mail arrival, the poll will say 'Yes!' and MSMail will issue calls to get the message and
  66. its properties.  The TS can retrieve the mail via POP. 
  67. Sending mail to SMTP is just as smooth: Ther users define their SMTP friends
  68. in the address book, with address SMTP/user@org.xxx instead of MSMAIL/....  The TS registed 
  69. itself as tranport for SMTP/... mails at startup, so MSMail will call it to deliver the message, with
  70. properties, body, and attachments. The TS converts useful things to ASCII, drops the rest, and
  71. delivers the mail to the SMTP server, using SMTP.  The advanced version of this would uucode
  72. attachments, and uudecode blocks in incoming mail, converting them to attachments.
  73. Of course it would be nice to use the WinSock API for SMTP and POP communications.
  74.  
  75. WELL, HAS ANYBODY DONE THIS ALREADY? I'm inspired to do it, but time doesn't allow me
  76. right now.
  77.  
  78. Btw, is the MSMail bundled with WfWG in any way crippled (as to e.g. MAPI usage), 
  79. or is it full 3.0 ?
  80.  
  81.  
  82. --Ingolf Magnus      <im@cmr.no>    
  83.