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/

# /etc/postfix/

# creoline E-Mail Protection Relay
relayhost =
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/smtp_auth

The access data for the relay group must then be created under /etc/postfix/smtp_auth:

# /etc/postfix/smtp_auth gewä

The password map file must then be compiled for Postfix:

postmap /etc/postfix/smtp_auth

Finally, the Postfix configuration must be reloaded so that the relay host can be used for all further emails:

/etc/init.d/postfix reload