Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 05 Oct 2006 17:46:19 +0100
From:      Alex Zbyslaw <xfb52@dial.pipex.com>
To:        Aziz Manas <azeissmanas@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Couldn't open SMTP server 127.0.0.1:25!
Message-ID:  <452536DB.80303@dial.pipex.com>
In-Reply-To: <57fdf6a00610050843l1373f987sdc5c27a99d253bf8@mail.gmail.com>
References:  <57fdf6a00610050843l1373f987sdc5c27a99d253bf8@mail.gmail.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
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





Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?452536DB.80303>