How to change the SMTP delivery port from 25 to 26
Posted: 24 Mar 2016 16:31
My Exchange server is behind a home account that blocks port 25. I also used to run EFA behind that same router and used a service called GhettoSMTP to send all my incoming mail to port 26 and then I used a Cisco router nat statement to map incoming port 26 to internal port 25 of the EFA server. So in EFA it was fine for it to receive email on 25 and then deliver it on port 25 to my Exchange server since it was inside the network.
Today I'm deploying a replacement EFA server in an outside environment that allows port 25 but my Exchange server will still be behind my ISP that blocks port 25. So can drop GhettoSMTP and set my MX records to deliver to this new EFA server on 25 but I need it to then send the mail on to my Exchange server on port 26. In the menu setup under Mail Settings > Transport Settings it won't let me input hostname:26 but using webmin and looking at the /etc/postfix/transport file I can enter smtp:[hostname:26] but I don't think that is working.
What is the correct way to haave EFA deliver mail from it to the Exchange server using a port other than 25?
Today I'm deploying a replacement EFA server in an outside environment that allows port 25 but my Exchange server will still be behind my ISP that blocks port 25. So can drop GhettoSMTP and set my MX records to deliver to this new EFA server on 25 but I need it to then send the mail on to my Exchange server on port 26. In the menu setup under Mail Settings > Transport Settings it won't let me input hostname:26 but using webmin and looking at the /etc/postfix/transport file I can enter smtp:[hostname:26] but I don't think that is working.
What is the correct way to haave EFA deliver mail from it to the Exchange server using a port other than 25?