I have a question about the ms-lite code you provided. I was looking at the logging plugins and I see that aside from perltidy style changes, the only difference between logterse and your logging/terse plugin is the default log level. Understandable. However, I'm not sure why your logging/ffile differs from qpsmtpd's logging/file in the following manner:
@@ -263,15 +291,15 @@ # - It's not already open # - We're allowed to split sessions across logfiles # - We haven't logged anything yet this session - # - We aren't in a session if (!$self->{_f} || !$self->{_nosplit} || - !$transaction || - !$transaction->notes('file-logged-this-session')) { - unless (defined $self->maybe_reopen($transaction)) { + !$txn->notes('file-logged-this-session') ) + { + unless ( defined $self->maybe_reopen($txn) ) + { return DECLINED; } - $transaction->notes('file-logged-this-session', 1) if $transaction; + $txn->notes( 'file-logged-this-session', 1 ); } my $f = $self->{_f}; Can you explain the significance of this change? On Thu, Oct 1, 2009 at 2:13 PM, Steve Kemp <st...@steve.org.uk> wrote: > This document might be interesting to other users > of qpsmtpd: > > http://book.mail-scanning.com/ > > It describes how I implemented and managed the setup of a > qpsmtpd-based filtering service which rejected about 10 million > messages a month at the peak. > > (Since the service described has gone away I'll update the > wiki links for the few plugins which were hosted there.) > > Steve > -- >