Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 09-12-2003, 12:31 PM   #1
Registered: Jul 2003
Location: Birmingham, UK
Distribution: Ubuntu,Debian
Posts: 381

Rep: Reputation: 30
Question Postfix running but not listening on 25


I am running the Postfix mail server, however the server doesnt appear to be listening to port 25 as there is no listening port 25 when i run "netstat -ln". Does anyone have any idea why this is? It maybe that its because sendmail was my default MTA on installation and i didnt config something for inetd or xinetd. I am running RH8. Any ideas?

Old 05-27-2004, 01:07 AM   #2
LQ Newbie
Registered: May 2004
Posts: 1

Rep: Reputation: 1
postfix not listening

I'm not certain is this will fix your problem, but I've been looking around google trying to find a fix for postfix not listening on port 25 when accessed from another computer (external). Here's how I fixed it on mine.

When trying to telnet to port 25 the error message was: "Could not open connection to the host, on port 25: Connect Failed". I noticed that I could telnet from the host machine to localhost or and postfix displayed the welcome message fine.

I found out that my server was only listening locally to port 25 using "netstat -an | less" displaying " LISTEN" instead of " LISTEN". I did some searching and found out that this was because of postfix running smtp in chmod mode (whatever that means). Looks like Manrake 10 installs with this by default for security.

To fix this, I changed the postfix "": vi /etc/postfix/

# ==========================================================================
# service type  private unpriv  chroot  wakeup  maxproc command + args
#               (yes)   (yes)   (yes)   (never) (100)
# ==========================================================================
smtp    inet    n       -       y       -       -       smtpd
I just changed the "y" to a "n", reboot the server (postfix reload didn't seem to work). I was then able to telnet to my server on port 25!

Hope this help out a few people,

1 members found this post helpful.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Postfix send mail problem(In RH9, kernal 2.4.20, postfix 2.1.5) minor Linux - General 6 09-23-2019 11:09 PM
System Not Listening for port 23, telnet installed and running john_lotz Linux - Networking 7 02-05-2009 11:12 AM
Telnet no response to port 25 running Postfix shyee Fedora 2 01-09-2005 10:13 PM
Why is inetd listening? Vincent_Vega Linux - Security 8 09-17-2004 01:38 PM
Listening to Radio idor Linux - Software 0 08-15-2003 10:40 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:41 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration