Benutzer-Werkzeuge

Webseiten-Werkzeuge


tachtler:horde5_-_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:horde5_-_imp [2016/04/02 09:05] – [Horde - Schritt 3] klaustachtler:horde5_-_imp [2016/05/04 13:21] (aktuell) – [/etc/httpd/conf.d/php-horde-imp.conf] klaus
Zeile 1078: Zeile 1078:
                         RewriteCond   %{REQUEST_FILENAME}  !-f                         RewriteCond   %{REQUEST_FILENAME}  !-f
                         RewriteRule ^(.*)$ rampage.php [QSA,L]                         RewriteRule ^(.*)$ rampage.php [QSA,L]
 +                </IfModule>
 +        </Directory>
 +
 +        # Content rewrite rules from php-horde-content.conf
 +        <Directory "/usr/share/horde/content">
 +                <IfModule rewrite_module>
 +                        RewriteEngine On
 +                        RewriteCond   %{REQUEST_FILENAME}  !-d
 +                        RewriteCond   %{REQUEST_FILENAME}  !-f
 +                        RewriteRule ^(.*)$ index.php [QSA,L]
                 </IfModule>                 </IfModule>
         </Directory>         </Directory>
Zeile 1087: Zeile 1097:
  
         # Deny access to files that are not served directly by the webserver for imp         # Deny access to files that are not served directly by the webserver for imp
-        <DirectoryMatch /usr/share/horde/imp/(config|lib|locale|templates)>+        <DirectoryMatch "/usr/share/horde/imp/(config|lib|locale|templates)">
                 Require all denied                 Require all denied
         </DirectoryMatch         </DirectoryMatch
Zeile 1144: Zeile 1154:
  
   * <code apache>        # Deny access to files that are not served directly by the webserver for imp   * <code apache>        # Deny access to files that are not served directly by the webserver for imp
-        <DirectoryMatch /usr/share/horde/imp/(config|lib|locale|templates)>+        <DirectoryMatch "/usr/share/horde/imp/(config|lib|locale|templates)">
                 Require all denied                 Require all denied
         </DirectoryMatch</code>         </DirectoryMatch</code>
Zeile 1229: Zeile 1239:
   * ''/etc/horde/imp/backends.local.php''   * ''/etc/horde/imp/backends.local.php''
 <code php>  <code php> 
