Postfix: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Codica (Diskussion | Beiträge) |
Codica (Diskussion | Beiträge) |
||
| Zeile 1: | Zeile 1: | ||
Siehe auch [[Mail unter Linux#SMTP-Server]] | Siehe auch [[Mail unter Linux#SMTP-Server]] | ||
| + | == Einrichten von Postfix zum Versenden über Mail-Provider arcor.de == | ||
| + | |||
| + | Installation:<ref>Vgl. https://wiki.ubuntuusers.de/postfix</ref> | ||
| + | |||
| + | sudo aptitude install postfix libsasl2-modules bsd-mailx | ||
| + | |||
| + | Konfiguration | ||
| + | sudo dpkg-reconfigure postfix | ||
| + | |||
| + | * System: Satellitensystem | ||
| + | * Eigene Domain: <code>eigenerserver.de</code> oder ein anderer frei wählbarer Name (unten wird arcor-Adresse dann ausgewählt) | ||
| + | * SMTP-Relay-Server: mail.arcor.de | ||
| + | |||
| + | Konfigurationsdatei <code>/etc/postfix/main.cf</code> | ||
| + | |||
| + | * Hinzufügen folgender Zeilen: | ||
| + | smtp_sasl_auth_enable = yes | ||
| + | smtp_sasl_security_options = noplaintext noanonymous | ||
| + | smtp_sasl_password_maps = hash:/etc/postfix/sasl_password | ||
| + | |||
| + | Passwortdatei <code>/etc/postfix/sasl_password</code> | ||
| + | |||
| + | mail.arcor.de EMAIL@arcor.de:PASSWORT | ||
| + | |||
| + | EMAIL und PASSWORT müssen natürlich angepasst werden. Danach hashen: | ||
| + | |||
| + | sudo chmod 600 /etc/postfix/sasl_password | ||
| + | sudo postmap hash:/etc/postfix/sasl_password | ||
| + | |||
| + | Absenderdatei <code>/postfix/sender_canonical</code> | ||
| + | LINUX_USER1 EMAIL1@arcor.de | ||
| + | root EMAIL2@arcor.de | ||
Version vom 16. Juni 2015, 20:12 Uhr
Siehe auch Mail unter Linux#SMTP-Server
Einrichten von Postfix zum Versenden über Mail-Provider arcor.de
Installation:[1]
sudo aptitude install postfix libsasl2-modules bsd-mailx
Konfiguration
sudo dpkg-reconfigure postfix
- System: Satellitensystem
- Eigene Domain:
eigenerserver.deoder ein anderer frei wählbarer Name (unten wird arcor-Adresse dann ausgewählt) - SMTP-Relay-Server: mail.arcor.de
Konfigurationsdatei /etc/postfix/main.cf
- Hinzufügen folgender Zeilen:
smtp_sasl_auth_enable = yes smtp_sasl_security_options = noplaintext noanonymous smtp_sasl_password_maps = hash:/etc/postfix/sasl_password
Passwortdatei /etc/postfix/sasl_password
mail.arcor.de EMAIL@arcor.de:PASSWORT
EMAIL und PASSWORT müssen natürlich angepasst werden. Danach hashen:
sudo chmod 600 /etc/postfix/sasl_password sudo postmap hash:/etc/postfix/sasl_password
Absenderdatei /postfix/sender_canonical
LINUX_USER1 EMAIL1@arcor.de root EMAIL2@arcor.de
Nutzen mehrerer Smarthosts
Siehe
Weiterführendes
Siehe