On 2007-08-23 18:50:33 +0200, Hanno Hecker wrote: > But it would be easy to add / generate a transaction id after every > reset_transaction() call. This could be logged instead of (or as > addition to) the PID. [...]
> Index: lib/Qpsmtpd/SMTP.pm
> ===================================================================
> --- lib/Qpsmtpd/SMTP.pm (revision 774)
> +++ lib/Qpsmtpd/SMTP.pm (working copy)
> @@ -388,8 +388,8 @@
> }
> else { # includes OK
> $self->log(LOGINFO, "getting mail from ".$from->format);
> - $self->respond(250, $from->format . ", sender OK - how exciting to get
> mail from you!");
> $self->transaction->sender($from);
> + $self->respond(250, $from->format . ", sender OK - your transaction id
> is ".$self->transaction->id);
> }
> }
>
I like that, although I suspect that most clients will just discard it.
hp
--
_ | Peter J. Holzer | I know I'd be respectful of a pirate
|_|_) | Sysadmin WSR | with an emu on his shoulder.
| | | [EMAIL PROTECTED] |
__/ | http://www.hjp.at/ | -- Sam in "Freefall"
signature.asc
Description: Digital signature
