Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
| Beide Seiten der vorigen Revision Vorhergehende Überarbeitung Nächste Überarbeitung | Vorhergehende Überarbeitung | ||
| centos:mail_c7:horde_3 [12.09.2014 05:26. ] – [Applikation IMP] django | centos:mail_c7:horde_3 [22.07.2019 15:04. ] (aktuell) – Externe Bearbeitung 127.0.0.1 | ||
|---|---|---|---|
| Zeile 949: | Zeile 949: | ||
| Als erstes deaktivieren wir den ersten Standardeintrag und ergänzen dann den Eintrag für die Anbindung an unseren Dovecot-IMAP-Server. | Als erstes deaktivieren wir den ersten Standardeintrag und ergänzen dann den Eintrag für die Anbindung an unseren Dovecot-IMAP-Server. | ||
| # vim / | # vim / | ||
| - | <file php / | + | <file php / |
| /** | /** | ||
| * This file specifies which mail servers IMP can login to. | * This file specifies which mail servers IMP can login to. | ||
| Zeile 1567: | Zeile 1567: | ||
| {{ : | {{ : | ||
| + | |||
| + | ===== MIME-Types und PGP-Inline ===== | ||
| + | Da wir beim Lesen unserer Nachrichten auch out-of-the-box verschlüsselte Nachrichten lesen können, müssen wir unserer Applikation **IMP** noch mitteilen, wie es mit PGP verschlüsselte Nachrichten umgehen soll. Bewährt hat sich hier das Scannen des Mail-Body und bei entsprechend verschlüsselten Inhalten, die PGP Passphrase abzufragen, damit die Nachricht direkt angezeigt werden kann. | ||
| + | |||
| + | Hierzu kopieren wir die Musterkonfigurationsdatei, | ||
| + | # cp -a / | ||
| + | |||
| + | Anschließend aktivieren wir die notwendige Konfigurationsoption **pgp_inline**. | ||
| + | # vim / | ||
| + | |||
| + | <file php / | ||
| + | /** | ||
| + | * MIME Viewer configuration for IMP. | ||
| + | * | ||
| + | * Settings in this file override settings in horde/ | ||
| + | * All drivers configured in that file, but not configured here, will also | ||
| + | * be used to display MIME content. | ||
| + | * | ||
| + | * IMPORTANT: DO NOT EDIT THIS FILE! | ||
| + | * Local overrides MUST be placed in mime_drivers.local.php or mime_drivers.d/ | ||
| + | * If the ' | ||
| + | * use mime_drivers-servername.php. | ||
| + | * | ||
| + | * Additional settings for IMP: | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | */ | ||
| + | |||
| + | $mime_drivers = array( | ||
| + | /* Plain text viewer. */ | ||
| + | ' | ||
| + | ' | ||
| + | ' | ||
| + | ' | ||
| + | ' | ||
| + | ' | ||
| + | ), | ||
| + | |||
| + | ' | ||
| + | |||
| + | /* 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: ' | ||
| + | ' | ||
| + | |||
| + | /* 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. */ | ||
| + | ' | ||
| + | ), | ||
| + | |||
| + | /* HTML driver settings */ | ||
| + | ' | ||
| + | /* NOTE: Inline HTML display is turned OFF by default. */ | ||
| + | ' | ||
| + | ' | ||
| + | ' | ||
| + | ), | ||
| + | ' | ||
| + | ' | ||
| + | ), | ||
| + | |||
| + | ' | ||
| + | |||
| + | /* Check for phishing exploits? */ | ||
| + | ' | ||
| + | ), | ||
| + | |||
| + | /* Default smil driver. */ | ||
| + | ' | ||
| + | ' | ||
| + | ' | ||
| + | ' | ||
| + | ) | ||
| + | ), | ||
| + | |||
| + | /* Image display. */ | ||
| + | ' | ||
| + | ' | ||
| + | ' | ||
| + | ' | ||
| + | ), | ||
| + | |||
| + | /* Display images inline that are less than this size (in bytes). */ | ||
| + | ' | ||
| + | |||
| + | /* Display image thumbnails? */ | ||
| + | ' | ||
| + | |||
| + | /* 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. */ | ||
| + | ' | ||
| + | ), | ||
| + | |||
| + | /* Enriched text display. */ | ||
| + | ' | ||
| + | ' | ||
| + | ' | ||
| + | ' | ||
| + | ), | ||
| + | ' | ||
| + | ' | ||
| + | ) | ||
| + | ), | ||
| + | |||
| + | /* PDF display. */ | ||
| + | ' | ||
| + | ' | ||
| + | ' | ||
| + | ' | ||
| + | ' | ||
| + | ), | ||
| + | ' | ||
| + | ' | ||
| + | ), | ||
| + | |||
| + | /* Display PDF thumbnails? */ | ||
| + | ' | ||
| + | ), | ||
| + | |||
| + | /* PGP (Pretty Good Privacy) display. */ | ||
| + | ' | ||
| + | ' | ||
| + | ' | ||
| + | ' | ||
| + | ' | ||
| + | ' | ||
| + | ), | ||
| + | ' | ||
| + | ' | ||
| + | ) | ||
| + | ), | ||
| + | |||
| + | /* S/MIME display. */ | ||
| + | ' | ||
| + | ' | ||
| + | ' | ||
| + | ' | ||
| + | ' | ||
| + | ' | ||
| + | ' | ||
| + | ), | ||
| + | ' | ||
| + | ' | ||
| + | ) | ||
| + | ), | ||
| + | |||
| + | /* vCard display. */ | ||
| + | ' | ||
| + | ' | ||
| + | ' | ||
| + | ' | ||
| + | ' | ||
| + | ' | ||
| + | ), | ||
| + | ' | ||
| + | ' | ||
| + | ) | ||
| + | ), | ||
| + | |||
| + | /* Zip file display. */ | ||
| + | ' | ||
| + | ' | ||
| + | ' | ||
| + | ' | ||
| + | ' | ||
| + | ), | ||
| + | ' | ||
| + | ' | ||
| + | ) | ||
| + | ), | ||
| + | |||
| + | /* Delivery status messages display. */ | ||
| + | ' | ||
| + | ' | ||
| + | ' | ||
| + | ' | ||
| + | ) | ||
| + | ), | ||
| + | |||
| + | /* Message Disposition Notification (MDN) display. */ | ||
| + | ' | ||
| + | ' | ||
| + | ' | ||
| + | ' | ||
| + | ) | ||
| + | ), | ||
| + | |||
| + | /* Appledouble message display. */ | ||
| + | ' | ||
| + | ' | ||
| + | ' | ||
| + | ' | ||
| + | ), | ||
| + | ' | ||
| + | ' | ||
| + | ) | ||
| + | ), | ||
| + | |||
| + | /* ITIP (iCalendar Transport-Independent Interoperability Protocol) | ||
| + | * display. */ | ||
| + | ' | ||
| + | ' | ||
| + | ' | ||
| + | ' | ||
| + | ' | ||
| + | ), | ||
| + | ' | ||
| + | ' | ||
| + | ), | ||
| + | |||
| + | /* How event replies are handled when a user opens the message. | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | ' | ||
| + | |||
| + | /* How free/busy publish data is handled when a user opens the | ||
| + | * message. | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | ' | ||
| + | |||
| + | /* How free/busy replies are handled when a user opens the message. | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | ' | ||
| + | ), | ||
| + | |||
| + | /* Audio data. */ | ||
| + | ' | ||
| + | ' | ||
| + | ' | ||
| + | ), | ||
| + | ' | ||
| + | ' | ||
| + | ) | ||
| + | ), | ||
| + | |||
| + | /* Video data. */ | ||
| + | ' | ||
| + | ' | ||
| + | ' | ||
| + | ), | ||
| + | ' | ||
| + | ' | ||
| + | ), | ||
| + | |||
| + | /* Display video thumbnails? */ | ||
| + | ' | ||
| + | |||
| + | /* REQUIRED for thumbnails: location of ffmpeg binary. | ||
| + | * http:// | ||
| + | ' | ||
| + | ), | ||
| + | |||
| + | /* Alternative part display. | ||
| + | * YOU SHOULD NOT NORMALLY ALTER THIS SETTING. */ | ||
| + | ' | ||
| + | ' | ||
| + | ' | ||
| + | ' | ||
| + | ) | ||
| + | ), | ||
| + | |||
| + | /* Related part display. | ||
| + | * YOU SHOULD NOT NORMALLY ALTER THIS SETTING. */ | ||
| + | ' | ||
| + | ' | ||
| + | ' | ||
| + | ' | ||
| + | ), | ||
| + | ' | ||
| + | ' | ||
| + | ) | ||
| + | ), | ||
| + | |||
| + | /* Partial parts display. | ||
| + | * YOU SHOULD NOT NORMALLY ALTER THIS SETTING. */ | ||
| + | ' | ||
| + | ' | ||
| + | ' | ||
| + | ) | ||
| + | ), | ||
| + | |||
| + | /* Digest message (RFC 2046 [5.2.1]) display. | ||
| + | * YOU SHOULD NOT NORMALLY ALTER THIS SETTING. */ | ||
| + | ' | ||
| + | ' | ||
| + | ' | ||
| + | ' | ||
| + | ) | ||
| + | ), | ||
| + | |||
| + | /* External-body (RFC 2046 [5.2.3]) display. | ||
| + | * YOU SHOULD NOT NORMALLY ALTER THIS SETTING. */ | ||
| + | ' | ||
| + | ' | ||
| + | ' | ||
| + | ) | ||
| + | ) | ||
| + | ); | ||
| + | </ | ||
| + | |||
| + | |||
| + | |||
| ====== Links ====== | ====== Links ====== | ||
| - | * **⇐ [[centos: | + | * **⇐ [[centos: |
| - | * **⇒ [[centos: | + | * **⇒ [[centos: |
| * **[[centos: | * **[[centos: | ||
| * **[[wiki: | * **[[wiki: | ||
| * **[[http:// | * **[[http:// | ||
| - | ~~DISCUSSION~~ | + | |