Skip to main content

Configuring postfix for email relay

This page reorganizes the operational steps for Configuring postfix for email relay.

Install any prerequisite

yum install postfix cyrus-sasl cyrus-sasl-gssapi cyrus-sasl-plain

In main.cf add the following:

relayhost = <your relay host>:587
smtp_use_tls = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_auth_enable = yes
smtp_sasl_security_options =

in sasl_passwd

<your relay host>:587 username:password

Don't forget to postmap the sasl_passwd

Current Verification

After applying the change, verify the related MiRTA PBX page, the Asterisk logs, and the relevant Status menu entry. Recheck tenant selection before testing tenant-specific behavior.