Hanno Hecker wrote:
> Index: lib/Qpsmtpd/SMTP.pm
> ===================================================================
> --- lib/Qpsmtpd/SMTP.pm       (revision 804)
> +++ lib/Qpsmtpd/SMTP.pm       (working copy)
> @@ -802,6 +802,7 @@
>    my ($self, $rc, $msg, $args) = @_;
>    
>    # reset transaction if we queued the mail
> +  $self->reset_connection;
>    $self->reset_transaction;
>    
>    if ($rc == DONE) {

Except if it is written properly, reset_connection should in fact drop the
transaction object as well, so the order you chose should be a noop.  I would do
that the other way round: connections contain transactions, so unroll them in
reverse.

John

Reply via email to