array( 'inline' => true, 'handles' => array( 'application/pgp', 'text/plain', 'text/rfc822-headers' ), 'limit_inline_size' => 1048576, /* Scans the text for inline PGP data. If true, will strip this data * out of the output (and, if PGP is active, will display the * results of the PGP action). */ // Django : 2015-01-19 // default: 'pgp_inline' => false, 'pgp_inline' => true, /* If you want to scan ALL incoming text/plain messages for UUencoded * data, set the following to true. This is very performance intensive * and can take a long time for large messages. It is not recommended * (as UUencoded data is rare these days) and is disabled by * default. */ 'uudecode' => false ), /* HTML driver settings */ 'html' => array( /* NOTE: Inline HTML display is turned OFF by default. */ 'inline' => false, 'handles' => array( 'text/html' ), 'icons' => array( 'default' => 'html.png' ), 'limit_inline_size' => 1048576, /* Check for phishing exploits? */ 'phishing_check' => true ), /* Default smil driver. */ 'smil' => array( 'inline' => true, 'handles' => array( 'application/smil' ) ), /* Image display. */ 'images' => array( 'inline' => true, 'handles' => array( 'image/*' ), /* Display images inline that are less than this size (in bytes). */ 'inlinesize' => 262144, /* Display image thumbnails? */ 'thumbnails' => true, /* If displaying image thumbnails, send thumbnail data with the * base message data? This saves server accesses (1 for each thumbnail * generated in a message) at the expense that ALL thumbnails for a * message need to be generated before the message can be viewed. */ 'thumbnails_dataurl' => false ), /* Enriched text display. */ 'enriched' => array( 'inline' => true, 'handles' => array( 'text/enriched' ), 'icons' => array( 'default' => 'text.png' ) ), /* PDF display. */ 'pdf' => array( 'handles' => array( 'application/pdf', 'application/x-pdf', 'image/pdf' ), 'icons' => array( 'default' => 'pdf.png' ), /* Display PDF thumbnails? */ 'thumbnails' => true ), /* PGP (Pretty Good Privacy) display. */ 'pgp' => array( 'inline' => true, 'handles' => array( 'application/pgp-encrypted', 'application/pgp-keys', 'application/pgp-signature' ), 'icons' => array( 'default' => 'encryption.png' ) ), /* S/MIME display. */ 'smime' => array( 'inline' => true, 'handles' => array( 'application/x-pkcs7-signature', 'application/x-pkcs7-mime', 'application/pkcs7-signature', 'application/pkcs7-mime' ), 'icons' => array( 'default' => 'encryption.png' ) ), /* vCard display. */ 'vcard' => array( 'inline' => true, 'handles' => array( 'text/directory', 'text/vcard', 'text/x-vcard' ), 'icons' => array( 'default' => 'vcard.png' ) ), /* Zip file display. */ 'zip' => array( 'handles' => array( 'application/x-compressed', 'application/x-zip-compressed', 'application/zip' ), 'icons' => array( 'default' => 'compressed.png' ) ), /* Delivery status messages display. */ 'status' => array( 'inline' => true, 'handles' => array( 'message/delivery-status' ) ), /* Message Disposition Notification (MDN) display. */ 'mdn' => array( 'inline' => true, 'handles' => array( 'message/disposition-notification' ) ), /* Appledouble message display. */ 'appledouble' => array( 'inline' => true, 'handles' => array( 'multipart/appledouble' ), 'icons' => array( 'default' => 'apple.png' ) ), /* ITIP (iCalendar Transport-Independent Interoperability Protocol) * display. */ 'itip' => array( 'inline' => true, 'handles' => array( 'text/calendar', 'text/x-vcalendar' ), 'icons' => array( 'default' => 'itip.png' ), /* How event replies are handled when a user opens the message. * - false: Reply status is never automatically updated; requires * explicit action by the user. * - true: Reply status is always automatically updated. * - Array: An array of domains for which replies are always * automatically updated. All other domains require the * reply status to be explicitly updated by user action. */ 'auto_update_eventreply' => false, /* How free/busy publish data is handled when a user opens the * message. * - false: Free/busy data is never automatically updated; requires * explicit action by the user. * - true: Free/busy data is always automatically updated. * - Array: An array of domains for which free/busy data is always * automatically updated. All other domains require the * free/busy data to be explicitly updated by user * action. */ 'auto_update_fbpublish' => false, /* How free/busy replies are handled when a user opens the message. * - false: Free/busy data is never automatically updated; requires * explicit action by the user. * - true: Free/busy data is always automatically updated. * - Array: An array of domains for which free/busy data is always * automatically updated. All other domains require the * free/busy data to be explicitly updated by user * action. */ 'auto_update_fbreply' => false ), /* Audio data. */ 'audio' => array( 'handles' => array( 'audio/*' ), 'icons' => array( 'default' => 'audio.png' ) ), /* Video data. */ 'video' => array( 'handles' => array( 'video/*' ), 'icons' => array( 'default' => 'video.png' ), /* Display video thumbnails? */ 'thumbnails' => true, /* REQUIRED for thumbnails: location of ffmpeg binary. * http://ffmpeg.org/ */ 'ffmpeg' => '/usr/bin/ffmpeg' ), /* Alternative part display. * YOU SHOULD NOT NORMALLY ALTER THIS SETTING. */ 'alternative' => array( 'inline' => true, 'handles' => array( 'multipart/alternative' ) ), /* Related part display. * YOU SHOULD NOT NORMALLY ALTER THIS SETTING. */ 'related' => array( 'inline' => true, 'handles' => array( 'multipart/related' ), 'icons' => array( 'default' => 'html.png' ) ), /* Partial parts display. * YOU SHOULD NOT NORMALLY ALTER THIS SETTING. */ 'partial' => array( 'handles' => array( 'message/partial' ) ), /* Digest message (RFC 2046 [5.2.1]) display. * YOU SHOULD NOT NORMALLY ALTER THIS SETTING. */ 'rfc822' => array( 'handles' => array( 'message/rfc822', 'x-extension/eml' ) ), /* External-body (RFC 2046 [5.2.3]) display. * YOU SHOULD NOT NORMALLY ALTER THIS SETTING. */ 'externalbody' => array( 'handles' => array( 'message/external-body' ) ) );