tachtler:postfix_centos_7_-_multiple_instanzen
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende Überarbeitung | ||
tachtler:postfix_centos_7_-_multiple_instanzen [2019/05/20 09:05] – [Konfiguration: Grundlagenerweiterung] klaus | tachtler:postfix_centos_7_-_multiple_instanzen [2019/05/22 10:03] (aktuell) – [Nützliche Befehle] klaus | ||
---|---|---|---|
Zeile 32: | Zeile 32: | ||
:!: **HINWEIS** - **Als __Ausgangssituation__ wird die __Standard__-Konfiguration von [[http:// | :!: **HINWEIS** - **Als __Ausgangssituation__ wird die __Standard__-Konfiguration von [[http:// | ||
+ | |||
+ | ==== Postfix Version 2.x ==== | ||
Nachfolgende die Verzeichnisstruktur der **Standard**-[[http:// | Nachfolgende die Verzeichnisstruktur der **Standard**-[[http:// | ||
Zeile 96: | Zeile 98: | ||
tcp 0 0 127.0.0.1: | tcp 0 0 127.0.0.1: | ||
</ | </ | ||
+ | |||
+ | ==== Postfix Version 3.x ==== | ||
+ | |||
+ | Nachfolgende die Verzeichnisstruktur der **Standard**-[[http:// | ||
+ | < | ||
+ | # ls -l / | ||
+ | total 252 | ||
+ | -rw-r--r-- 1 root root 21535 Apr 3 16:14 access | ||
+ | -rw-r--r-- 1 root root 13194 Apr 3 16:14 canonical | ||
+ | -rw-r--r-- 1 root root 164 Apr 3 16:14 dynamicmaps.cf | ||
+ | drwxr-xr-x 2 root root 6 Apr 3 16:14 dynamicmaps.cf.d | ||
+ | -rw-r--r-- 1 root root 10221 Apr 3 16:14 generic | ||
+ | -rw-r--r-- 1 root root 23802 Apr 3 16:14 header_checks | ||
+ | -rw-r--r-- 1 root root 28035 May 20 10:45 main.cf | ||
+ | -rw-r--r-- 1 root root 27742 Apr 3 16:14 main.cf.proto | ||
+ | -rw-r--r-- 1 root root 6360 Apr 3 16:14 master.cf | ||
+ | -rw-r--r-- 1 root root 6360 Apr 3 16:14 master.cf.proto | ||
+ | -rw-r--r-- 1 root root 21106 Apr 3 16:14 postfix-files | ||
+ | -rw-r--r-- 1 root root 6929 Apr 3 16:14 relocated | ||
+ | -rw-r--r-- 1 root root 12666 Apr 3 16:14 transport | ||
+ | -rw-r--r-- 1 root root 13963 Apr 3 16:14 virtual | ||
+ | </ | ||
+ | |||
+ | Nachfolgende die **Standard**-[[http:// | ||
+ | < | ||
+ | # postconf -n | ||
+ | postconf: warning: inet_protocols: | ||
+ | alias_database = hash:/ | ||
+ | alias_maps = hash:/ | ||
+ | command_directory = /usr/sbin | ||
+ | compatibility_level = 2 | ||
+ | daemon_directory = / | ||
+ | data_directory = / | ||
+ | debug_peer_level = 2 | ||
+ | debugger_command = PATH=/ | ||
+ | html_directory = no | ||
+ | inet_interfaces = localhost | ||
+ | mail_owner = postfix | ||
+ | mailq_path = / | ||
+ | manpage_directory = / | ||
+ | meta_directory = / | ||
+ | mydestination = $myhostname, | ||
+ | newaliases_path = / | ||
+ | queue_directory = / | ||
+ | readme_directory = / | ||
+ | sample_directory = / | ||
+ | sendmail_path = / | ||
+ | setgid_group = postdrop | ||
+ | shlib_directory = / | ||
+ | unknown_local_recipient_reject_code = 550 | ||
+ | </ | ||
+ | |||
+ | :!: **HINWEIS** - **IPv6 ist auf diesem Server __deaktiviert__, | ||
+ | |||
+ | :!: **HINWEIS** - Um die oben gezeigte Fehlermeldung auf einem Server **__ohne__ IPv6-Unterstützung** - **vorab** schnell zu beseitigen, kann nachfolgender Befehl ausgeführt werden: | ||
+ | < | ||
+ | # postconf -e inet_protocols=ipv4 | ||
+ | </ | ||
+ | |||
+ | Um **Warnungen** wie diese bei der Erstellung von weiteren [[http:// | ||
+ | * **''/ | ||
+ | angepasst werden, da diese bei der Erstellung von neuen [[http:// | ||
+ | |||
+ | (**Nur relevanter Ausschnitt**) | ||
+ | <code bash> | ||
+ | # Enable IPv4, and IPv6 if supported | ||
+ | # Tachtler | ||
+ | # default: # | ||
+ | inet_protocols = ipv4 | ||
+ | </ | ||
+ | |||
+ | Nachfolgende die Bestätigung das [[http:// | ||
+ | |||
+ | (:-D p.s. Da manche lieber **// | ||
+ | < | ||
+ | # lsof -Poni | grep master | ||
+ | master | ||
+ | </ | ||
+ | < | ||
+ | # netstat -tulpen | grep master | ||
+ | tcp 0 0 127.0.0.1: | ||
+ | </ | ||
+ | |||
+ | * //Quelle: Patrick Ben Koetter von der [[https:// | ||
===== Konfiguration ===== | ===== Konfiguration ===== | ||
Zeile 103: | Zeile 189: | ||
- [[http:// | - [[http:// | ||
- [[http:// | - [[http:// | ||
+ | |||
+ | ==== / | ||
+ | |||
+ | :!: **HINWEIS** - **Ab [[http:// | ||
+ | |||
+ | Um bei der Erstellung von neuen [[http:// | ||
+ | * ''/ | ||
+ | Einfluss nehmen zu können, kann ab **[[http:// | ||
+ | * **''/ | ||
+ | entsprechend angepasst werden, da diese Konfigurationsdatei als sozusagen **" | ||
+ | |||
+ | :!: **HINWEIS** - Alle Anpassungen in **''/ | ||
+ | |||
+ | * //Quelle: Patrick Ben Koetter von der [[https:// | ||
+ | |||
+ | ==== / | ||
+ | |||
+ | :!: **HINWEIS** - **Ab [[http:// | ||
+ | |||
+ | Um bei der Erstellung von neuen [[http:// | ||
+ | * ''/ | ||
+ | Einfluss nehmen zu können, kann ab **[[http:// | ||
+ | * **''/ | ||
+ | entsprechend angepasst werden, da diese Konfigurationsdatei als sozusagen **" | ||
+ | |||
+ | :!: **HINWEIS** - Alle Anpassungen in **''/ | ||
+ | |||
+ | * //Quelle: Patrick Ben Koetter von der [[https:// | ||
==== Multi-Instanz-Unterstützung aktivieren ==== | ==== Multi-Instanz-Unterstützung aktivieren ==== | ||
Zeile 574: | Zeile 688: | ||
</ | </ | ||
- | ===== Konfiguration: | + | ===== Konfiguration: |
==== Einschränkung: | ==== Einschränkung: | ||
Zeile 717: | Zeile 831: | ||
| '' | | '' | ||
| '' | | '' | ||
- | | '' | + | | '' |
tachtler/postfix_centos_7_-_multiple_instanzen.1558335942.txt.gz · Zuletzt geändert: 2019/05/20 09:05 von klaus