Exim is an excellent choice imho. I've used it for years and its solid and very simple to configure (well, by comparison to sendmail anyway). In fact it was based originally on sendmail source code, if I remember correctly, and one of the main goals of the Exim creator(s) was to eliminate the awful sendmail configuration.

Once you have passed the message to exim it enters the mail queue and that has been impervious to sudden server crashes/reboots etc. since the dawn of email :). In any event, troubleshooting/diagnosing/ queuing mail with your own homegrown solution is reinventing the wheel as someone already said. A homegrown solution isn't going to be any more resilient then the tried an tested mailq. IMHO the best way to ensure that the mail got there is to use receipts.

Anyway thats my 2c. :)

Chad.

On 30 Jan 2009, at 14:52, Jonathan Wallace wrote:

Jack,

That's a great point. In a 5 minute google search, I couldn't find anything about qmail or postfix being able to rate limit out of the box but I did find that exim could. http://www.exim.org/exim-html-4.63/doc/html/spec_html/ch39.html#SECTratelimiting

The only question in my mind is, does the database email queue provide persistence that an email server would not? And how important is such things to the OP. I'm not familiar enough with SMTP servers to know what happens during a server reboot what happens to queued mail.

Cheers,
 Jonathan

On Fri, Jan 30, 2009 at 7:50 AM, Jack Nutting <[email protected]> wrote: On Tue, Jan 27, 2009 at 10:14 AM, Ramon Tayag <[email protected]> wrote:
> PROBLEM
> I need some backgroundrb help. I have a Rails app that connects to an > SMTP server that can only send up to 250 emails per hour. If I try to
> send the 251st email, it will just ignore it.
>
> SENDMAIL?
> I almost bashed my head trying to setup sendmail so I can send my own
> emails, but not all emails were being sent.

An outbound mail queue seems like a "solved problem", i.e. every piece
of mail server software already does this.  Adding your own queue
before passing it off to your ISP's SMTP seems like a waste of effort
on your part, and will lead to delays whenever you need to send more
than 250 mails/hour.

I think a better solution might be to run your own SMTP server.
Sendmail is torturous (I maintained the sendmail installation for a
former employer, so I know only too well), but it's not the only
choice.  Both qmail and postfix have good reputations as sendmail
replacements.  Take a look at qmail.

--
// jack
// http://www.nuthole.com
_______________________________________________
Backgroundrb-devel mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/backgroundrb-devel

_______________________________________________
Backgroundrb-devel mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/backgroundrb-devel

_______________________________________________
Backgroundrb-devel mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/backgroundrb-devel

Reply via email to