Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

have a VPS running CentOs 5.1 64bit with ISPManager panel. dovecot-1.0.7-7.el5 is used in conjunction with sendmail.

I can send e-mails to outside (sendmail works), can send and receive e-mails locally (from server itself), but I don't receive ones sent from outside (like my gmail account).

Get reports from google as follows:

Technical details of temporary failure: 
The recipient server did not accept our requests to connect. Learn more at 
[ (10): Connection refused]
[ (20): Connection refused]

Any ideas? P.S. I can ping I can access mailboxes via POP3/IMAP. Thanks in advance!

share|improve this question

migrated from Apr 16 '11 at 12:11

This question came from our site for professional and enthusiast programmers.

there are two MX records created with ISPManager (mail) – Vitaly Apr 15 '11 at 23:14

First double check how your MX'es are set: host -t mx And then check if you can telnet 25 from outside to see if you can connect to SMTP port fine.

It looks to me like MTA is binded to localhost or you have some firewall blocking SMTP access.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.