-$servers['advanced'] = array( +<?php 
-    'disabled' => false, +/** 
-    'name' => 'Dovecot IMAP Server', + This file specifies which mail servers IMP can login to. 
-    'hostspec' => 'imap.tachtler.net', + * 
-    'hordeauth' => 'full', + */ 
-    'protocol' => 'imap', + 
-    'port' => 143, +// Tachtler 
-    'secure' => 'tls', +$servers['imap']['disabled'= true; 
-    'maildomain' => '', +$servers['advanced']['disabled'= false; 
-    'smtp' => array( +$servers['advanced']['name'= 'Dovecot IMAP Server'; 
-    //    'auth' => true, +$servers['advanced']['hostspec'= 'imap.tachtler.net'; 
-    //    'debug' => false, +$servers['advanced']['hordeauth'='full'; 
-    //    'horde_auth' => false, +$servers['advanced']['quota']['params']['unit'= 'GB'; 
-    //    'host' => 'smtp.example.com', +// Tachtler - NOT OFFICIAL SUPPORTED !!! 
-    //    'lmtp' => false, +$servers['advanced']['quota']['params']['format']['short'= '%.2f%% %.0f %s';
-    //    '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 +
-    ), +
-    '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 'drivers' array 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( +
-            'hide_when_unlimited' => true, +
-            'unit' => 'GB', +
-            'format' => array('short' ='Quota Status: %.0f%% 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, +
-);+
 </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 und hier **__nicht__** gesetzt werden, da es sonst in der **"dynamischen Weboberfläche"** zu Fehlerhinweisen kommen kann!
  
 ==== Cyrus IMAP Server ==== ==== Cyrus IMAP Server ====
Zeile 1327: Zeile 1263:
   * ''/etc/horde/imp/backends.local.php''   * ''/etc/horde/imp/backends.local.php''
 <code php> <code php>
-$servers['advanced'] = array( +<?php 
-    'disabled' => false, +/** 
-    'name' => 'Cyrus IMAP Server', + This file specifies which mail servers IMP can login to
-    'hostspec' => 'imap.tachtler.net', + * 
-    'hordeauth' => 'full', + */ 
-    'protocol' => 'imap', + 
-    'port' => 143, +// Tachtler 
-    'secure' => 'tls', +$servers['imap']['disabled'true; 
-    'maildomain' => 'tachtler.net', +$servers['advanced']['disabled'false; 
-    'smtp' => array( +$servers['advanced']['name'= 'Cyrus IMAP Server'
-    //    'auth' => true, +$servers['advanced']['hostspec'= 'imap.tachtler.net'; 
-    //    'debug' => false, +$servers['advanced']['hordeauth'= 'full'; 
-    //    'horde_auth' => false, +$servers['advanced']['maildomain'= 'tachtler.net'; 
-    //    'host' => 'smtp.example.com', +$servers['advanced']['admin']['user'= 'cyrus'; 
-    //    'lmtp' => false, +$servers['advanced']['admin']['password'= 'geheim'; 
-    //    'localhost' => 'localhost', +$servers['advanced']['admin']['userhierarchy'= 'user/'; 
-    //    'password' => null, +$servers['advanced']['quota']['params']['unit'] = 'GB'; 
-    //    /Mail from a MUA SHOULD be sent via the mail submission port (587) +// Tachtler - NOT OFFICIAL SUPPORTED !!! 
-    //     * rather than the MTA port (25). (See RFC 6409/STD 72)+$servers['advanced']['quota']['params']['format']['short'= '%.2f%% %.0f %s';
-    //     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 +
-    ), +
-    '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 'drivers' array 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=> 'geheim'+
-         'userhierarchy' ='user/+
-    ), +
-    'acl=> true, +
-    'cache=> false, +
-    // 'debug' ='/tmp/imp_imap.log', +
-    // 'debug_raw=> false, +
-    'quota' => array( +
-        'driver=> 'imap'+
-        'params=> array( +
-            'hide_when_unlimited=> true, +
-            'unit=> 'GB'+
-            'format' => array('short' ='Quota Status: %.0f%% 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, +
-);+
 </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 und hier **__nicht__** gesetzt werden, da es sonst in der **"dynamischen Weboberfläche"** zu Fehlerhinweisen kommen kann!
  
 ===== Konfiguration: MIME-Drivers ===== ===== Konfiguration: MIME-Drivers =====
Zeile 1530: Zeile 1396:
 | ''* $conf[compose][attach_count_limit]''    | ''0''              | ''0''               | | ''* $conf[compose][attach_count_limit]''    | ''0''              | ''0''               |
 ^ Message Replies                             ^^^ ^ Message Replies                             ^^^
 +^ Einstellung                                 ^ Standard           ^ Wert                ^
 | ''* $conf[compose][reply_limit]''           | ''20000''          | ''20000''           | | ''* $conf[compose][reply_limit]''           | ''20000''          | ''20000''           |
 ^ Address Autocompletion                      ^^^ ^ Address Autocompletion                      ^^^
 +^ Einstellung                                 ^ Standard           ^ Wert                ^
 | ''* $conf[compose][ac_threshold]''          | ''3''              | ''3''               | | ''* $conf[compose][ac_threshold]''          | ''3''              | ''3''               |
 ^ HTML Signature                              ^^^ ^ HTML Signature                              ^^^
 +^ Einstellung                                 ^ Standard           ^ Wert                ^
 | ''* $conf[compose][htmlsig_img_size]''      | ''30000''          | ''30000''           | | ''* $conf[compose][htmlsig_img_size]''      | ''30000''          | ''30000''           |
  
Zeile 1646: Zeile 1515:
  
 Anschließend die **umfangreichen Änderungen durch Auswahl der Authentifizierung bei**  Anschließend die **umfangreichen Änderungen durch Auswahl der Authentifizierung bei** 
-  * **''* $conf[auth][driver]''** auf ''SQL authentication w/custom-made queries''+  * ''* $conf[auth][driver]'' auf **''SQL authentication w/custom-made queries''**
  
 ^ Nacher                                   ^^^  ^ Nacher                                   ^^^ 
Zeile 1684: Zeile 1553:
 | ''$conf[tos][file]''                                        |                     | | ''$conf[tos][file]''                                        |                     |
  
 +==== Horde - Schritt 4 ====
 +
 +Nachdem nachfolgender Bildschirm zur Anzeige gekommen sein sollte:
 +
 +{{:tachtler:horde:horde5-konfiguration-horde_horde-webmail-authentication-konfiguration_erzeugen.png|Horde5 - Einstellungen - Administration - Konfiguration - Webmail (imp) 6.x.x - Tachtler's Büro-Konfiguration erzeugen}}
 +
 +Sollte hier mit der **[linken Maustaste]** der die Schaltfläche **[Tachtler's Büro-Konfiguration erzeugen]** gedrückt werden, damit die **neue Konfigurationsdatei für [[http://www.horde.org|Horde]] Groupware** erzeugt werden kann.
 +
 +:!: **WICHTIG** - **Anschließend sollte nachfolgende __Fehlermeldung__ erscheinen !!!**
 +
 +{{:tachtler:horde:horde5-konfiguration-horde_horde-webmail-authentication-konfiguration_erzeugen-fehler.png|Horde5 - Einstellungen - Administration - Konfiguration - Webmail (imp) 6.x.x - Tachtler's Büro-Konfiguration erzeugen - Fehler}}
 +
 +:!: **HINWEIS** - **Dies Begründet sich dadurch, dass der der aktuelle Benutzer nicht an [[http://www.horde.org|Horde]] Groupware angemeldet ist !**  
 +
 +==== Horde - Schritt 5 ====
 +
 +Nach einem **erneuten Aufruf** der Web-Anwendung über den Browser und den definierten **virtuellen Host**, hier: 
 +  * [[http://www.horde.tachtler.net|http://www.horde.tachtler.net]]
 +sollte eine Anmeldung nun an [[http://www.horde.org|Horde]] Groupware **__und__** [[http://www.horde.org/apps/imp|Horde - IMP]] **mit einer einzigen Anmeldemaske** durchgeführt werden, wie nachfolgende Bildschirmkopie zeigt:
  
 +{{:tachtler:horde5-anmeldung-webmail.png|Horde5 - Anmeldung - mit Webmail (imp)}}
  
-:!: FIXME - **Hier geht es weiter... / To be continued...**+:!: **HINWEIS** Eine Anmeldung als **"Administrator"** ist nun nur noch möglich, indem die Anmeldedaten des unter nachfolgender Einstellung gesetzten Benutzers, eingegeben werden: 
 +  * ''$conf[auth][admins]'' hier neu **''admin@tachtler.net''**
  
tachtler/horde5_-_imp.1459580734.txt.gz · Zuletzt geändert: 2016/04/02 09:05 von klaus