Zuletzt geändert von superadmin am 2025/07/18 16:45

Von Version 10.1
bearbeitet von Christian Germann
am 2022/05/20 15:07
Änderungskommentar: Es gibt keinen Kommentar für diese Version
Auf Version 2.1
bearbeitet von Jonas Mayer
am 2022/05/20 13:47
Änderungskommentar: Es gibt keinen Kommentar für diese Version

Zusammenfassung

Details

Seiteneigenschaften
Dokument-Autor
... ... @@ -1,1 +1,1 @@
1 -xwiki:XWiki.cge@sbede
1 +xwiki:XWiki.jonasmayer@sbede
Inhalt
... ... @@ -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,8 +49,8 @@
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:
53 + # Vordefinierte Absender beim Versand an Empfänger der lokalen Maildomänen einschränken
54 + smtpd_restriction_classes:
54 54   value: 'local_only'
55 55   local_only:
56 56   value: 'check_recipient_access pcre:%{dir_etc}/local_domains.pcre, reject'
... ... @@ -81,30 +81,94 @@
81 81   '%{dir_etc}/restricted_senders.pcre':
82 82   content: |
83 83   %{header}
84 - # Regular Expression Format: Liste an Absendern, deren Versand eingeschränkt wird
85 + # Regular Expression Format: Liste an Absendern, die beim Versand eingeschränkt werden
85 85   /@(.+?\.)?%{::domain}$/ local_only
87 + #/@sbe-technik-ring0\.ldmail\.schule$/ local_only
88 + /@students\.sbe-technik-ring0\.ldmail\.schule$/ local_only
86 86   '%{dir_etc}/local_domains.pcre':
87 87   content: |
88 88   %{header}
89 - # Regular Expression Format: Liste erlaubter Empfängerdomänen für die eingeschränkten Absender
92 + # Regular Expression Format: Liste erlaubter Empfängerdomänen (für eingeschränkte Absender)
90 90   /@(.+?\.)?%{::domain}$/ OK
91 -\\\\ld_kopano::postfix::verbose: false
94 + /@sbe-technik-ring0\.ldmail\.schule$/ OK
95 + /@students\.sbe-technik-ring0\.ldmail\.schule$/ OK
96 +\\ld_kopano::postfix::verbose: false
92 92  \\ld_kopano::ldap_type: openldap
93 -\\ld_kopano::db_server: mariadb103##
98 +\\ld_kopano::db_server: mariadb103
99 +\\# Optimierte Z-Push Webserver-Einstellungen für ActiveSync Devices
100 +apache::keepalive: 'On'
101 +apache::keepalive_timeout: '45'
102 +apache::max_keepalive_requests: '500'
103 +apache::mod::prefork::maxclients: '384'
104 +apache::mod::prefork::serverlimit: '384'
105 +nginx::keepalive_timeout: 3600
106 +nginx::keepalive_requests: 500##
94 94  )))
95 95  
96 96  
110 +(% style="color:#000000" %)Anpassungen in der (% style="color:#3498db" %)rev-proxy.yaml(% style="color:#000000" %):
111 +
112 +(% class="box" %)
113 +(((
114 +(% style="color:#000000" %)##~-~--
115 +# Kopano: KeepAlive Timeout erhöhen für Z-Push / ActiveSync Devices
116 +nginx::keepalive_timeout: 3600
117 +nginx::keepalive_requests: 500##
118 +)))
119 +
120 +
121 +(% style="color:#000000" %)Anpassungen in der(%%) (% style="color:#3498db" %)mariadb103.yaml(%%):
122 +
123 +(% class="box" %)
124 +(((
125 +(% style="color:#000000" %)##~-~--
126 +mysql::server::override_options:
127 + mysqldump:
128 + max_allowed_packet: '1G'
129 + mysqld:
130 + innodb_file_per_table: '1'
131 + bind-address: '0.0.0.0'
132 + skip-name-resolve: true
133 + innodb_large_prefix: '1'
134 + max_allowed_packet: '256M'
135 + max_connections: '151'
136 + query_cache_limit: '2M'
137 + query_cache_size: '64M'
138 + thread_stack: '512K'
139 + tmp_table_size: '64M'
140 + max_heap_table_size: '64M'
141 + sort_buffer_size: '2M'
142 + join_buffer_size: '2M'
143 + table_open_cache: '500'
144 + innodb_autoextend_increment: '1000'
145 + innodb_buffer_pool_size: '1G'
146 + # The following setting is based on the existing ibdata1 file, check current size and insert it here (rounded to MB)
147 + # - Hint: Initial value after first installation = 12M
148 + innodb_data_file_path: 'ibdata1:76M:autoextend'
149 + innodb_flush_log_at_trx_commit: '2'
150 + innodb_flush_method: 'O_DSYNC'
151 + innodb_lock_wait_timeout: '120'
152 + innodb_log_buffer_size: '8M'
153 + innodb_log_file_size: '1G'
154 + innodb_log_files_in_group: '3'
155 + innodb_read_io_threads: '4'
156 + innodb_write_io_threads: '4'
157 + wait_timeout: '28800'##
158 +)))
159 +
160 +
97 97  (% style="color:#000000" %)Anpassungen in der (% style="color:#3498db" %)ldhost.yaml(% style="color:#000000" %): 
98 98  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.
99 99  
100 100  (% class="box" %)
101 101  (((
102 -(% 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##(%%)
103 -(% style="color:#000000" %)###ld_legacy::mail::filters:
166 +(% style="color:#000000" %)##~-~--##(%%)
167 +(% 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##(%%)##
168 +(% style="color:#000000" %)#ld_legacy::mail::filters:
104 104  # '(zarafaaccount=1)': 'example.com'
105 105  # Kopano: Definition von Gruppen, die eine Mailadresse erhalten sollen und dadurch anschreibbar werden
106 106  ld_legacy::mail::zarafa_groups:
107 - - elehrer##
172 + - elehrer(%%)##
108 108  )))
109 109  
110 110  
... ... @@ -113,7 +113,8 @@
113 113  
114 114  (% class="box" %)
115 115  (((
116 -(% style="color:#000000" %)### Kopano: Definition von Benutzern, die administrative Rechte erhalten sollen
181 +(% style="color:#000000" %)##~-~--
182 +# Kopano: Definition von Benutzern, die administrative Rechte erhalten sollen
117 117  # (Einstellung wird nicht benutzt, sofern Kopano an das OpenLDAP angebunden ist, was dem Standard entspricht)
118 118  ld_samba4::ad::kopano::admins:
119 119   - 'admin'##
... ... @@ -120,16 +120,11 @@
120 120  )))
121 121  
122 122  
123 -Weitere Optimierungen können in folgenden Anleitung nachgelesen werden.
124 -
125 -[[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/]]
126 -
127 -
128 128  (% style="color:#000000" %)Damit die Änderungen sauber übernommen werden, fehlt noch ein Git commit im (% style="color:#3498db" %)Puppeteer(% style="color:#000000" %).
129 129  
130 130  (% class="box" %)
131 131  (((
132 -(% style="color:#000000" %)##git add *##
193 +(% style="color:#000000" %)##git add .##
133 133  )))
134 134  
135 135  (% class="box" %)