Linux - Postfix relay via ISP

Due to different ISP have different security rules, this article is just for reference.

Add the following line in to main.cf

relayhost = [ISP_SMTP_HOST]
myhostname = [HOSTNAME]
mydomain = [DOMAIN]

* edit the value of [...] according to your environment.

Comments