Find the answer to your Linux question:
Results 1 to 4 of 4
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Mar 2009
    Posts
    5

    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

  2. #2
    Just Joined! abdul raziq's Avatar
    Join Date
    Dec 2006
    Location
    Quetta
    Posts
    75
    hi,
    1. check iptable may be iptables block your :25 port
    2. check service postfix and pop3 server

    hope it will resolve your problem

    thanks
    A.Raziq

  3. #3
    Linux Engineer jledhead's Avatar
    Join Date
    Oct 2004
    Location
    North Carolina
    Posts
    1,077
    how about
    Code:
    lsof -i |grep postfix
    and are you trying to accept over port 25 or 4111 (whatever port you said)

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined!
    Join Date
    Dec 2008
    Location
    Wellington, New Zealand
    Posts
    4
    what is producing the error?

    whatever is producing it needs to be told to talk to smtp on port 4011, not the default of 25.

    or reconfigure postfix back to use port 25.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •