Need an help in configuring Postfix mail relay server

Hello,

We have 2 servers, server A and Server B in same domain. I have already configured the Serevr A to send an email to the internet (outside domain) by opening the port 25 to the internet.

Now I need to send an email to the outside domain from Server B using server A. I have opened the port between these two servers but not to the internet from server B.

Please help me to configure the server B mail settings to send the Email outside the domain through server A

Regards
Sathish

You need

relayhost = ServerB

in /etc/postfix/main.cf
You find more tips in the links below.