home *** CD-ROM | disk | FTP | other *** search
/ Freesoft 1999 February / Freesoft_1999-02_cd.bin / Intexpl / 20czw3x / IEW31_2.CAB / MSGSTORE.PRF < prev    next >
Text File  |  1996-06-18  |  4KB  |  155 lines

  1. #       Mail MIME TO MAPI Conversion Files
  2. #       
  3. #       Message Store Configuration
  4. #
  5. #       Copyright (c) 1994 FTP Software, Inc. All rights reserved
  6. #
  7. #       These scripts may be freely used with Mail.
  8. #
  9. #       NOTE:  Always leave a blank line after each encoding block
  10. #           A line beginning with # is a comment and will be ignored
  11. #
  12. #
  13. #       See Appendix B of the Mail manual for more information on how
  14. #    the MIME configuration files work and are formed.
  15.  
  16.  
  17. #
  18. # This section defines the MIME system wide configuration
  19. #
  20. # NB. This is a new addition that is not mentioned in Appendix B
  21. #
  22. [SYSTEM]
  23. #
  24. # Uncomment the next line and change the value to indicate which drives will automatically
  25. # be chosen to send attachments by reference (With the appropriate option on the attachment)
  26. #
  27. #SHAREDDRIVES: DRST
  28.  
  29.  
  30. #
  31. #       This section defines uuencoding and how it is implemented.
  32. #
  33. [ENCODING]
  34. NAME:           X-uuencode
  35. DECODER:        uudec %infile %outfile
  36. ENCODER:        uuenc %infile %{filename} %outfile
  37.  
  38. #
  39. #       This section that files that have been pre-uuencoded and named
  40. #       with a .UUE extension are transmitted untouched.
  41. #
  42. [EXTERNAL CONV]
  43. MAPI:           .UUE
  44. MIME:           text/plain
  45. MAPItoMIME:     conversion: <none>, binary: no, encoding: 7bit
  46. MIMEtoMAPI:     conversion: <none>, match: FileExtension=".UUE"
  47.  
  48. #
  49. #       This section sends .DOC documents as an appropriate MIME type, 
  50. #       without carrying out any conversions and encodes the data using
  51. #       the default MIME encoding
  52. #
  53. [EXTERNAL CONV]
  54. MAPI:        .DOC
  55. MIME:        application/msword
  56. MIMEtoMAPI:    conversion: <none>
  57. MAPItoMIME:    conversion: <none>, binary: yes, encoding: <default>
  58. #
  59. #    The following line is an alternative MAPItoMIME conversion line
  60. #    for .DOC files that encodes the data using uuencode.
  61. #
  62. #MAPItoMIME:    conversion: <none>, binary: yes, encoding: X-uuencode
  63.  
  64.  
  65. #
  66. #        The following two sections define conversions that send
  67. #        non-text textual data in a form that can be read by non
  68. #        MIME mailers.
  69. #
  70. #        Firstly for .INI files:
  71. #
  72. [EXTERNAL CONV]
  73. MIME:          application/octet-stream
  74. MAPI:          .INI
  75. MAPItoMIME:    conversion: <none>, encoding: 7bit
  76.  
  77. #
  78. #        And secondly for .LOG files:
  79. #
  80. [EXTERNAL CONV]
  81. MIME:          application/octet-stream
  82. MAPI:          .LOG
  83. MAPItoMIME:    conversion: <none>, encoding: 7bit
  84.  
  85.  
  86. #
  87. #   This section defines the conversion that must be carried out to decode 
  88. #   Mac BinHex 4.0 encoded MIME parts. 
  89. #
  90. #   Note: The omission of the MAPI: field means that the data type cannot be
  91. #         determined by the MIME type and should be obtained from other information
  92. #         given to the part (via MIME parameters) - This is a change from what
  93. #         is written in Appendix B.
  94. #
  95. #
  96. [EXTERNAL CONV]
  97. MIME:          application/mac-binhex40
  98. MIMEtoMAPI:    conversion: hex40bin %infile %outfile
  99.  
  100.  
  101. #
  102. #    The following sections define conversions for certain comman certain file 
  103. #    extensions and their corresponding MIME type.
  104. #
  105. #    Firstly for WordPerfect .WP files:
  106. #
  107. [EXTERNAL CONV]
  108. MIME:          application/wordperfect5.1
  109. MAPI:          .WP
  110. MAPItoMIME:    conversion: <none>, binary: yes, encoding: <default>
  111. MIMEtoMAPI:    conversion: <none>
  112.                
  113. #
  114. #    And for Zip Files:
  115. #               
  116. [EXTERNAL CONV]
  117. MIME:          application/zip
  118. MAPI:          .ZIP
  119. MAPItoMIME:    conversion: <none>, binary: yes, encoding: <default>
  120. MIMEtoMAPI:    conversion: <none>
  121.                                  
  122.  
  123. #
  124. #    And for Tiff image .TIF files:                                 
  125. #
  126. [EXTERNAL CONV]
  127. MIME:          image/tiff
  128. MAPI:          .TIF
  129. MAPItoMIME:    conversion: <none>, binary: yes, encoding: <default>
  130. MIMEtoMAPI:    conversion: <none>
  131.  
  132. #
  133. #    And for Richtext format .RTF files:
  134. #
  135. [EXTERNAL CONV]
  136. MIME:          application/rtf
  137. MAPI:          .RTF
  138. MIMEtoMAPI:    conversion: <none>
  139. MAPItoMIME:    conversion: <none>, encoding: 7bit
  140.  
  141. #
  142. #    This section gives an example of how .VOC files could be sent 
  143. #    and recieved as the basic MIME audio type.
  144. #
  145. #[EXTERNAL CONV]
  146. #MIME:        audio/basic
  147. #MAPI:        .VOC
  148. #MIMEtoMAPI:    conversion: sox -t .ul %infile %outfile
  149. #MAPItoMIME:    conversion: sox %infile -t .ul %outfile, binary: yes, encoding: <default>
  150.                                 
  151. #
  152. #       END
  153. #
  154.