[clug-talk] Postix Only Listening on Localhost

Curtis Rempel curtis at enigma-logic.ca
Wed May 31 09:09:24 PDT 2006


On Wednesday 31 May 2006 09:46, Mark Carlson wrote:
> On 5/31/06, Jon <me at jonwatson.ca> wrote:
> > This should be a no-brainer. I've Googled the hell out of it and
> > tried a bajillion things, but no go. KMail can't connect to my
> > (Kolab) postfix. A netstat -tpl (thanks Aaron!) shows
> >
> > tcp 0 0 localhost:smtp *:* LISTEN 1 3150/sendmail: MTA
> >
> > I take this to mean that postfix will only accept localhost
> > connections. Telnetting to localhost 25 from the box works, but
> > telnetting from outside to port 25 fails with a "connection
> > refused" which seems to bear this theory out.
> >
> > I can't help but feel this is so lame, but I can't suss it. Can
> > someone tell me where to tell postix to accept connections from
> > the outside world?
>
> By the outside world, do you mean outside your local network or
> outside the one computer?  If you mean outside your local network,
> which ISP are you on?  Some ISPs "block" port 25 traffic, but I don't
> know if they do it in Calgary...  just a thought.
>
> -Mark

For postfix, try this:

# postconf inet_interfaces
# postconf -e inet_interfaces=all
# postconf inet_interfaces
# /etc/init.d/postfix restart

The parameter is located in /etc/postfix/main.cf

-- Curtis



More information about the clug-talk mailing list