in Linux

Relaying mail in postfix

We have new server configured, the problem is the ISP.

They not allow port 25 for sending mail.

Fortunately we have another existing postfix server .

After edit in new server, we can send email through existing server.

The only change to do is :

Edit, find relayhost line and add existing server hostname

like :

relayhost =

save and restart postfix.

To make sure it works you can see maillog and mailq .