How to send 50.000 mails x hour and don't die by the way??
Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
How to send 50.000 mails x hour and don't die by the way??
Hi, I need to build a system that can provide me capacity to send more than 50.000 mails per hour. Now I have inherit a server farm with 40 postfix servers, and one server managing which of this servers send the mails but its programming for someone but it's too complex. I would like to have a new system for do that, I would appreciate any help or suggestions. (To manage hotmails, Yahoo and others complains i have a contract with a specialist company to have ours ips in whitelist, activate and deactivate servers )
Distribution: Mostly Gentoo, sometimes Debian/(K)Ubuntu
Posts: 143
Rep:
Question
What exactly would be your question? No one is going to write a step-by-step tutorial for this, too much depends on the exact setup. I don't exactly know, what company needs such capacity, but if you are in some shady business, no whitelist will help you. Otherwise, your application has to be prepped so it uses different mail servers for mails to the same destination.
Would be perfect if someone do a tutorial. In other way, our company isn't "shady business", we have a lot of domains in different countries where the people use it to communicate through mails.
I actually use a server that its configure with a multiprocess system to send the mails trough the postfix servers depends of domain where mails comes, but I try to ask, if there any other way to configure a system to send a lot of mails in a load balance infrastructure using postfix? Because now its not real load balance.
If you have any question feel free to ask me. I suppose as someone who knows to suggest me.
Distribution: Mostly Gentoo, sometimes Debian/(K)Ubuntu
Posts: 143
Rep:
You can't do a tutorial for this. Just too much depends on the infrastructure you have. For example, one approach would be to configure one server to use an other by it's host name and then add 40 A records to your DNS in a round robin fashion. It's crude, but it works. An other would be to write specialised software. Or you could use Exim, which supports almost any conceivable scenario.
The above examples are exclusively for newsletters. They won't work for regular e-mail. If you have regular e-mail, I'd recommend something else. For example, you could add an LVS in front of your mail servers. So you see, there are plenty of possibilities, but no one will know, what would work best for you.
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660
Rep:
50,000 messages an hour is only 14 per second, which should easily be within the range of even Sendmail on a recent single CPU server. If you're having trouble sending e-mail faster than this, it's probably a bottleneck in the application that is generating the messages, not in your e-mail server.
If you're having trouble delivering e-mail because you're frequently blacklisted, then you need to clean up your lists and the opt-out process, otherwise that's going to keep happening.
I think don't get you to understand what it's my problem. Right now the system works as follows: Each server has an IP address, and complaints from Hotmail or Yahoo from time to time they force me off the ip before they activate it on a blacklist. So turn off the server until I get a notice that I can use the ip again and start the server. But I would like to have a rotation mailsystem or something, to do that never exceeds the limits of claims. For example, a rrd database with the server list and send the same amount of mail for each server.
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660
Rep:
Those sites don't usually block due to volume, they block due to user complaints. In some cases as few as one or two users clicking the "Report as Spam" button on your e-mails will cause the sending IP to be blocked.
Basically it sounds like your problem is one or all of the following: The content of your messages, the number of non-existent addresses on your list, or that you have an unsatisfactory opt-in/opt-out process.
Most e-mail sites don't actually rate-limit, unless you're sending a lot of spam, viruses, or messages to non-existent addresses.
It sounds like your problem isn't a technical one with delivery, it's a problem with the quality of what you're sending and to whom.
I seem to want to agree with Chort's last posting. Check your content and your adddress lists. You really haven't told us much about the type of messages you are handling. I smell something funny here..... just my opinion.
Regards,
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.