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

I got a new VPS setup and I'm wondering why I can't send emails to yahoo and gmail. Here's the error in /var/log/maillog:

00:43:00 mylamp sendmail[32507]: o45Gh0nc032505: to=, ctladdr= (48/48), delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=120405, [], dsn=4.0.0, stat=Deferred: Connection refused by

What seems to be the problem?

share|improve this question

Could be your IP got black-listed by a previous owner of your VPS's IP. Common for an un-managed VPS to be compromised by a spammer or other blackhat activity in the wild.

Edit: Also, make sure your reverse DNS (rDNS) is set up properly, as big SMTP servers will need this to verify you are who you say you are.

share|improve this answer
THat pretty much sums it up. Use something like to check whether your server is OK or the IP is burned ;) – TomTom May 5 '10 at 17:11

Your Answer


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