[Mimedefang] recipient count in filter()

Jan-Pieter Cornet johnpc at xs4all.nl
Tue Nov 21 09:35:04 EST 2006


On Tue, Nov 21, 2006 at 08:43:49AM -0500, Ron Peterson wrote:
> > Maybe you've altered the @Recipients array in some way?
> 
> Nope, I don't touch @Recipients.
> 
> If I put the following in my filter() block, the recipient count that is
> logged is always one.
> 
>     if( @Recipients ) {
>         my $recipient_count = scalar(@Recipients);
>         md_syslog('info', "Recipient Count: $recipient_count");
>     }

Maybe you're using stream_by_recipient? How are you testing exactly?

-- 
Jan-Pieter Cornet <johnpc at xs4all.nl>
!! Disclamer: The addressee of this email is not the intended recipient. !!
!! This is only a test of the echelon and data retention systems. Please !!
!! archive this message indefinitely to allow verification of the logs.  !!



More information about the MIMEDefang mailing list