On 13 Oct 2020, at 22:47, Zsombor B <[email protected]> wrote:
> I know this is a complicated question but what/where do you see possible
> bottlenecks in postfix?
> Is it CPU? RAM? Disk IO?
In theory? Sure, any of those could be a bottle neck. On actuality, the bottles
necks are processing spam if you receive mail and not appearing to be a spammer.
> I'm building an infra to send out ~3-5 million emails a day.
If you pop onto the Internet all of a sudden sending 5 million emails a day you
better be sure that your DKIM SPF DMARC and DNS are perfect and that your IP
address has never been associated with a spammer. Because if there is one thing
that will cripple your mail server it is having mail sit in queue because it's
been throttled. The big email hosts do this a lot (especially Outlook.com and
yahoo.com). And if you get on their (automated) bad side, you are well and
thoroughly screwed. If you messages LOOK spammy enough that users will mark
them as spam, then you will, again, be completely hosed whether the email is
spam or not.
Other than that, I think a raspberry pi 4 with a USB SSD might be able to mange
5 million emails a day.
--
'What is this thing, anyway?' said the Dean, inspecting the implement
in his hands. 'It's called a shovel', said the Senior Wrangler.
'I've seen the gardeners use them. You stick the sharp end in the
ground. Then it gets a bit technical.' --Reaper Man