Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen Revision Vorhergehende Überarbeitung Nächste Überarbeitung | Vorhergehende Überarbeitung Nächste ÜberarbeitungBeide Seiten der Revision | ||
centos:mail_c7:horde_3 [11.09.2014 20:24. ] – [Horde Framework] django | centos: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[' | + | // ENABLED by default; will connect to IMAP port on local server |
- | | + | // Django : 2014-09-11 |
- | // Django : 2014-09-11 | + | // default: ' |
- | // default: ' | + | $servers[' |
- | ' | + | |
- | ' | + | |
- | ' | + | |
- | ' | + | |
- | ' | + | |
- | ' | + | |
- | // 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. | + | |
- | ' | + | |
- | ); | + | |
- | + | ||
- | + | ||
- | // POP3 server | + | |
- | $servers[' | + | |
- | // Disabled by default | + | |
- | | + | |
- | ' | + | |
- | ' | + | |
- | ' | + | |
- | ' | + | |
- | ' | + | |
- | // Default to secure TLS authentication by default (see RFC 2595 [4]). | + | |
- | ' | + | |
- | ); | + | |
// 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[' | + | // Disabled by default |
- | | + | // Django : 2014-09-11 |
- | // Django : 2014-09-11 | + | // default: ' |
- | // default: ' | + | $servers[' |
- | ' | + | $servers['advanced'][' |
- | // default: | + | $servers['advanced'][' |
- | | + | $servers['advanced'][' |
- | // default: | + | $servers[' |
- | | + | $servers[' |
- | // default: | + | $servers[' |
- | | + | $servers['advanced'][' |
- | ' | + | $servers['advanced']['smtp'][' |
- | ' | + | $servers['advanced'][' |
- | ' | + | $servers['advanced']['smtp']['port'] = 25; |
- | // default: | + | $servers['advanced']['acl'] = true; |
- | | + | $servers['advanced']['cache'] = false; |
- | 'smtp' | + | $servers['advanced']['quota'][' |
- | // | + | $servers['advanced']['quota']['params']['hide_when_unlimited'] = false; |
- | // ' | + | $servers['advanced'][' |
- | // ' | + | $servers['advanced']['quota']['params'][' |
- | // | + | $servers['advanced'][' |
- | // ' | + | |
- | // ' | + | |
- | // ' | + | |
- | // /* 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/ | + | |
- | // * mail submission agent to automatically authenticate this host | + | |
- | // * based on the network location). */ | + | |
- | // | + | |
- | // | + | |
- | // default: unset | + | |
- | ' | + | |
- | | + | |
- | 'port' | + | |
- | ), | + | |
- | | + | |
- | // 'innocent' => array( | + | |
- | // | + | |
- | // | + | |
- | // // Email reporting driver | + | |
- | // 'email' => null, | + | |
- | // ' | + | |
- | // | + | |
- | // // Null reporting driver | + | |
- | // ' | + | |
- | // | + | |
- | // // Program reporting driver | + | |
- | // 'program' | + | |
- | // ), | + | |
- | // 'spam' => array( | + | |
- | // ' | + | |
- | // | + | |
- | // // Email reporting driver | + | |
- | // 'email' | + | |
- | // 'email_format' | + | |
- | // | + | |
- | // // Null reporting | + | |
- | // ' | + | |
- | // | + | |
- | // // Program reporting driver | + | |
- | // 'program' | + | |
- | // ), | + | |
- | // // It is possible to directly define additional spam drivers. | + | |
- | // // The 'drivers' | + | |
- | // // (these classes must implement the IMP_Spam_Base class). | + | |
- | // 'drivers' | + | |
- | // new IMP_Example_Spam_Driver() | + | |
- | // ) | + | |
- | ), | + | |
- | | + | |
- | // 'user' => ' | + | |
- | // ' | + | |
- | // ' | + | |
- | ), | + | |
- | ' | + | |
- | ' | + | |
- | // | + | |
- | // ' | + | |
- | | + | |
- | ' | + | |
- | | + | |
- | // default : 'hide_when_unlimited' => true, | + | |
- | | + | |
- | // default : 'unit' | + | |
- | | + | |
- | // default : unset | + | |
- | | + | |
- | ) | + | |
- | ), | + | |
- | | + | |
- | // | + | |
- | // | + | |
- | // | + | |
- | // | + | |
- | // | + | |
- | // | + | |
- | // ' | + | |
- | // ) | + | |
- | ), | + | |
- | | + | |
- | ); | + | |
</ | </ | ||
Zeile 1441: | Zeile 1331: | ||
==== Applikation IMP ==== | ==== Applikation IMP ==== | ||
Die Konfiguration der Applikation **IMP** erfolgt dann über die GUI des Web-Frameworks. Dazu rufen wir unseren angelegten VHOST im Webbrowser auf. | Die Konfiguration der Applikation **IMP** erfolgt dann über die GUI des Web-Frameworks. Dazu rufen wir unseren angelegten VHOST im Webbrowser auf. | ||
- | $ https:// | + | |
{{ : | {{ : | ||
Zeile 1467: | Zeile 1357: | ||
$conf[compose][link_attachments] | $conf[compose][link_attachments] | ||
$conf[compose][link_attachments_notify] | $conf[compose][link_attachments_notify] | ||
- | $conf[compose][link_attach_threshold] | + | $conf[compose][link_attach_threshold] |
$conf[compose][link_attach_size_limit] | $conf[compose][link_attach_size_limit] | ||
$conf[compose][attach_size_limit] | $conf[compose][attach_size_limit] | ||
Zeile 1485: | Zeile 1375: | ||
=== Compose Log === | === Compose Log === | ||
- | $conf[sentmail][driver] | + | $conf[sentmail][driver] |
$conf[sentmail][params][threshold] | $conf[sentmail][params][threshold] | ||
$conf[sentmail][params][limit_period] | $conf[sentmail][params][limit_period] | ||
Zeile 1553: | Zeile 1443: | ||
$conf[tos][file] | $conf[tos][file] | ||
- | Zum Schluß sichern wir die Konfiguration mit einem Klick auf die Schaltfläche: | + | Zum Schluß sichern wir die Konfiguration mit einem Klick auf die Schaltfläche: |
- | Die erfolgreiche Sicherung wird uns entsprechend angezeigt. | + | |
- | {{ :centos:mail_c6:222.png?nolink&250 |Bild: | + | {{ : |
+ | |||
+ | <WRAP center round tip> | ||
+ | Die Fehlermeldung braucht | ||
+ | Ein einfacher Reload der Seite im Browser bringt uns direkt zur Anmeldeseite von Horde. | ||
+ | </ | ||
+ | |||
+ | {{ :centos:mail_c7:horde_14.png?direct&850 |Bild: | ||
+ | |||
+ | Wir können uns nun anmelden und dabei die Authentifizierzung eines bestehnden Nutzers testen. | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | ===== 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 ====== | ||
+ | * **⇐ [[centos: | ||
+ | * **⇒ [[centos: | ||
+ | * **[[centos: | ||
+ | * **[[wiki: | ||
+ | * **[[http:// | ||
+ | ~~DISCUSSION~~ | ||
+ | ~~AUTOTWEET: |