Link to home
Start Free TrialLog in
Avatar of JerryNorton
JerryNorton

asked on

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

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?
Avatar of jar3817
jar3817

Is your MTA listening for connections? Type this command to find out:

# netstat -an |grep 25.*LISTEN
Avatar of JerryNorton

ASKER

it is listening. [root@web1 ~]# netstat -an | grep 25
tcp        0      0 127.0.0.1:25                0.0.0.0:*                   LISTEN
ASKER CERTIFIED SOLUTION
Avatar of Maciej S
Maciej S
Flag of Poland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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!