Le 21/12/2010 11:31, David Brophy a écrit :
Hi,
I'd like to set Postfix up as a high performance MTA for sending high
volumes of mail.
Our website (dontstayin.com <http://dontstayin.com>) sends about 100,000
mails per day (message notifications etc.)
We also send about 1-2 million bulk mails per day, in the form of
newsletters and e-flyers (it's all opt-in, targetted and instantly
unsubscribable)
We're currently using Windows built in smtp server which can't keep up
with the load at all, so I'm configuring a Ubuntu server to run Postfix
to take over this job.
Are the default options for Postfix able to handle this volume? Do I
need performance tuning? The server is a dual processor, dual core
Opteron with 16GB ram and a 60GB OCZ Vertex 2 SSD disk.
when you say 2 millions a day, I guess you don't care about delay? that
is, it doesn't matter if a message is sent later in the same day, right?
If so, 2 millions a day means less than 25 messages a second. so the
bottleneck won't be "processing". and assuming you have enough network
bandwidth (if every message is 100 Ko, then you need about 20 Mbps),
that shouldn't be network IO either. your bottleneck is most certainly
disk IO. I assume messages are "personalized" (every recipient gets a
different mail), that is, your postfix will need to queue 2 million
files a day.
Ideally I would like the two types of mail to be handled differently.
try using different postfix instances (run postfix twice, each with its
own config, queue, ... etc).
The bulk mail is much less important than the notifications. I imagine
my code could use two separate IP addresses to send mail - one for bulk
mail and one for notifications. The expiry times for the bulk mail can
be set relatively short so the queue doesn't get too big. I imagine
normal settings for the notifications.
The important thing is that both queues must be relayed out onto the
internet from the same IP address. Our current mail server IP has good
reputation and it's on all the relevant white-lists. Having to set this
all up again is not something I want to do.
it's still a good idea to use 2 different IPs (if at your side you find
the need to have different treatment of bulk vs notification mail, be
certain that recipients would like to be able to do the same. and if you
help them, they'll find it nice...).
so my advice is: start getting a good reputation for the new IP now and
you won't regret it.
Is there a good step-by-step guide to setting up Postfix in this sort of
configuration?
Thanks in advance for any help!!!
--
David Brophy
d...@dontstayin.com <mailto:d...@dontstayin.com>