Benutzer-Werkzeuge

Webseiten-Werkzeuge


tachtler:horde4_-_imp

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen RevisionVorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
tachtler:horde4_-_imp [2012/07/24 23:12] klaustachtler:horde4_-_imp [2014/07/14 09:51] (aktuell) klaus
Zeile 131: Zeile 131:
 # cp -a /var/www/horde4/imp/config/backends.php /var/www/horde4/imp/config/backends.local.php # cp -a /var/www/horde4/imp/config/backends.php /var/www/horde4/imp/config/backends.local.php
 </code> </code>
 +
 +==== Cyrus IMAP Server ====
  
 Nachfolgend dargestelltes **Beispiel** ist für eine Anbindung eines [[http://www.cyrusimap.org/|Cyrus IMAP Server]] an [[http://www.horde.org/apps/imp|Horde - IMP]]: Nachfolgend dargestelltes **Beispiel** ist für eine Anbindung eines [[http://www.cyrusimap.org/|Cyrus IMAP Server]] an [[http://www.horde.org/apps/imp|Horde - IMP]]:
 <code php> <code php>
-/* Tachtler configurations: */ 
- 
 $servers['imap'] = array( $servers['imap'] = array(
     // Disabled by default     // Disabled by default
     'disabled' => false,     'disabled' => false,
     'name' => 'IMAP Server',     'name' => 'IMAP Server',
-    'hostspec' => 'cyrus.tachtler.net',+    'hostspec' => 'imap.tachtler.net',
     'hordeauth' => false,     'hordeauth' => false,
     'protocol' => 'imap',     'protocol' => 'imap',
Zeile 146: Zeile 146:
     'secure' => 'tls',     'secure' => 'tls',
     'maildomain' => 'tachtler.net',     'maildomain' => 'tachtler.net',
-    'smtphost' => 'mx1.tachtler.net', +    'smtp' => array( 
-    'smtpport' => 25,+    //    'auth' => true, 
 +    //    'localhost' => 'localhost', 
 +    //    'host' => 'smtp.example.com', 
 +    //    'password' => null, 
 +    //    'port' => 25, 
 +    //    'username' => null 
 +    ), 
 +    //'smtphost' => 'mx1.tachtler.net', 
 +    //'smtpport' => 25,
     'admin' => array(     'admin' => array(
-         'params' => array( +        'user' => 'cyrus', 
-             'admin_user' => 'cyrus', +        'password' => 'geheim', 
-             'admin_password' => 'geheim', +        'userhierarchy' => 'user/' 
-             'userhierarchy' => 'user.+    ), 
-         ), +    //'admin' => array( 
-     ),+    //     'params' => array( 
 +    //         'admin_user' => 'cyrus', 
 +    //         'admin_password' => 'geheim', 
 +    //         'userhierarchy' => 'user/
 +    //     ), 
 +    // ),
     'quota' => array(     'quota' => array(
         'driver' => 'imap',         'driver' => 'imap',
Zeile 165: Zeile 178:
     'cache' => false,     'cache' => false,
 ); );
 +
 </code> </code>
  
 :!: **HINWEIS** - Die Angabe **'''cache' =>''** sollte auf **''false''** stehen, da es sonst in der **"dynamischen Weboberfläche"** zu Fehlerhinweisen kommen kann! :!: **HINWEIS** - Die Angabe **'''cache' =>''** sollte auf **''false''** stehen, da es sonst in der **"dynamischen Weboberfläche"** zu Fehlerhinweisen kommen kann!
 +
 +==== Dovecot IMAP Server ====
 +
 +Nachfolgend dargestelltes **Beispiel** ist für eine Anbindung eines [[http://dovecot-org|Dovecot IMAP Server]] an [[http://www.horde.org/apps/imp|Horde - IMP]]:
 +<code php>
 +$servers['imap'] = array(
 +    // Disabled by default
 +    'disabled' => false,
 +    'name' => 'IMAP Server',
 +    'hostspec' => 'imap.tachtler.net',
 +    'hordeauth' => false,
 +    'protocol' => 'imap',
 +    'port' => 143,
 +    'secure' => 'tls',
 +    'maildomain' => '',
 +    'smtp' => array(
 +    //    'auth' => true,
 +    //    'localhost' => 'localhost',
 +    //    'host' => 'smtp.example.com',
 +    //    'password' => null,
 +    //    'port' => 25,
 +    //    'username' => null
 +    ),
 +    //'smtphost' => 'mx1.tachtler.net',
 +    //'smtpport' => 25,
 +    //'admin' => array(
 +    //     'params' => array(
 +    //         'admin_user' => 'cyrus',
 +    //         'admin_password' => 'geheim',
 +    //         'userhierarchy' => 'user/'
 +    //     ),
 +    // ),
 +    'quota' => array(
 +        'driver' => 'imap',
 +        'params' => array(
 +            'hide_when_unlimited' => true,
 +            'interval' => 900;
 +            'unit' => 'MB'
 +        )
 +    ),
 +    'acl' => false,
 +    'cache' => false,
 +);
 +
 +</code>
 +
 +:!: **HINWEIS** - Die Angabe **'''cache' =>''** sollte auf **''false''** stehen, da es sonst in der **"dynamischen Weboberfläche"** zu Fehlerhinweisen kommen kann!
 +
 +
 +===== Konfiguration: MIME-Types =====
 +
 +In [[http://www.horde.org/apps/imp|Horde - IMP]] kann die Verwaltung von **"MIME-Types"** angepasst werden, um mit verschiedenen Dateitypen entsprechend umzugehen.
 +
 +Die Konfiguration der **"MIME-Types"** erfolgt **__NICHT__** über die Web-Anwendung, sondern ist in nachfolgend genannter Konfigurationsdatei hinterlegt:
 +  * **''/var/www/horde4/imp/config/mime_drivers.php''**
 +
 +Von dieser Konfigurationsdatei kann mit nachfolgendem Befehl eine Kopie angefertigt werden, in der dann die tatsächliche Konfiguration statt finden kann:
 +<code>
 +# cp -a /var/www/horde4/imp/config/mime_drivers.php /var/www/horde4/imp/config/mime_drivers.local.php
 +</code>
 +
 +==== PGP-Inline ====
 +
 +Eine für meine Begriffe nützliche Funktion ist, **PGP** verschlüsselte Nachrichten **"inline"**, also mit der Aufforderung seinen **PGP**-Schlüssel einzugeben, und dann die Nachricht entschlüsselt anzeigen zu lassen.
 +
 +Dies erfordert jedoch eine Anpassung in der Konfigurationsdatei
 +  * **''/var/www/horde4/imp/config/mime_drivers.local.php''**
 +wie nachfolgend gezeigt:
 +
 +(**nur relevanter Ausschnitt**)
 +<code php>
 +...
 +        /* 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). */
 +        // Tachtler
 +        // default: 'pgp_inline' => false,
 +        'pgp_inline' => true,
 +...
 +</code>
  
tachtler/horde4_-_imp.1343164332.txt.gz · Zuletzt geändert: 2012/07/24 23:12 von klaus