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
Nächste ÜberarbeitungBeide Seiten der Revision
centos:mail_c7:horde_3 [20.09.2014 21:49. ] – [Links] djangocentos:mail_c7:horde_3 [04.05.2015 17:18. ] – [Konfiguration des Backend-/IMAP-Server] django
Zeile 1292: Zeile 1292:
  * timeout: (integer) Set the server timeout (in seconds).  * timeout: (integer) Set the server timeout (in seconds).
  */  */
- 
-/* Example configurations: */ 
  
 // IMAP server // IMAP server
-$servers['imap'] = array( +// ENABLED by default; will connect to IMAP port on local server 
-    // ENABLED by default; will connect to IMAP port on local server +// Django : 2014-09-11 
-    // Django : 2014-09-11 +// default: 'disabled' => false, 
-    // default: 'disabled' => false, +$servers['imap']['disabled'= true;
-    'disabled' => true, +
-    'name' => 'IMAP Server', +
-    'hostspec' => 'localhost', +
-    'hordeauth' => false, +
-    'protocol' => 'imap', +
-    'port' => 143, +
-    // Plaintext logins are disabled by default on IMAP servers (see RFC 3501 +
-    // [6.2.3]), so TLS is the only guaranteed authentication available by +
-    // default. +
-    'secure' => 'tls', +
-); +
- +
- +
-// POP3 server +
-$servers['pop'= array( +
-    // Disabled by default +
-    'disabled' =true+
-    'name' => 'POP3 Server', +
-    'hostspec' => 'localhost', +
-    'hordeauth' => false, +
-    'protocol' => 'pop3', +
-    'port' => 110, +
-    // Default to secure TLS authentication by default (see RFC 2595 [4]). +
-    'secure' => 'tls', +
-); +
  
 // Advanced example - mainly here to demonstrate the syntax of all available // Advanced example - mainly here to demonstrate the syntax of all available
 // options. // options.
-$servers['advanced'] = array( +// Disabled by default 
-    // Disabled by default +// Django : 2014-09-11 
-    // Django : 2014-09-11 +// default: 'disabled' => true, 
-    // default: 'disabled' => true, +$servers['advanced']['disabled'= false; 
-    'disabled' =false, +$servers['advanced']['name'= 'Advanced Dovecot IMAP Server'; 
-    // default: 'name=> 'Advanced IMAP Server', +$servers['advanced']['hostspec'= 'imap.dmz.nausch.org'; 
-    'name' ='Advanced Dovecot IMAP Server', +$servers['advanced']['hordeauth'= 'full' 
-    // default: 'hostspec=> 'localhost', +$servers['advanced']['protocol'= 'imap'; 
-    'hostspec' ='imap.dmz.nausch.org', +$servers['advanced']['port'= 143; 
-    // default: 'hordeauth=> false, +$servers['advanced']['secure'= 'tls'; 
-    'hordeauth' ='full', +$servers['advanced']['maildomain'= 'nausch.org'; 
-    'protocol' ='imap', +$servers['advanced']['smtp']['host'= 'vml000087.dmz.nausch.org'; 
-    'port' =143, +$servers['advanced']['smtp']['localhost'= 'vml000097.dmz.nausch.org'; 
-    'secure' ='tls', +$servers['advanced']['smtp']['port'25; 
-    // default: 'maildomain=> '', +$servers['advanced']['acl'= true; 
-    'maildomain' ='nausch.org', +$servers['advanced']['cache'= false; 
-    'smtp=> array( +$servers['advanced']['quota']['driver'= 'imap'; 
-    //    'auth=> true, +$servers['advanced']['quota']['params']['hide_when_unlimited'= false; 
-    //    'debug' => false, +$servers['advanced']['quota']['params']['unit'= 'MB'; 
-    //    'horde_auth' => false, +$servers['advanced']['quota']['params']['format']['short'= 'Quota Status: %.0f%% bei einer Belegung von %.0f %s'; 
-    //    'host' ='smtp.example.com', +$servers['advanced']['autocreate_special'=> false;
-    //    'lmtp' => false, +
-    //    'localhost' => 'localhost', +
-    //    'password' => null, +
-    //    /* Mail from a MUA SHOULD be sent via the mail submission port (587) +
-    //     * rather than the MTA port (25)(See RFC 6409/STD 72). +
-    //     * Note that mail submission REQUIRES some method of authentication +
-    //     * (whether explicit user/password credentials or configuring the +
-    //     * mail submission agent to automatically authenticate this host +
-    //     * based on the network location). */ +
-    //    'port' => 587, +
-    //    'username=> null +
-    //    default: unset +
-    'host' => 'smtp.dmz.nausch.org'+
-    'localhost' ='vml000097.dmz.nausch.org', +
-    'port=> 25, +
-    ), +
-    'spam=> array( +
-        // 'innocent' => array( +
-        //     'display=> true, +
-        // +
-        //     // Email reporting driver +
-        //     'email' => null, +
-        //     'email_format' => 'digest', +
-        // +
-        //     // Null reporting driver +
-        //     'null' => true, +
-        // +
-        //     // Program reporting driver +
-        //     'program=> null +
-        // ), +
-        // 'spam' => array( +
-        //     'display' => false, +
-        // +
-        //     // Email reporting driver +
-        //     'email=> null, +
-        //     'email_format=> 'digest', +
-        // +
-        //     // Null reporting driver +
-        //     'null' => true, +
-        // +
-        //     // Program reporting driver +
-        //     'program=> null +
-        // ), +
-        // // It is possible to directly define additional spam drivers. +
-        // // The 'driversarray should contain a list of driver objects +
-        // // (these classes must implement the IMP_Spam_Base class). +
-        // 'drivers=> array( +
-        //     new IMP_Example_Spam_Driver() +
-        // ) +
-    ), +
-    'admin=> array( +
-    //     'user' => 'cyrus', +
-    //     'password' => 'cyrus_pass', +
-    //     'userhierarchy' => 'user.' +
-    ), +
-    'acl' => true, +
-    'cache' => false, +
-    // 'debug=> '/tmp/imp_imap.log', +
-    // 'debug_raw' => false, +
-    'quota' => array( +
-        'driver' => 'imap', +
-        'params' => array( +
-            // default : 'hide_when_unlimited' => true, +
-            'hide_when_unlimited=> false, +
-            // default : 'unit=> 'MB' +
-            'unit=> 'MB', +
-            // default : unset +
-            'format' => array('short' ='Quota Status: %.0f%% bei einer Belegung von %.0f %s') +
-        ) +
-    ), +
-    'special_mboxes=> array( +
-    //     IMP_Mailbox::MBOX_DRAFTS => 'Drafts', +
-    //     IMP_Mailbox::MBOX_SENT => 'Sent', +
-    //     IMP_Mailbox::MBOX_SPAM => 'Spam', +
-    //     IMP_Mailbox::MBOX_TEMPLATES => 'Templates', +
-    //     IMP_Mailbox::MBOX_TRASH => 'Trash', +
-    //     IMP_Mailbox::MBOX_USERSPECIAL => array( +
-    //         'Example' => _("Example Special Mailbox"+
-    //     ) +
-    ), +
-    'autocreate_special' => false+
-);+
 </file> </file>
  
Zeile 1567: Zeile 1457:
  
 {{ :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 ======
Zeile 1576: Zeile 1794:
  
 ~~DISCUSSION~~ ~~DISCUSSION~~
 +~~AUTOTWEET:~~
  • centos/mail_c7/horde_3.txt
  • Zuletzt geändert: 22.07.2019 15:04.
  • von 127.0.0.1