Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have a CentOS installation with bind/postfix/dovecot. After I installed it I tested and I could send emails to any direction without problems. After some time (maybe a month or so) when I tried to send an email I noticed that it wasn't delivered to destination. When I checked the logs I found something like this:

    postfix/smtp ... host alt1.gmail-smtp-in.l.google.com[74.125.53.27] refused to talk to me: 451 too many connection attempts
    ...
    postfix/smtp[26671]: 2EFC411083A7: to=<email_here>, relay=none, delay=120, delays=0.02/0.01/120/0, dsn=4.4.1, status=deferred (connect to alt4.gmail-smtp-in.l.google.com[74.125.91.27]: Connection timed out)

It does get sent to some small mail services but not to major like gmail yahoo or hotmail. The issue is the same above. I googled a lot for this error but found nothing that would solve this.

It does happen on CentOS 5.5, postfix 2.3.3

Does anyone know how to fix it?

UPDATE: Everybody tries to tell me that I send too many emails. This is not the case. I wasn't sending any email from this server. I just installed it, configured, tested, and forgot about it. Just used to develop web applications on it. And no, there isn't any web application on it through which somebody could send tons of emails. And I checked the logs and there aren't any email sent from this server. So the problem is not that I or somebody else used this server to spam or to send tons of email.

share|improve this question

2 Answers 2

up vote 0 down vote accepted

There are various things you can try, from the top of my head:

  • Install & configure Domainkeys
  • Ensure there is valid reverse DNS for your server
  • Ensure there is a valid MX & SPF record for your server
share|improve this answer
    
I had Domainkeys installed when I noticed the problem. I tried to remove them to see if the problem persist. I have SPF and MX records. –  JohnZ Feb 17 '11 at 18:24

If you send large amounts of e-mail to gmail, hotmail, yahoo and other large providers, they will throttle you if you don't play nice and/or if they don't know you.

Google gives advice here: https://mail.google.com/support/bin/answer.py?answer=81126

Yahoo! here: http://help.yahoo.com/l/us/yahoo/mail/postmaster/basics/postmaster-38.html;_ylt=AhmGh0eprkWxD1JL6AX_CBUIJHdG

Hotmail here: http://mail.live.com/mail/troubleshooting.aspx

Also with you can look at http://www.list-unsubscribe.com/ which more and more providers are implementing.

And here: http://postmaster.tdc.dk/publish.php?id=21105

Those links should provide you with a lot of good information on how to handle bulk e-mail. If you do not follow those guidelines you will get blacklisted, throttled and get bad reputation.

share|improve this answer
    
I wasn't sending ANY emails. –  JohnZ Feb 17 '11 at 18:23
    
Someone or something from your IP address is hammering Google. You will not necessarily be able to see that in the logfiles, if a script or something like it is hammering google bypassing your MTA. –  Frands Hansen Feb 17 '11 at 19:00

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.