Results 1 to 7 of 7
Hi guys and girls, hopefully someone will know the answer to this question as it is driving me nuts. I have Postfix running on our local server, sending out alerts ...
- 11-01-2009 #1Just Joined!
- Join Date
- Sep 2009
- Location
- Geelong, Australia
- Posts
- 13
Postfix Connection Refused Error
Hi guys and girls, hopefully someone will know the answer to this question as it is driving me nuts. I have Postfix running on our local server, sending out alerts and stuff, however I have now noticed that it cannot receive mail for the local users on that server. I checked the logs on the local server and there is no mention of the mail even getting to the server. I checked the logs of the server I was sending the mail from and found the following error in the logs:
DomainName[IPAddress] Connection Refused [Port]
I have shutdown the firewall everything, and still cannot get it to send mail. I thought it was really strange that the logs showed nothing on the receiving end. Any help anyone could provide would be fantastic.
- 11-02-2009 #2
test it with telnet
telnet email - Google Search
that way you can find out if its a firewall, network, or smtp server issue.
report back with errors found above if you need more help
- 11-02-2009 #3Just Joined!
- Join Date
- Sep 2009
- Location
- Geelong, Australia
- Posts
- 13
Hi, I tried with telnet and got the same connection refused error. I use csf as a firewall and have the ports added. I tired with the firewall turned off and still got the same error.
- 11-02-2009 #4
is postfix listening? can you try to connect over telnet on that machine?
you can run
to see what port its listening onCode:lsof -ni
- 11-02-2009 #5Just Joined!
- Join Date
- Sep 2009
- Location
- Geelong, Australia
- Posts
- 13
No, I recieve the same connection refused error when I attempt to telnet on port 25. This is the result of that
command you gave me. I find it strange that all the others have ports where this one only says smtp:
master 3644 root 12u IPv4 8378 0t0 TCP 127.0.0.1:smtp (LISTEN)
I also had another thought, I don't control the DNS settings directly, but could this be caused by a missing MX record? In the logs the domain name is being resolved however I was talking with another staff member and they didn't believe we have an MX record for this particular server.
- 11-04-2009 #6
has this ever worked or are you just now wanting this funtionality?
It sounds like postfix isn't listening for incoming connections, as shown from your lsof post, its listening on 127.0.0.1 ONLY
your solution might be similar to this
NEOHAPSIS - Peace of Mind Through Integrity and Insight
- 11-04-2009 #7Just Joined!
- Join Date
- Sep 2009
- Location
- Geelong, Australia
- Posts
- 13
You were right, postfix was only listening to localhost! Thanks for your help man.


Reply With Quote
