How to change Port 25 to different Port #

Discussion in 'Installation/Configuration' started by happz, Oct 5, 2008.

  1. happz

    happz New Member

    I have managed to get smtp from my ISP working since my isp block port 25. i am using their smtp which uses a different port. when i try to sign up as a use on one of my sites the invite email never comes. when i look at the error log it appears that from within my sites using "mail" to send invites on php driven sites that it continues to use port 25. i am assuming that is from within the server config or maybe ispconfig....

    Can anyone tell me how to force internal mail to use a specific port number i.e. change 25 to something else?

    here is the line in my log that bothers me:::::: root@websrv1 log]# Oct 4 23:34:18 websrv1 postfix/smtp[6077]: connect to my.isp.att.net[204.127.33.234]: Connection timed out (port 25)

    thanks,

    happz
     
    Last edited: Oct 5, 2008
  2. falko

    falko Super Moderator ISPConfig Developer

    You can try this:
    Code:
    postconf -e 'relayhost = my.isp.att.net:26'
    (replace 26 with the actual port number).
     
: port 25

Share This Page