I’m trying to setup a mail server for my testing purpose. I’m stuck up with an issue, my James mail server is unable to send out email. I would like to know if any other additional device/service is required between the James and Firewall(MX) in order to relay out email from James to external mail address.
I’m trying to achieve something like below mail flow/setup.
myJamesEmailID --> James-Mail server --> Firewall( & MX) -> external Email address
What is required: Need to send an email from suvegas@myJamesMailserver.com to firstname.lastname@example.org
(myJamesMailserver.com is my example James mail domain)
I have configured my James server, it is running fine with port 25 and 110, 53 open & accessible. I’m able to receive incoming email ie. from Gmail to myJamesMailserver works fine. The outgoing mail is generated in local james server, but unable to send out email from myJamesMailserver.com. Further, I see James is trying repeatedly to spool/send email out. The firewall doesn't receive any port:25 traffic from the James server. I believe, James is unable to throw the traffic to firewall/external.
Would like to know what is required between the james mail server and firewall. Do I require a mail gateway device or a relay server/device before the firewall?