LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   ERROR: connect to mail.*******.com[*.*.*.*]:25: Connection refused (https://www.linuxquestions.org/questions/linux-server-73/error-connect-to-mail-%2A%2A%2A%2A%2A%2A%2A-com%5B%2A-%2A-%2A-%2A%5D-25-connection-refused-715550/)

advolente 03-30-2009 01:45 PM

ERROR: connect to mail.*******.com[*.*.*.*]:25: Connection refused
 
Postfix is set to listen on all interfaces with port 4011 yet I'm still getting this error saying connection refused on port 25. I'm at wits end and have been messing with this for nearly a week. Can anyone familiar with postfix or linux email servers point me in the right direction here?

netstat output

Code:

[root@******* postfix]# netstat -tnap
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address              Foreign Address            State      PID/Program name 
tcp        0      0 0.0.0.0:2049                0.0.0.0:*                  LISTEN      -                 
tcp        0      0 0.0.0.0:3306                0.0.0.0:*                  LISTEN      2557/mysqld       
tcp        0      0 0.0.0.0:4011                0.0.0.0:*                  LISTEN      9644/master       
tcp        0      0 0.0.0.0:875                0.0.0.0:*                  LISTEN      2447/rpc.rquotad   
tcp        0      0 0.0.0.0:111                0.0.0.0:*                  LISTEN      2015/rpcbind       
tcp        0      0 0.0.0.0:6000                0.0.0.0:*                  LISTEN      3253/X             
tcp        0      0 0.0.0.0:10000              0.0.0.0:*                  LISTEN      2684/perl         
tcp        0      0 192.168.1.2:53              0.0.0.0:*                  LISTEN      2315/named         
tcp        0      0 127.0.0.1:53                0.0.0.0:*                  LISTEN      2315/named         
tcp        0      0 0.0.0.0:22                  0.0.0.0:*                  LISTEN      2359/sshd         
tcp        0      0 127.0.0.1:631              0.0.0.0:*                  LISTEN      2664/cupsd         
tcp        0      0 0.0.0.0:44183              0.0.0.0:*                  LISTEN      -                 
tcp        0      0 127.0.0.1:953              0.0.0.0:*                  LISTEN      2315/named         
tcp        0      0 0.0.0.0:51513              0.0.0.0:*                  LISTEN      2028/rpc.statd     
tcp        0      0 0.0.0.0:47646              0.0.0.0:*                  LISTEN      2462/rpc.mountd   
tcp        0      0 127.0.0.1:10000            127.0.0.1:35059            TIME_WAIT  -                 
tcp        0      0 127.0.0.1:10000            127.0.0.1:35063            TIME_WAIT  -                 
tcp        0      0 127.0.0.1:10000            127.0.0.1:35062            TIME_WAIT  -                 
tcp        0      0 127.0.0.1:10000            127.0.0.1:35061            TIME_WAIT  -                 
tcp        0      0 127.0.0.1:10000            127.0.0.1:35058            TIME_WAIT  -                 
tcp        0      0 127.0.0.1:10000            127.0.0.1:35064            TIME_WAIT  -                 
tcp        0      0 127.0.0.1:10000            127.0.0.1:35060            TIME_WAIT  -                 
tcp        0      0 :::111                      :::*                        LISTEN      2015/rpcbind       
tcp        0      0 :::6000                    :::*                        LISTEN      3253/X             
tcp        0      0 :::80                      :::*                        LISTEN      2620/httpd         
tcp        0      0 :::22                      :::*                        LISTEN      2359/sshd         
tcp        0      0 ::1:953                    :::*                        LISTEN      2315/named

Anything else you need please let me know i'll post immediatley

thank you for any help

ken

repo 03-30-2009 01:52 PM

Quote:

Postfix is set to listen on all interfaces with port 4011 yet I'm still getting this error saying connection refused on port 25
what if you set postfix to listen on port 25?
is postfix running?

farslayer 03-30-2009 02:13 PM

This is basically a duplicate of your other post, or a continuation of the same problem.. No clue why you started a new thread.
http://www.linuxquestions.org/questi...ion...-715349/

If you are listening on Port 4011, why would you expect to be able to connect to it on port 25 ?
Postfix is not listening on port 25 so that response would be correct.

I still think the resolution, already provided in your other thread, would resolve your issue.

advolente 03-30-2009 09:53 PM

Quote:

Originally Posted by farslayer (Post 3492827)
This is basically a duplicate of your other post, or a continuation of the same problem.. No clue why you started a new thread.
http://www.linuxquestions.org/questi...ion...-715349/

If you are listening on Port 4011, why would you expect to be able to connect to it on port 25 ?
Postfix is not listening on port 25 so that response would be correct.

I still think the resolution, already provided in your other thread, would resolve your issue.

Please close this thread. I reposted here because I thought it was a more appropriate forum for my problem. Please visit first thread if you have any help to give, as the issue is still unresolved. Thank you.

advolente 03-30-2009 09:59 PM

Quote:

Originally Posted by farslayer (Post 3492827)
This is basically a duplicate of your other post, or a continuation of the same problem.. No clue why you started a new thread.
http://www.linuxquestions.org/questi...ion...-715349/

If you are listening on Port 4011, why would you expect to be able to connect to it on port 25 ?
Postfix is not listening on port 25 so that response would be correct.

I still think the resolution, already provided in your other thread, would resolve your issue.

Please close this thread. I reposted here because I thought it was a more appropriate forum for my problem.


All times are GMT -5. The time now is 04:18 PM.