Send email to maildrop directly?
Posted: Wed Jan 16, 2008 1:54 pm
I have potentially millions of emails which are sent (currently with postfix). Typically I have seen most PHP application implement some kind of scheduler in combination with cron. I'm wondering if this is at all nessecary, as postfix docs seem to suggest it's internal queue manager is capable of handling massive amounts of email.
What I am wondering...is it possible to use Swift to send (say using a CLI script) 100K+ emails to postfix (or whatever SMTP is installed) all in one go? Obviously this would not work under all MTA's but postfix docs, like I said, suggest it's capable of massive list management.
The alternative is to implement the throttling/scheduler in PHP which would require cron and likely be less efficient than just sending the emails directly to the server and letting it queue up the messages for sending/scheduling/throttling.
Postfix, so it seems, allows for some sophisticated throttling, scheduling, etc so I'd much rather delegate those duties rather than re-implement them in my application.
Do you have any opinions/experiences with the above?
What I am wondering...is it possible to use Swift to send (say using a CLI script) 100K+ emails to postfix (or whatever SMTP is installed) all in one go? Obviously this would not work under all MTA's but postfix docs, like I said, suggest it's capable of massive list management.
The alternative is to implement the throttling/scheduler in PHP which would require cron and likely be less efficient than just sending the emails directly to the server and letting it queue up the messages for sending/scheduling/throttling.
Postfix, so it seems, allows for some sophisticated throttling, scheduling, etc so I'd much rather delegate those duties rather than re-implement them in my application.
Do you have any opinions/experiences with the above?