diff --git a/Changes b/Changes index d0c8cd7..45b6d99 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,9 @@ 0.27 + reset_transaction is called after disconnect plugins are called so + the Transaction objects DESTROY method is called. (Thanks to Robert + James Kaes ) + Made the SpamAssassin plugin work with SA 2.6+ (thanks to numerous contributors, thanks everyone!). Note that for now it's not including the Spam: headers with the score explained. For that use diff --git a/lib/Qpsmtpd/SMTP.pm b/lib/Qpsmtpd/SMTP.pm index e415a30..d344a5f 100644 --- a/lib/Qpsmtpd/SMTP.pm +++ b/lib/Qpsmtpd/SMTP.pm @@ -320,6 +320,7 @@ sub quit { sub disconnect { my $self = shift; $self->run_hooks("disconnect"); + $self->reset_transaction; } sub data {