LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 05-30-2008, 05:47 AM   #1
CoolCow
LQ Newbie
 
Registered: May 2008
Posts: 8

Rep: Reputation: 0
Postfix running but not responding


I'm new to this forum, so first off: Hi to all!

I've managed to install Apache + PHP + mysql + postfix on a Redhat Enterprise server.

Everything works except for postfix. The tutorial i used for postfix is this one.

The problem:
When i try "telnet localhost smtp" i get this:
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.

As you can see telnet connects, but the server doesn't awnser with a 220 message (e.g. 220 servername ESMTP Postfix)

Ignoring that i tried to "ehlo host" and that doesn't do anything eighter. As a matter of fact the server doesn't respond to anything i type, not even "quit"...

So what's wrong here?
 
Old 05-30-2008, 06:25 AM   #2
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 97
Hi.

Do you get the same with 'telnet localhost 25'?
What do you get from 'netstat -pantu | grep 25' as root?

Dave
 
Old 05-30-2008, 06:56 AM   #3
CoolCow
LQ Newbie
 
Registered: May 2008
Posts: 8

Original Poster
Rep: Reputation: 0
Yes, i get the same output on port 25.

The netstat:
Code:
netstat -pantu | grep 25
tcp        0      0 127.0.0.1:25                0.0.0.0:*                   LIST                          EN      17357/master
tcp       16      0 127.0.0.1:25                127.0.0.1:37163             CLOS                          E_WAIT  -
tcp       21      0 127.0.0.1:25                127.0.0.1:59485             CLOS                          E_WAIT  -
tcp       63      0 127.0.0.1:25                127.0.0.1:59486             CLOS                          E_WAIT  -
tcp       63      0 127.0.0.1:25                127.0.0.1:59487             CLOS                          E_WAIT  -
tcp       33      0 127.0.0.1:25                127.0.0.1:43917             CLOS                          E_WAIT  -
tcp       29      0 127.0.0.1:25                127.0.0.1:55951             CLOS                          E_WAIT  -
tcp       63      0 127.0.0.1:25                127.0.0.1:55952             CLOS                          E_WAIT  -
tcp       98      0 127.0.0.1:25                127.0.0.1:43748             CLOS                          E_WAIT  -
tcp      107      0 127.0.0.1:25                127.0.0.1:34547             CLOS                          E_WAIT  -
Edit:
I forgot to tell that sending mails works.
I've installed the postfixadmin script and sent a mail through that and it was delivered.

Last edited by CoolCow; 05-30-2008 at 07:58 AM.
 
Old 05-30-2008, 07:52 AM   #4
Dudydoo
Member
 
Registered: Sep 2003
Location: UK
Distribution: I use 'em all ;-)
Posts: 275

Rep: Reputation: 38
I've had this before with postfix, but I'm now racking my brains to remember what it was :-)

I'm sure it's probably a configuration problem. I'll reply again when/if I remember.

Meanwhile, check /var/log/mail.log for any errors on postfix startup.
 
Old 05-30-2008, 08:33 AM   #5
CoolCow
LQ Newbie
 
Registered: May 2008
Posts: 8

Original Poster
Rep: Reputation: 0
Logfiles, why do i always forget about them

logfile said:
fatal: open database /etc/postfix/aliases.db: No such file or directory

Logic error since aliases.db is located in /etc/aliases.db...

Like you said, configuration problem...
 
Old 05-30-2008, 09:01 AM   #6
Dudydoo
Member
 
Registered: Sep 2003
Location: UK
Distribution: I use 'em all ;-)
Posts: 275

Rep: Reputation: 38
Code:
# /usr/sbin/postalias /etc/posfix/aliases
 
  


Reply

Tags
postfix, redhat, telnet



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
Firefox is already running, but not responding - Bug? paulpeer Mandriva 77 06-05-2012 04:41 PM
thunderbird is already running but not responding wearetheborg Linux - Software 9 09-06-2011 12:52 PM
Slackware. The keyboard stops responding after "Running /etc/rc.d/rc.modules-2.6.21." kolRn Linux - Hardware 10 01-22-2008 12:02 AM
trying to get NIS up: ypserv running but not responding? BrianK Linux - Networking 1 06-07-2004 06:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:39 PM.

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