Couldn't open SMTP server 127.0.0.1:25!

Alex Zbyslaw xfb52 at dial.pipex.com
Thu Oct 5 09:46:28 PDT 2006


Aziz Manas wrote:

> I'm running Redhat 9 with OpenWebMail installed. When i try to send 
> email it
> got this error message from OpenWebMail
> Couldn't open SMTP server 127.0.0.1:25!
>
This is a FreeBSD mailing list.  FreeBSD has nothing whatsoever to do 
with Redhat, I'm afraid.

Having a wild guess, it looks like postfix is not actually running.  Try 
"ps augx | egrep postfix" to see that there is actually something 
listening.  If not, then check that you actually have startup scripts 
enabled for postfix.

Try:

    ls /etc/rc.d/rc?.d/S*po*

which should show output like

/etc/rc.d/rc2.d/S80postfix  /etc/rc.d/rc3.d/S80postfix  
/etc/rc.d/rc4.d/S80postfix  /etc/rc.d/rc5.d/S80postfix

If not, the as root

    chkconfig --add postfix

probably does the right thing, but I find the chkconfig man page to be 
obscure and unhelpful so there might be a better way.  After running the 
above ls should show the files as listed above.

To try starting postif now, run as root
    sh /etc/init.d/postfix start

If none of this makes any sense, then I suggest getting a book on Linux 
administration.

--Alex




More information about the freebsd-questions mailing list