Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 06-24-2008, 06:29 PM   #1
LQ Newbie
Registered: Jun 2008
Posts: 1

Rep: Reputation: 0
Lightbulb Suse 10.3- Postfix - Connection refused

I recently came across this problem and after searching for hours I still did not get the entire solution in one thread. I eventually resolved the problem using other information picked up from other threads within the Linux Questions site.

I thought i would make it easier to find in one place by posting my solution here.

After setting up Postfix and configuring the config files, when trying to access the server on port 25 by telnet to the localhost ( we gain access to the server. If you telnet to another interface on the same machine for example 192.168.30.x on port 25 you get "Connection refused".

Edit file - /etc/postfix/
From - #inet_interfaces = all
To - inet_interfaces = all
From - #mynetworks_style = subnet
To - mynetworks_style = subnet
From - mynetworks =
To - mynetworks =,

Edit file - /etc/postfix/
From - smtp inet n - n - - smtpd
To - inet n - n - - smtpd

Then restart the Postfix server:
/etc/postfix/postfix stop
/etc/postfix/postfix start

I hope this helps.
Old 06-24-2008, 06:36 PM   #2
LQ Guru
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
I'm not surer where you looked. This is from the postfix site under documentation/standard configuration examples


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
connection refused for postfix - cant download mail thandika Linux - Server 2 10-02-2007 07:05 AM
Postfix SMTP config problems, connection refused yallu Linux - Software 1 04-12-2005 04:49 AM
Postfix/Cyrus Connection refused. Why? amano Linux - Software 0 01-10-2005 04:36 AM
POSTFIX holding mail in qeue, won't deliver, connection refused bentman78 Linux - Software 2 10-27-2004 07:11 AM
Connection Refused - Postfix seanfitz Linux - Networking 1 01-07-2004 02:34 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:39 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration