Change built in email server from port 25 outbound

Is it possible to change the built in email server outbound port from 25 to something else ?

Why I ask is I’ve changed ISP and it appears they block port 25 outbound and FreePBX can no longer send emails as it did perfectly before changing ISP.

Also, is there a definitive example on how to manually change the email server to say Gmail.The ones I’ve looked at are either outdated or doesnt work.

Changing port 25 on an email server only changes the listening part of the email server portion.

Meaning that this would only help if you were wanting to receive emails on something other then the default TCP port 25, which would break inbound connections because by default all email servers only try connecting to port 25 for email delivery. Outbound connections are always going to need to go to port 25 (unless the receiving service uses an SSL connection for inbound emails) because that’s what all email servers out there on the internet are listening on for email delivery and this is what your ISP is blocking.

I am not sure that there is a way around this outside of you reaching out to your provider to unblock TCP 25 for outbound connections from your network.

You could also check with your ISP if they provide email relay services and if so you could follow guides on how to configure postfix for email relay through an smtp relay server that your ISP would provide you with configuration information for.

Thank you for your reply.

What I’ve done is to change from the built email to use Gmail which is now working ok. I now receive again email notifications etc from FreePBX.

Maybe posting your solution/configuration here would be helpful to somebody wanting to do the same in the future?

Indeed, I will post the details.

It has been posted a lot on this forum and is only needed if you can’t run commercial modules or decide that the $25 for SysAdmin Pro is too rich for you.

Otherwise if you can run commercial modules and get SysAdmin Pro you can do this right from the GUI.

Thanks Tom,

All sorted now and I posted how I did it.

Dave.

PS
Just trying to Andrews & Arnolds VOIP service to work with FreePBX now …