close
Warning:
Can't synchronize with repository "keplertools" (/srv/svn/keplertools does not appear to be a Subversion repository.). Look in the Trac log for more information.
- Timestamp:
-
Apr 6, 2018, 8:15:51 PM (9 years ago)
- Author:
-
bau
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
|
v8
|
v9
|
|
| 1 | 1 | |
| 2 | | == Infos zum Mailserver der paedml == |
| | 2 | = Infos zum Mailserver der paedml |
| 3 | 3 | |
| | 4 | == DNS-Einträge |
| 4 | 5 | Damit der Server auch über OpenVPN über eine Adresse erreichbar ist, ist auf allen DNS-Servern (auch bei BelWUE) der Name emails.kg-fds.de eingerichtet, der zeigt auf: |
| 5 | 6 | |
| … |
… |
|
| 16 | 17 | |
| 17 | 18 | |
| 18 | | Im Einsatz sind |
| | 19 | == Im Einsatz sind |
| 19 | 20 | |
| 20 | 21 | - das HORDE-Framework |
| 21 | | - Cyrus als MTA |
| 22 | | [[BR]] |
| | 22 | - !Cyrus/Postfix als MTA [[BR]] |
| | 23 | - /etc/cyrus.conf Cyrus-Konfiguration |
| | 24 | - /etc/postfix/main.cf Postfix-Konfiguration |
| | 25 | - /var/spool/cyrus/mail/ Hier liegen die eMails der User |
| | 26 | - /etc/sieve/ Hier liegen die Weiterleitungsscripte (cyrus-sieve, Horde-Ingo) |
| 23 | 27 | |
| 24 | | # /etc/cyrus.conf Konfiguration[[BR]] |
| 25 | | # /var/spool/cyrus/mail/ Hier liegen die eMails der User[[BR]] |
| 26 | | # /etc/sieve/ Hier liegen die Weiterleitungsscripte (cyrus-sieve, Horde-Ingo)[[BR]] |
| 27 | 28 | |
| | 29 | == Anpassungen |
| | 30 | === TLS auf dem SMTP |
| | 31 | Nach [https://www.bekawe-systems.de/howto-postfix-mit-tls-ssl-einrichten/ Anleitung] mit Hintergrundinformation [http://www.postfix.org/TLS_README.html TLSReadme] wurde dem SMTP TLS beigebracht: |
| | 32 | {{{ |
| | 33 | #TLS Support |
| | 34 | smtpd_tls_auth_only = no |
| | 35 | smtp_use_tls = yes |
| | 36 | smtpd_use_tls = yes |
| | 37 | smtp_tls_note_starttls_offer = yes |
| | 38 | smtpd_tls_key_file = /etc/ssl/private/server.pem |
| | 39 | smtpd_tls_cert_file = /etc/ssl/private/server.pem |
| | 40 | smtpd_tls_CAfile = /etc/ssl/private/ca.pem |
| | 41 | smtpd_tls_loglevel = 1 |
| | 42 | smtpd_tls_received_header = yes |
| | 43 | smtpd_tls_session_cache_timeout = 3600s |
| | 44 | tls_random_source = dev:/dev/urandom |
| | 45 | }}} |
| | 46 | und getestet nach [https://www.heise.de/security/artikel/StartTLS-785453.html Heise]. Das Zertifikat wird mit Let'sEncrypt alle drei Monate neu erzeugt, dir Dienste (auch Postfix) anschließend neu gestartet |
| | 47 | |
| | 48 | |
| | 49 | === Cyrus-SASL-Auth für den SMTP |
| | 50 | Für das sichere Relaying darf der SMTP in den internen Netzen nicht einfach auf Port 25 offen sein - sonst könnte jede/r einfach beliebige eMails mit beliebigen Absendern losschicken. |
| 28 | 51 | |
| 29 | 52 | == Weiterleitungsscripte bearbeiten == |