Solved

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

Posted on 2010-11-18
4
821 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 500 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Resolve DNS query failed errors for Exchange
This process describes the steps required to Import and Export data from and to .pst files using Exchange 2010. We can use these steps to export data from a user to a .pst file, import data back to the same or a different user, or even import data t…
In this video we show how to create an email address policy in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.:  First we need to log into the Exchange Admin Center. Navigate to the Mail Flow…
The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager

757 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now