Re: [Zope-dev] zope.sendmail and critical transaction errors.

2010-06-30 Thread Matthew Wilkes
On 2010-06-23, at 1359, Laurence Rowe wrote: I think the Before Commit Hook option is probably best here. DirectMailDelivery should only be used for testing anyway, or at least only on very small sites in production - QueuedMailDelivery will scale better. Sorry, I'm somewhat late to this

Re: [Zope-dev] zope.sendmail and critical transaction errors.

2010-06-24 Thread Chris Withers
Tres Seaver wrote: Patches attached for comment. - -sys.maxint to changing the mail delivery to a non-transactional form. Switching to a before commit hook is the *worst* of the optoins: it defeats the whole point of using zope.sendmail in the first place, which was to avoidi multiple

Re: [Zope-dev] zope.sendmail and critical transaction errors.

2010-06-24 Thread Jens Vagelpohl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 6/24/10 09:30 , Chris Withers wrote: Tres Seaver wrote: The misconfiguration of the mail host in transactional mode *does* cause the server to go into a lockdown mode (because errors are not supposed to be raised in 'tpc_finish'). There is

Re: [Zope-dev] zope.sendmail and critical transaction errors.

2010-06-24 Thread Wichert Akkerman
On 6/24/10 09:46 , Jens Vagelpohl wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 6/24/10 09:30 , Chris Withers wrote: Tres Seaver wrote: The misconfiguration of the mail host in transactional mode *does* cause the server to go into a lockdown mode (because errors are not supposed

[Zope-dev] zope.sendmail and critical transaction errors.

2010-06-23 Thread Laurence Rowe
With Zope2's MailHost now using zope.sendmail, we're seeing some critical errors when sending mail when the mail server domain name is misconfigured. http://dev.plone.org/plone/ticket/10675 (these are triggered by a password reset mail, the registration mail is sent immediately). This is because

Re: [Zope-dev] zope.sendmail and critical transaction errors.

2010-06-23 Thread Hanno Schlichting
Hi. On Wed, Jun 23, 2010 at 1:59 PM, Laurence Rowe l...@lrowe.co.uk wrote: I think the Before Commit Hook option is probably best here. DirectMailDelivery should only be used for testing anyway, or at least only on very small sites in production - QueuedMailDelivery will scale better. A

Re: [Zope-dev] zope.sendmail and critical transaction errors.

2010-06-23 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Laurence Rowe wrote: With Zope2's MailHost now using zope.sendmail, we're seeing some critical errors when sending mail when the mail server domain name is misconfigured. http://dev.plone.org/plone/ticket/10675 (these are triggered by a password