Änderungen von Dokument Kopano für lokalen Betrieb einrichten
Zuletzt geändert von superadmin am 2025/07/18 16:45
Von Version 9.1
bearbeitet von Christian Germann
am 2022/05/20 15:07
am 2022/05/20 15:07
Änderungskommentar:
Es gibt keinen Kommentar für diese Version
Auf Version 1.1
bearbeitet von Michael Ecer
am 2022/05/03 09:26
am 2022/05/03 09:26
Änderungskommentar:
Es gibt keinen Kommentar für diese Version
Zusammenfassung
-
Seiteneigenschaften (2 geändert, 0 hinzugefügt, 0 gelöscht)
Details
- Seiteneigenschaften
-
- Dokument-Autor
-
... ... @@ -1,1 +1,1 @@ 1 -xwiki:XWiki.c ge@sbede1 +xwiki:XWiki.michaelecer@sbede - Inhalt
-
... ... @@ -5,7 +5,7 @@ 5 5 **__Wichtig:__** Im lokalen Betrieb können keine Nachrichten an externe Mailadressen versendet werden. Die Kommunikation ist strikt auf interne Adressen beschränkt. 6 6 7 7 8 -(% style="color:#000000" %)Um die Anpassungen vorzunehmen wechselt man in den (% style="color:#3498db" %)Puppeteer (% style="color:#000000" %)und dort in das Verzeichnis(% style="color:#3498db" %) 8 +(% style="color:#000000" %)Um die Anpassungen vorzunehmen wechselt man in den (% style="color:#3498db" %)Puppeteer (% style="color:#000000" %)und dort in das Verzeichnis(% style="color:#3498db" %) /etc/logodidact/hiera/custom.d/ 9 9 10 10 (% class="box" %) 11 11 ((( ... ... @@ -16,7 +16,7 @@ 16 16 17 17 (% class="box" %) 18 18 ((( 19 -(% style="color:#000000" %)##kopano-g1.yaml / ldhost.yaml / samba4-ad.yaml## 19 +(% style="color:#000000" %)##kopano-g1.yaml / rev-proxy.yaml / mariadb103.yaml / ldhost.yaml / samba4-ad.yaml## 20 20 ))) 21 21 22 22 ... ... @@ -25,7 +25,8 @@ 25 25 26 26 (% class="box" %) 27 27 ((( 28 -(% style="color:#000000" %)##ld_multidrop::ensure: absent 28 +(% style="color:#000000" %)##~-~-- 29 +ld_multidrop::ensure: absent 29 29 \\ld_kopano::amavisd_new::configs: 30 30 '@local_domains_maps': "( new_RE( qr'[@.](.*~\~\.?%{::domain})$'i ) )" 31 31 \\ld_kopano::postfix::configs: ... ... @@ -34,7 +34,7 @@ 34 34 sender_dependent_relayhost_maps: 35 35 value: 'pcre:%{dir_etc}/sender_dependent_relayhost_maps_internal.pcre' 36 36 smtp_sender_dependent_authentication: 37 - value: 'yes' 38 + value: 'yes' 38 38 smtp_sasl_auth_enable: 39 39 value: 'yes' 40 40 smtp_sasl_password_maps: ... ... @@ -49,26 +49,15 @@ 49 49 value: 'yes' 50 50 virtual_mailbox_domains: 51 51 value: 'pcre:%{dir_etc}/virtual_mailbox_domains_internal.pcre' 52 - # Einschränken von vordefinierte Absendern auf Empfänger der lokalen Maildomäne##(%%) 53 -(% style="color:#000000" %)## smtpd_restriction_classes: 54 - value: 'local_only' 55 - local_only: 56 - value: 'check_recipient_access pcre:%{dir_etc}/local_domains.pcre, reject' 57 - smtpd_recipient_restrictions: 58 - value: 'check_sender_access pcre:%{dir_etc}/restricted_senders.pcre, permit_mynetworks,permit_sasl_authenticated, reject_invalid_hostname, reject_non_fqdn_hostname, reject_non_fqdn_recipient, reject_non_fqdn_sender, reject_unknown_recipient_domain, reject_unknown_sender_domain, reject_unauth_destination, reject_unauth_pipelining, reject' 59 -\\\\ld_kopano::postfix::hashes: 53 +\\ld_kopano::postfix::hashes: 60 60 '%{dir_etc}/smtp_generic_maps.hash': 61 61 content: | 62 62 %{header} 63 - # Umschreibung der Absender-Domain bei externem Mailversand 64 - # (Dummy-Eintrag, durch Empfängerfilterung nicht genutzt) 65 65 @%{::fqdn} @example.com 66 66 '%{dir_etc}/sender_dependent_relayhost_maps_external.hash': 67 67 content: | 68 68 %{header} 69 - # Bounce-Nachrichten mit Null-Sender via Relayhost versenden 70 70 <> smtp.example.com 71 - # Mails an externe Empfänger via Relayhost versenden 72 72 @example.com smtp.example.com 73 73 '%{dir_etc}/smtp_sasl_password_maps.hash': 74 74 content: | ... ... @@ -78,38 +78,83 @@ 78 78 content: | 79 79 %{header} 80 80 example.com ACCEPT 81 - '%{dir_etc}/restricted_senders.pcre': 82 - content: | 83 - %{header} 84 - # Regular Expression Format: Liste an Absendern, deren Versand eingeschränkt wird 85 - /@(.+?\.)?%{::domain}$/ local_only 86 - '%{dir_etc}/local_domains.pcre': 87 - content: | 88 - %{header} 89 - # Regular Expression Format: Liste erlaubter Empfängerdomänen für die eingeschränkten Absender 90 - /@(.+?\.)?%{::domain}$/ OK 91 -\\\\ld_kopano::postfix::verbose: false 71 +\\ld_kopano::postfix::verbose: false 92 92 \\ld_kopano::ldap_type: openldap 93 -\\ld_kopano::db_server: mariadb103## 73 +\\ld_kopano::db_server: mariadb103 74 +\\# Optimierte Z-Push Webserver-Einstellungen für ActiveSync Devices 75 +apache::keepalive: 'On' 76 +apache::keepalive_timeout: '45' 77 +apache::max_keepalive_requests: '500' 78 +apache::mod::prefork::maxclients: '384' 79 +apache::mod::prefork::serverlimit: '384' 80 +nginx::keepalive_timeout: 3600 81 +nginx::keepalive_requests: 500## 94 94 ))) 95 95 96 96 97 - WeitereOptimierungenkönneninfolgendenAnleitung nachgelesen werden.85 +(% style="color:#000000" %)Anpassungen in der (% style="color:#3498db" %)rev-proxy.yaml(% style="color:#000000" %): 98 98 99 -[[https:~~/~~/kb.logodidact.com/xwiki/bin/view/Main/Kopano/Allgemein/Optimierungen%20von%20Kopano/>>https://kb.logodidact.com/xwiki/bin/view/Main/Kopano/Allgemein/Optimierungen%20von%20Kopano/]] 87 +(% class="box" %) 88 +((( 89 +(% style="color:#000000" %)##~-~-- 90 +# Kopano: KeepAlive Timeout erhöhen für Z-Push / ActiveSync Devices 91 +nginx::keepalive_timeout: 3600 92 +nginx::keepalive_requests: 500## 93 +))) 100 100 101 101 96 +(% style="color:#000000" %)Anpassungen in der(%%) (% style="color:#3498db" %)mariadb103.yaml(%%): 97 + 98 +(% class="box" %) 99 +((( 100 +(% style="color:#000000" %)##~-~-- 101 +mysql::server::override_options: 102 + mysqldump: 103 + max_allowed_packet: '1G' 104 + mysqld: 105 + innodb_file_per_table: '1' 106 + bind-address: '0.0.0.0' 107 + skip-name-resolve: true 108 + innodb_large_prefix: '1' 109 + max_allowed_packet: '256M' 110 + max_connections: '151' 111 + query_cache_limit: '2M' 112 + query_cache_size: '64M' 113 + thread_stack: '512K' 114 + tmp_table_size: '64M' 115 + max_heap_table_size: '64M' 116 + sort_buffer_size: '2M' 117 + join_buffer_size: '2M' 118 + table_open_cache: '500' 119 + innodb_autoextend_increment: '1000' 120 + innodb_buffer_pool_size: '1G' 121 + # The following setting is based on the existing ibdata1 file, check current size and insert it here (rounded to MB) 122 + # - Hint: Initial value after first installation = 12M 123 + innodb_data_file_path: 'ibdata1:76M:autoextend' 124 + innodb_flush_log_at_trx_commit: '2' 125 + innodb_flush_method: 'O_DSYNC' 126 + innodb_lock_wait_timeout: '120' 127 + innodb_log_buffer_size: '8M' 128 + innodb_log_file_size: '1G' 129 + innodb_log_files_in_group: '3' 130 + innodb_read_io_threads: '4' 131 + innodb_write_io_threads: '4' 132 + wait_timeout: '28800'## 133 +))) 134 + 135 + 102 102 (% style="color:#000000" %)Anpassungen in der (% style="color:#3498db" %)ldhost.yaml(% style="color:#000000" %): 103 103 Hier wird die Maildomain festgelegt, die Benutzer im Attribut mail unter (% style="color:#3498db" %)/var/lds/user/username/mail(% style="color:#000000" %) im (% style="color:#3498db" %)logosrv (% style="color:#000000" %)erhalten. 104 104 105 105 (% class="box" %) 106 106 ((( 107 -(% style="color:#000000; font-family:~"Open Sans~",~"Helvetica Neue~",Helvetica,Arial,sans-serif" %)### Kopano: Definition einer Maildomain (abweichend zu schule.local), die Benutzer & Gruppen im LDAP-Feld 'mail' erhalten sollen##(%%) 108 -(% style="color:#000000" %)###ld_legacy::mail::filters: 141 +(% style="color:#000000" %)##~-~--##(%%)## 142 +(% style="color:#000000; font-family:~"Open Sans~",~"Helvetica Neue~",Helvetica,Arial,sans-serif" %)# Kopano: Definition einer Maildomain (abweichend zu schule.local), die Benutzer & Gruppen im LDAP-Feld 'mail' erhalten sollen(%%) 143 +(% style="color:#000000" %)#ld_legacy::mail::filters: 109 109 # '(zarafaaccount=1)': 'example.com' 110 110 # Kopano: Definition von Gruppen, die eine Mailadresse erhalten sollen und dadurch anschreibbar werden 111 111 ld_legacy::mail::zarafa_groups: 112 - - elehrer## 147 + - elehrer(%%)## 113 113 ))) 114 114 115 115 ... ... @@ -118,7 +118,8 @@ 118 118 119 119 (% class="box" %) 120 120 ((( 121 -(% style="color:#000000" %)### Kopano: Definition von Benutzern, die administrative Rechte erhalten sollen 156 +(% style="color:#000000" %)##~-~-- 157 +# Kopano: Definition von Benutzern, die administrative Rechte erhalten sollen 122 122 # (Einstellung wird nicht benutzt, sofern Kopano an das OpenLDAP angebunden ist, was dem Standard entspricht) 123 123 ld_samba4::ad::kopano::admins: 124 124 - 'admin'## ... ... @@ -129,7 +129,7 @@ 129 129 130 130 (% class="box" %) 131 131 ((( 132 -(% style="color:#000000" %)##git add *##168 +(% style="color:#000000" %)##git add .## 133 133 ))) 134 134 135 135 (% class="box" %) ... ... @@ -138,4 +138,4 @@ 138 138 ))) 139 139 140 140 141 -(% style="color:#000000" %)und ein (% style="color:#3498db" %)prun in den jeweiligen Containern(% style="color:#000000" %) 177 +(% style="color:#000000" %)und ein (% style="color:#3498db" %)prun in den jeweiligen Containern(% style="color:#000000" %) (Alle Container, die durch die .yaml Konfigurationsdateien angesprochen werden)