Configure relay host for outgoing emails in Postfix
This article describes how to configure a relay host for servers to send outgoing emails via creoline Email Protection.
Configure relay host in Postfix
An SSH root connection is required for the Postfix configuration.
The relay host configuration is carried out in the file /etc/postfix/main.cf:
# /etc/postfix/main.cf
# creoline E-Mail Protection Relay
relayhost = basic.mail.creoline.com:587
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/smtp_authThe access data for the relay group must then be created under /etc/postfix/smtp_auth:
# /etc/postfix/smtp_auth
basic.mail.creoline.com gewählter-benutzername-sendeconnector@basic.mail.creoline.com:dein-geheimes-relay-passwortThe password map file must then be compiled for Postfix:
postmap /etc/postfix/smtp_authFinally, the Postfix configuration must be reloaded so that the relay host can be used for all further emails:
/etc/init.d/postfix reloadSimilar articles
 Was this page helpful?