Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Enabling SASL on Centos 5 / Postfix / Dovecot leads to 'connection refused'

Posted on 2010-11-18
4
Medium Priority
?
838 Views
Last Modified: 2013-11-10
I followed the instructions to add SASL support to working postfix / dovecot install on Centos 5.
(instructions found here: http://www.linuxmail.info/postfix-smtp-auth-dovecot-sasl/  )
After changing to require SASL, server always shows:

[root@web1 etc]# telnet mydomain.com smtp
Trying 69.72.208.163...
telnet: connect to address 69.72.208.163: Connection refused

telnet localhost pop3 is ok

No messages in maillog or messages.
This is on a hosted Virtual private server. Appears to be using parallels
Thoughts?
0
Comment
Question by:JerryNorton
  • 2
4 Comments
 
LVL 26

Expert Comment

by:jar3817
ID: 34175200
Is your MTA listening for connections? Type this command to find out:

# netstat -an |grep 25.*LISTEN
0
 

Author Comment

by:JerryNorton
ID: 34180185
it is listening. [root@web1 ~]# netstat -an | grep 25
tcp        0      0 127.0.0.1:25                0.0.0.0:*                   LISTEN
0
 
LVL 23

Accepted Solution

by:
Maciej S earned 2000 total points
ID: 34180224
It is listening on localhost interface only.

Post here output of "postconf -n" command.
Additionally, attach (or paste its content here) your master.cf file.
0
 

Author Closing Comment

by:JerryNorton
ID: 34181737
I had ADDED a line inet_interfaces = all.
However, I didn't comment out the line inet_interfaces = localhost when I did that. I had 'all' before 'localhost'. Thanks!
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

As cyber crime continues to grow in both numbers and sophistication, a troubling trend of optimization has emerged over the last year.
Here in this article, you will get a step by step guidance on how to restore an Exchange database to a recovery database. Get a brief on Recovery Database and how it can be used to restore Exchange database in this section!
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…

885 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question