Solved

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

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

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…
The new Gmail Phishing Scam going around is surprising even the savviest of users with its sophisticated techniques.
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…
To show how to create a transport rule 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 >> Rules tab.:  To cr…

820 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