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

Jens Vagelpohl jens at dataflake.org
Thu Jun 24 03:46:45 EDT 2010


-----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 *no* database corruption, but
>> the transaction manager can't know that, and so it deliberately refuses
>> to commit more transactions until the admin un-futzes the problem (in
>> this case, by fixing the mailhost configuration) and restarts the server.
> 
> Yeah, what he said...

It's not as easy as that, though. Mailhost misconfiguration is just one
reason why errors may be raised during the actual sending. The receiver
address may be wrong, which is where I tend to see it. This is not a
condition I could reasonably test for in my code before attempting to
send though the MailHost.

jens

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)

iEYEARECAAYFAkwjDWUACgkQRAx5nvEhZLKf9ACgjfp7Nxf5B+2BwT6Egp6mhuVV
yGIAoKhuD8sEGT+mn6NcbTvqlWxduYsi
=LIL8
-----END PGP SIGNATURE-----


More information about the Zope-Dev mailing list