Em 13/11/15 08:09, Patrick Ben Koetter escreveu:
* Istvan Prosinger <ist...@prosinger.net>:
Hello,
I'll have a project to send 300-400k emails a day from a new IP
address with one server. This can build up a signifficant mail queue
on the server.
We have several similar solutions already working but this time the
idea is to have me do this on a VPS (no SSD drives involved),
hmmmm....
If the machine goes down you risk loosing all messages in delivery. You can
resend them, but then you will have to figure out which ones had already been
delivered and which were still on the machine. I'd wouldn't risk that. It
doesn't pay and you do have the choice to go for something more stable.
I do run a similar system, which deliveres about 150-180k emails
daily, and i do use tmpfs for the postfix spool. To avoid the risk of
losing all data in the case of a system crash, which by the way never
happened on the 3 years the system is running , i use an rsync routine
to sync the tmpfs to the disk. Another script, which runs on the machine
startup, check if the folders are there on the tmpfs and, if they are
not there, creates them and sync from the disk to the tmpfs. The 'sync
from tmpfs to disk' is also configured to run on an eventual system
reboot and will trigger the 'sync from disk to tmpfs' when the system
boots up.
--
Atenciosamente / Sincerily,
Leonardo Rodrigues
Solutti Tecnologia
http://www.solutti.com.br
Minha armadilha de SPAM, NÃO mandem email
gertru...@solutti.com.br
My SPAMTRAP, do not email it