to configure servers to relay to a remote box for emails

kicon

Member
May 12, 2011
16
0
51
hi guys
i really need help to configure mail server. my server is running cpanel. the site could not send any emails because the port 25 is blocked by server provider. they wont unblock port25 for emails sending but they said however i can configure server to relay to a remote box other than port25 without the need to request any changes from them. so far i already configured a smtp server from my remote box. but i still need to configure SMTP service from server to a remote box to listen on an alternative port number other than 25. could anyone help me how to finalize this step. i really appreciate for your help.
 

kicon

Member
May 12, 2011
16
0
51
hi
thank you for suggestion. i already changed port to 587 from cpanel as instruction but when i test to send mails it still not working. anythings else do i miss? thank you
 
Last edited:

kicon

Member
May 12, 2011
16
0
51
Your iptables.

Have you allowed your port 587 for TCP traffic?
hi
i didnt do anything else except switching the port. could you show me how to do this? thanks
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,202
363
Hello :)

Please browse to:

"WHM Home » Service Configuration » Service Manager"

Enable the following service and set the port number to 26:

"exim on another port"

Then, try using port 26 for outgoing email in your email client. Let us know if you receive a specific error message when sending.

Thank you.