notiz:postfix-mailrelay
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen der Seite angezeigt.
| Nächste Überarbeitung | Vorherige Überarbeitung | ||
| notiz:postfix-mailrelay [2020/07/18 17:16] – angelegt clerie | notiz:postfix-mailrelay [2020/08/24 19:03] (aktuell) – clerie | ||
|---|---|---|---|
| Zeile 1: | Zeile 1: | ||
| ====== Postfix Mailrelay ====== | ====== Postfix Mailrelay ====== | ||
| + | |||
| + | <code bash> | ||
| + | apt install postfix | ||
| + | </ | ||
| + | |||
| + | Im Wizard dann Satellite auswählen und entsprechend Angaben machen. | ||
| + | |||
| <code - / | <code - / | ||
| + | # See / | ||
| + | |||
| + | |||
| + | # Debian specific: | ||
| + | # line of that file to be used as the name. The Debian default | ||
| + | # is / | ||
| + | #myorigin = / | ||
| + | |||
| + | smtpd_banner = $myhostname ESMTP $mail_name (Debian/ | ||
| + | biff = no | ||
| + | |||
| + | # appending .domain is the MUA's job. | ||
| + | append_dot_mydomain = no | ||
| + | |||
| + | # Uncomment the next line to generate " | ||
| + | # | ||
| + | |||
| + | readme_directory = no | ||
| + | |||
| + | # See http:// | ||
| + | # fresh installs. | ||
| + | compatibility_level = 2 | ||
| + | |||
| + | # TLS parameters | ||
| + | smtpd_tls_cert_file=/ | ||
| + | smtpd_tls_key_file=/ | ||
| + | smtpd_use_tls=yes | ||
| + | smtpd_tls_session_cache_database = btree: | ||
| + | smtp_tls_session_cache_database = btree: | ||
| + | smtp_tls_wrappermode = yes | ||
| + | smtp_tls_security_level = encrypt | ||
| + | smtp_sasl_auth_enable = yes | ||
| + | smtp_sasl_security_options = | ||
| + | smtp_sasl_password_maps = hash:/ | ||
| + | |||
| + | smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated defer_unauth_destination | ||
| + | myhostname = web-1.net.clerie.de | ||
| + | alias_maps = hash:/ | ||
| + | alias_database = hash:/ | ||
| + | myorigin = / | ||
| + | mydestination = $myhostname, | ||
| + | relayhost = [mail-1.net.clerie.de]: | ||
| + | mynetworks = 127.0.0.0/8 [:: | ||
| + | mailbox_size_limit = 0 | ||
| + | recipient_delimiter = + | ||
| + | inet_interfaces = loopback-only | ||
| + | inet_protocols = all | ||
| + | |||
| </ | </ | ||
| <code - / | <code - / | ||
| + | [mail-1.net.clerie.de]: | ||
| </ | </ | ||
| Zeile 11: | Zeile 67: | ||
| <code - / | <code - / | ||
| + | # / | ||
| + | mailer-daemon: | ||
| + | postmaster: root | ||
| + | nobody: root | ||
| + | hostmaster: root | ||
| + | usenet: root | ||
| + | news: root | ||
| + | webmaster: root | ||
| + | www: root | ||
| + | ftp: root | ||
| + | abuse: root | ||
| + | noc: root | ||
| + | security: root | ||
| + | root: web-1@net.clerie.de | ||
| + | |||
| + | clerie: root | ||
| </ | </ | ||
notiz/postfix-mailrelay.1595085398.txt.gz · Zuletzt geändert: von clerie
