| Zeile 46: |
Zeile 46: |
| | == Einfacher MTA mittels Postfix == | | == Einfacher MTA mittels Postfix == |
| | | | |
| − | Man kann auch mit Hilfe von Postfix einen einfachen MTA aufsetzen. Zur Installation benötigt man | + | Man kann auch mit Hilfe von [[Postfix]] einen einfachen MTA aufsetzen. Zur Installation benötigt man |
| | sudo aptitude install postfix postfix-mysql libsasl2-modules | | sudo aptitude install postfix postfix-mysql libsasl2-modules |
| | | | |
| Zeile 62: |
Zeile 62: |
| | inet_interfaces = loopback-only | | inet_interfaces = loopback-only |
| | mailbox_size_limit = 0 | | mailbox_size_limit = 0 |
| − | relayhost = mail.gmx.net:587 | + | relayhost = [mail.gmx.net]:587 |
| | sender_canonical_maps = hash:/etc/postfix/sender_canonical | | sender_canonical_maps = hash:/etc/postfix/sender_canonical |
| | smtp_generic_maps = hash:/etc/postfix/generic | | smtp_generic_maps = hash:/etc/postfix/generic |
| Zeile 69: |
Zeile 69: |
| | smtp_sasl_security_options = noanonymous | | smtp_sasl_security_options = noanonymous |
| | smtp_tls_security_level = encrypt | | smtp_tls_security_level = encrypt |
| | + | |
| | + | Die eckigen Klammern benötigte ich, weil ich ansonsten die Fehlermeldung |
| | + | <cite>relay=none, delay=244208, delays=244208/0.01/0/0, dsn=4.4.3, status=deferred (Host or domain name not found. Name service error for name=mail.gmx.net type=MX: Host not found, try again)</cite> |
| | + | bekam.<ref>Vgl. auch https://forum.ubuntuusers.de/topic/postfix-empfaenger-root-in-echte-mailadresse-/</ref> |
| | | | |
| | Folgender Dateiinhalt der <code>/etc/postfix/sasl_password</code> <small>(PASSWORD durch Passwort bei GMX austauschen; bei USER ebenfalls)</small> | | Folgender Dateiinhalt der <code>/etc/postfix/sasl_password</code> <small>(PASSWORD durch Passwort bei GMX austauschen; bei USER ebenfalls)</small> |