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

is there a way to limit amount of email per X amount of time to certain domains? for example I have large list of emails and I have thousands of emails for yahoo.com, but if I start sending them all at once yahoo will temporarily defer me thinking that I'm doing something that I'm not suppose to do, yet if I send out only 100 emails an hour they are ok with this volume, so how can I restrict sendmail to send only 100 emails an hour to yahoo.com?

share|improve this question
    
i can't believe no one ever done something like that ;( –  alexus Oct 9 '09 at 14:15

2 Answers 2

There are two options:

1) If this is an actual server in your environment for users, and you're doing this from an application or a script, you should change your application or script to manage the number of emails you send over an allotted time. Otherwise, you'll cause adverse issues for your normal users.

2) You can run sendmail with -q[time] where [time] is the interval you want your mail to be sent.

Example from manpage:

`-q1h30m' or `-q90m' would both set the timeout to one hour thirty minutes.

For more information about how to use sendmail, you can read the manual here: http://www.sendmail.org/~ca/email/man/sendmail.html

share|improve this answer

Yahoo actually limits number of mails per envelope generally above that of mails per hour. If you reduce the number of Yahoo addresses per individual mail, they will allow a lot more through per hour.

share|improve this answer
    
I'm using yahoo as an example, I don't know what they rules are, most big ESPs have some sort of rule sets, so based on some tests I can adjust it and send emails quicker rather getting deferred all the time. –  alexus Sep 30 '09 at 19:41
    
Its the same with hotmail, live, gmail etc. Once you limit the number per envelope, you can actually send quite a few more through per hour than simply leaving a mass email. Most mailing software actually has functions to take care of this already. –  Ryaner Sep 30 '09 at 21:12

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.