Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Nächste Überarbeitung | Vorhergehende Überarbeitung | ||
mail:postfix:relay_mit_smtp_auth [2011/09/21 19:17] raiser angelegt |
mail:postfix:relay_mit_smtp_auth [2021/01/26 13:27] raiser typo |
||
---|---|---|---|
Zeile 4: | Zeile 4: | ||
<code> | <code> | ||
- | postconf -e relayhost=mailgmx.net | + | |
+ | postconf -e relayhost=mail.gmx.net | ||
postconf -e sender_canonical_maps=hash:/etc/postfix/sender_canonical | postconf -e sender_canonical_maps=hash:/etc/postfix/sender_canonical | ||
+ | postconf -e smtp_sasl_password_maps=hash:/etc/postfix/sasl_passwd | ||
+ | |||
postconf -e smtp_sasl_auth_enable=yes | postconf -e smtp_sasl_auth_enable=yes | ||
- | postconf -e smtp_sasl_password_maps=hash:/etc/postfic/sasl_pass | + | |
postconf -e smtp_sasl_security_options=noanonymous | postconf -e smtp_sasl_security_options=noanonymous | ||
- | echo "lokaler_name lokaler_name_auf@gmx.de" > /etc/postfix/sender_canonical | + | |
+ | echo "lokaler_name mailname_bei@gmx.de" > /etc/postfix/sender_canonical | ||
+ | echo "mail.gmx.net mailname_bei@gmx.de:PASSWORT" > /etc/postfix/sasl_passwd | ||
chown root:root /etc/postfix/sender_canonical && chmod 0600 /etc/postfix/sender_canonical | chown root:root /etc/postfix/sender_canonical && chmod 0600 /etc/postfix/sender_canonical | ||
- | echo "lokaler_name_auf@gmx.de lokaler_name_auf@gmx.de:PASSWORT" > /etc/postfix/sasl_pass | ||
- | chown root:root /etc/postfix/sasl_pass && chmod 0600 /etc/postfix/sasl_pass | ||
- | postmap /etc/postfix/sender_canonical && postmap /etc/postfix/sasl_pass && /etc/init.d/postfix restart | + | chown root:root /etc/postfix/sasl_passwd && chmod 0600 /etc/postfix/sasl_passwd |
+ | |||
+ | postmap /etc/postfix/sender_canonical && postmap /etc/postfix/sasl_passwd && /etc/init.d/postfix restart | ||
</code> | </code> | ||