Last week, I noticed that email seems to be dropped sometimes.
Since email is important, I had to do something.  The new email process
works like this:

1. I insert the email to be sent into postgresql.

2. Every 3 minutes, a cron job runs and sends any unsent emails it finds
in the database.  I bcc to a special auditing account.

3. An hourly cron job checks whether the auditing account has
received the email. If so then I assume all is well.

The auditing account is probably overkill.  I'll probably disable it
after testing for a few weeks.

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Heartlogic-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/heartlogic-dev

Reply via email to