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 sendmail on my SMTP server. and sometimes our management asks my to send mailshot of 200K the problem: some mail-servers recognize my server as a spammer and block me since i am sending large bulk in short time. is there a way to make sendmail to send at most 500 email per hour to specific domain, and to keep others for the next hour to send another 500 emails and so on for example to send 500 emails at most to @yahoo.com per hour. Thanks

share|improve this question

2 Answers 2

up vote 0 down vote accepted

No - maybe - well OK, yes but it's horribly complicated - you'd need to enable queueing and control the selective flushing of the queues very precisely.

A better solution would be to add a milter which does all this automatically for you - e.g. milter-limit

share|improve this answer

You're tackling the problem at the wrong point. You should be solving this at the point where the emails are being generated, not at the MTA. Of course the real problem is that if you're sending out 200k emails at one time you're going to have a hard time convincing anyone, or any system, that you're not a spammer.

share|improve this answer

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.