# Post Road Mailer Mailcap File for Metamail, adapted with
# permission from the Prototype Mailcap File. Please see the
# copyright notice and comments at the end of this file.

message/partial; PRMMIME %s %{name} %{id} %{number} %{total}
audio/*; PRMMIME %s %{name}
image/*; PRMMIME %s %{name}
application/*; PRMMIME %s %{name}
text/*; PRMMIME %s %{charset}
message/delivery-status; PRMMIME %s %{name}


# Comment for Ken:
# =================
#
# The following environment variables must be set
# 
# SET MAILCAPS=d:\postroad\metamail\mailcap.prm
# SET METAMAIL_TMPDIR=d:\postroad\metamail\tmp
# 
# As soon as a file is downloaded, PRMMIME1 is called. This program does the
# following:
# 
#   reads the headers. Rule is that headers are done if the first line following
#   a blank line does not begin with a tag. I believe a tag is a first blank
#   delimited word that ends with a colon.
# 
#   if content/type tag is encountered we have a mime. Save the headers to a
#   temp file and post the following to the table:
# 
#     Call Lineout 'Table', 'MIME' HeaderName DateReceived
#     Call metamail PopFileName -x -q
# 
#   else
# 
#     Call Lineout 'Table', 'NORM' Filename DateReceived
#     address cmd 'COPY POPFileName NewName'
# 
#   end
# 
# PRMMIME2 is called by metamail from an entry in the Mailcaps.prm file.
# The sole function of PRMMINE2 is to update the table with the found
# files. The should be one or more.
# 
# Copyright (c) 1991 Bell Communications Research, Inc. (Bellcore)
# 
# Permission to use, copy, modify, and distribute this material 
# for any purpose and without fee is hereby granted, provided 
# that the above copyright notice and this permission notice 
# appear in all copies, and that the name of Bellcore not be 
# used in advertising or publicity pertaining to this 
# material without the specific, prior written permission 
# of an authorized representative of Bellcore.  BELLCORE 
# MAKES NO REPRESENTATIONS ABOUT THE ACCURACY OR SUITABILITY 
# OF THIS MATERIAL FOR ANY PURPOSE.  IT IS PROVIDED "AS IS", 
# WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES.
