Author Topic: Email relay  (Read 4037 times)

0 Members and 1 Guest are viewing this topic.

Email relay
« on: June 05, 2019, 07:46:51 AM »
Dear all,
My email server with finished configure SPF, DKIM,... but sometimes go to spam gmail and blacklist by spamhaus.
I want to configure relay email to another mail server to send mail (Email relay service)

How to configure

Re: Email relay
« Reply #1 on: June 05, 2019, 11:24:34 PM »
Open /etc/postfix/ for editing and configure the following;

relayhost = []:587
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd

Create /etc/postfix/sasl_passwd file and add the authentication details of the external SMTP server:


chmod 0600 /etc/postfix/sasl_passwd
postmap /etc/postfix/sasl_passwd

service postfix restart