home *** CD-ROM | disk | FTP | other *** search
- #
- # Mail MIME TO MAPI Conversion Files
- #
- # Send Configuration
- #
- # Copyright (c) 1994 FTP Software, Inc. All rights reserved
- #
- # These scripts may be freely used with Mail.
- #
- # NOTE: Always leave a blank line after each encoding block
- # A line beginning with # is a comment and will be ignored
- #
- #
- # See Appendix B of the Mail manual for more information on how
- # the MIME configuration files work and are formed.
-
- #
- # This section defines the MIME system wide configuration.
- #
- # NB. This is a new addition that is not mentioned in Appendix B
- #
- [SYSTEM]
- #
- # Uncomment the next line to use uuencode as the default encoding method for all binary
- # data attachments.
- #
- #DEFAULTENCODING: X-uuencode
- #
- # Uncomment the next line and change the value to indicate which drives will automatically
- # be chosen to send attachments by reference (With the appropriate option on the attachment)
- #
- #SHAREDDRIVES: DRST
-
-
- #
- # This section defines uuencoding and how it is implemented.
- #
- #[ENCODING]
- #NAME: X-uuencode
- #DECODER: uudec %infile %outfile
- #ENCODER: uuenc %infile %{filename} %outfile
-
- #
- # This section that files that have been pre-uuencoded and named
- # with a .UUE extension are transmitted untouched.
- #
- [EXTERNAL CONV]
- MAPI: .UUE
- MIME: text/plain
- MAPItoMIME: conversion: <none>, binary: no, encoding: 7bit
- MIMEtoMAPI: conversion: <none>, match: FileExtension=".UUE"
-
- #
- # This section sends .DOC documents as an appropriate MIME type,
- # without carrying out any conversions and encodes the data using
- # the default MIME encoding
- #
- [EXTERNAL CONV]
- MAPI: .DOC
- MIME: application/msword
- MIMEtoMAPI: conversion: <none>
- MAPItoMIME: conversion: <none>, binary: yes, encoding: <default>
- #
- # The following line is an alternative MAPItoMIME conversion line
- # for .DOC files that encodes the data using uuencode.
- #
- #MAPItoMIME: conversion: <none>, binary: yes, encoding: X-uuencode
-
-
- #
- # The following two sections define conversions that send
- # non-text textual data in a form that can be read by non
- # MIME mailers.
- #
- # Firstly for .INI files:
- #
- [EXTERNAL CONV]
- MIME: application/octet-stream
- MAPI: .INI
- MAPItoMIME: conversion: <none>, encoding: 7bit
-
- #
- # And secondly for .LOG files:
- #
- [EXTERNAL CONV]
- MIME: application/octet-stream
- MAPI: .LOG
- MAPItoMIME: conversion: <none>, encoding: 7bit
-
-
- #
- # The following sections define conversions for certain comman certain file
- # extensions and their corresponding MIME type.
- #
- # Firstly for WordPerfect .WP files:
- #
- [EXTERNAL CONV]
- MIME: application/wordperfect5.1
- MAPI: .WP
- MAPItoMIME: conversion: <none>, binary: yes, encoding: <default>
- MIMEtoMAPI: conversion: <none>
-
- #
- # And for Zip Files:
- #
- [EXTERNAL CONV]
- MIME: application/zip
- MAPI: .ZIP
- MAPItoMIME: conversion: <none>, binary: yes, encoding: <default>
- MIMEtoMAPI: conversion: <none>
-
- #
- # And for Tiff image .TIF files:
- #
- [EXTERNAL CONV]
- MIME: image/tiff
- MAPI: .TIF
- MAPItoMIME: conversion: <none>, binary: yes, encoding: <default>
- MIMEtoMAPI: conversion: <none>
-
-
- #
- # And for Richtext format .RTF files:
- #
- [EXTERNAL CONV]
- MIME: application/rtf
- MAPI: .RTF
- MIMEtoMAPI: conversion: <none>
- MAPItoMIME: conversion: <none>, encoding: 7bit
-
- #
- # This section gives an example of how .VOC files could be sent
- # and recieved as the basic MIME audio type.
- #
- #[EXTERNAL CONV]
- #MIME: audio/basic
- #MAPI: .VOC
- #MIMEtoMAPI: conversion: sox -t .ul %infile %outfile
- #MAPItoMIME: conversion: sox %infile -t .ul %outfile, binary: yes, encoding: <default>
-
- #
- # END
- #
-