| 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML//EN"> |
| 2 | <html> |
| 3 | <head> |
| 4 | <title>MHonArc Resources: MIMEEXCS</title> |
| 5 | </head> |
| 6 | <body> |
| 7 | <!--x-rc-nav--> |
| 8 | <table border=0><tr valign="top"> |
| 9 | <td align="left" width="50%">[Prev: <a href="mimedecoders.html">MIMEDECODERS</a>]</td><td><nobr>[<a href="../resources.html#mimeexcs">Resources</a>][<a href="../mhonarc.html">TOC</a>]</nobr></td><td align="right" width="50%">[Next: <a href="mimefilters.html">MIMEFILTERS</a>]</td></tr></table> |
| 10 | <!--/x-rc-nav--> |
| 11 | <hr> |
| 12 | <h1>MIMEEXCS</h1> |
| 13 | |
| 14 | <!-- *************************************************************** --> |
| 15 | <hr> |
| 16 | <h2>Syntax</h2> |
| 17 | |
| 18 | <dl> |
| 19 | |
| 20 | <dt><strong>Envariable</strong></dt> |
| 21 | <dd><p>N/A |
| 22 | </p> |
| 23 | </dd> |
| 24 | |
| 25 | <dt><strong>Element</strong></dt> |
| 26 | <dd><p> |
| 27 | <code><MIMEEXCS></code><br> |
| 28 | <var>content-type</var><br> |
| 29 | <var>content-type</var><br> |
| 30 | ... |
| 31 | <code></MIMEEXCS></code><br> |
| 32 | </p> |
| 33 | </dd> |
| 34 | |
| 35 | <dt><strong>Command-line Option</strong></dt> |
| 36 | <dd><p>N/A |
| 37 | </p> |
| 38 | </dd> |
| 39 | |
| 40 | </dl> |
| 41 | |
| 42 | <!-- *************************************************************** --> |
| 43 | <hr> |
| 44 | <h2>Description</h2> |
| 45 | |
| 46 | <p>MIMEEXCS defines the list of content-types to exclude from processing. |
| 47 | The exclusion occurs before the data is processed to any filters |
| 48 | registered via the <a href="mimefilters.html">MIMEFILTERS</a> resource. |
| 49 | If a message body part is excluded, the converted message will have |
| 50 | a note that the part was excluded. |
| 51 | </p> |
| 52 | <table border=0 cellpadding=4> |
| 53 | <tr valign=top> |
| 54 | <td><strong>NOTE</strong></td> |
| 55 | <td><p>Base types can also be listed to exclude all content-types |
| 56 | with a give base. For example, <tt>image/jpg</tt> will only exclude |
| 57 | JPEG images, but <tt>image</tt> will exclude all images. |
| 58 | </p> |
| 59 | </td> |
| 60 | </tr> |
| 61 | </table> |
| 62 | |
| 63 | <!-- *************************************************************** --> |
| 64 | <hr> |
| 65 | <h2>Default Setting</h2> |
| 66 | |
| 67 | <p>Nil. |
| 68 | </p> |
| 69 | |
| 70 | <!-- *************************************************************** --> |
| 71 | <hr> |
| 72 | <h2>Resource Variables</h2> |
| 73 | |
| 74 | <p>N/A |
| 75 | </p> |
| 76 | |
| 77 | <!-- *************************************************************** --> |
| 78 | <hr> |
| 79 | <h2>Examples</h2> |
| 80 | |
| 81 | <p>The following example excludes all binaries, images, and postscript |
| 82 | data: |
| 83 | </p> |
| 84 | <pre> |
| 85 | <b><MIMEExcs></b> |
| 86 | application/octet-stream |
| 87 | application/postscript |
| 88 | image |
| 89 | <b></MIMEExcs></b> |
| 90 | </pre> |
| 91 | |
| 92 | <p>The following is a very restrictive setting to minimize archive |
| 93 | exploits and large data files: |
| 94 | </p> |
| 95 | <pre> |
| 96 | <b><MIMEExcs></b> |
| 97 | application |
| 98 | image |
| 99 | audio |
| 100 | video |
| 101 | text/html |
| 102 | <b></MIMEExcs></b> |
| 103 | </pre> |
| 104 | |
| 105 | <!-- *************************************************************** --> |
| 106 | <hr> |
| 107 | <h2>Version</h2> |
| 108 | |
| 109 | <p>2.4.9 |
| 110 | </p> |
| 111 | |
| 112 | <!-- *************************************************************** --> |
| 113 | <hr> |
| 114 | <h2>See Also</h2> |
| 115 | |
| 116 | <p> |
| 117 | <a href="mimefilters.html">MIMEFILTERS</a> |
| 118 | </p> |
| 119 | |
| 120 | <!-- *************************************************************** --> |
| 121 | <hr> |
| 122 | <!--x-rc-nav--> |
| 123 | <table border=0><tr valign="top"> |
| 124 | <td align="left" width="50%">[Prev: <a href="mimedecoders.html">MIMEDECODERS</a>]</td><td><nobr>[<a href="../resources.html#mimeexcs">Resources</a>][<a href="../mhonarc.html">TOC</a>]</nobr></td><td align="right" width="50%">[Next: <a href="mimefilters.html">MIMEFILTERS</a>]</td></tr></table> |
| 125 | <!--/x-rc-nav--> |
| 126 | <hr> |
| 127 | <address> |
| 128 | $Date: 2002/07/27 05:13:10 $ <br> |
| 129 | <img align="top" src="../monicon.png" alt=""> |
| 130 | <a href="http://www.mhonarc.org/" |
| 131 | ><strong>MHonArc</strong></a><br> |
| 132 | Copyright © 2001, <a href="http://www.mhonarc.org/~ehood" |
| 133 | >Earl Hood</a>, <a href="mailto:mhonarc@mhonarc.org" |
| 134 | >mhonarc@mhonarc.org</a><br> |
| 135 | </address> |
| 136 | |
| 137 | </body> |
| 138 | </html> |