Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen Revision Vorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
centos:mail_c7:horde_3 [12.09.2014 05:26. ] – [Applikation IMP] djangocentos: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 /usr/share/horde/imp/config/backends.local.php    # vim /usr/share/horde/imp/config/backends.local.php
-<file php /usr/share/horde/imp/config/backends.local.php><?php+<file php /usr/share/horde/imp/config/backends.local.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:
  
 {{ :centos:mail_c7:horde_15.png?direct&850 |Bild: Horde Webmail Anzeige nach erfolgter Anmeldung}} {{ :centos:mail_c7:horde_15.png?direct&850 |Bild: Horde Webmail Anzeige nach erfolgter Anmeldung}}
 +
 +===== 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, die bei der Installation des RPMs mitgebracht wurde.
 +   # cp -a /usr/share/horde/imp/config/mime_drivers.php /usr/share/horde/imp/config/mime_drivers.local.php
 +
 +Anschließend aktivieren wir die notwendige Konfigurationsoption **pgp_inline**.
 +   # vim /usr/share/horde/imp/config/mime_drivers.local.php
 +
 +<file php /usr/share/horde/imp/config/mime_drivers.local.php><?php
 +/**
 + * MIME Viewer configuration for IMP.
 + *
 + * Settings in this file override settings in horde/config/mime_drivers.php.
 + * 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 'vhosts' setting has been enabled in Horde's configuration, you can
 + * use mime_drivers-servername.php.
 + *
 + * Additional settings for IMP:
 +   - limit_inline_size: (integer) If present, limits the display of message
 +     data inline for large messages.  The value is the maximum number of
 +     bytes that can be shown for the part; above this limit, the user will
 +     only be able to download the part. Don't set the parameter, or set the
 +     value to 0, to disable this check.
 + */
 +
 +$mime_drivers = array(
 +    /* Plain text viewer. */
 +    'plain' => 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'
 +        )
 +    )
 +);
 +</file>
 +
 +
 +
  
 ====== Links ====== ====== Links ======
-  * **⇐ [[centos:mail_c7:horde_2|Zurück zum Kapitel "Horde Applikation imp (Webmail) konfigurieren"]]** +  * **⇐ [[centos:mail_c7:horde_2|Zurück zum Kapitel "Basiskonfiguration des Frameworks Horde 5 unter CentOS 7.x"]]** 
-  * **⇒ [[centos:mail_c7:horde_4|Weiter zum Kapitel "Horde Applikation nag (Aufgabenkonfigurieren"]]**+  * **⇒ [[centos:mail_c7:horde_4|Weiter zum Kapitel "Horde Applikation Aufgaben(-Verwaltung): Nag unter CentOS 7.x"]]**
   * **[[centos:mail_c7:start|Zurück zum Kapitel >>Mailserverinstallation unter CentOS 7<<]]**   * **[[centos:mail_c7:start|Zurück zum Kapitel >>Mailserverinstallation unter CentOS 7<<]]**
   * **[[wiki:start|Zurück zu >>Projekte und Themenkapitel<<]]**   * **[[wiki:start|Zurück zu >>Projekte und Themenkapitel<<]]**
   * **[[http://dokuwiki.nausch.org/doku.php/|Zurück zur Startseite]]**   * **[[http://dokuwiki.nausch.org/doku.php/|Zurück zur Startseite]]**
  
-~~DISCUSSION~~+
  • centos/mail_c7/horde_3.1410499576.txt.gz
  • Zuletzt geändert: 12.09.2014 05:26.
  • von django