How do I change smtp port? Or add additional one?

Discussion in 'Installation/Configuration' started by alpha_one, Feb 11, 2011.

  1. alpha_one

    alpha_one New Member


    I follwed the guide for ISPConfig on Debian 6.0.

    I am finished with the installation but i need to change or add the smtp port.

    My isp is blocking 25 so maybe 2525 might be an option? Should I add this as an alternative port or modify 25?

    ..and finally, how do I do this?

    Thank you!
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    If you set a different smtp port then port 25, your server will not receive any emails as the foreign mailserver does not know which port shall be used. So changing the port will not give you a working mailserver.

    If you want to use your server only for outgoing email and dont need to receive any emails, then you can activate the submission port in postfix by removing the # in front of the submission line and restart postfix.
  3. alpha_one

    alpha_one New Member


    I added 587 so for example cellphones can add the smtp. But i still send out on 25 from the server if i understand correct..
  4. vaio

    vaio New Member

    Hello till and alpha_one,
    my ISP is blocking SMTP 25 and how is it possible to sove that outgoing mail can be sent. SMTP from ISP is not good solution since if you use laptop on different ISP's you always need to change that.

    My server is for example: and mail server is (incoming and outgoing - smtp). My ISP has suggested changing port to 465, but if i understand till ok, than it won't work for other servers or what??

    Is smtp port really related to other servers and it won't receive mail?
    Please explain in dumb so newbies can understand.

    Thank you very much!
  5. vaio

    vaio New Member

    I have found solution!

    For all others here it is:

    1. follow Till HOW TO

    2. go to ISPconfig admin section
    3. click System -> Firewall
    4. Add there port 465 and confirm

    This should solve problem of smtp port 25 being blocked by some ISPs.

Share This Page