[Mimedefang] Determining current recipient

David F. Skoll dfs at roaringpenguin.com
Thu Jun 12 17:03:00 EDT 2003


On Fri, 13 Jun 2003, Andrew Catford wrote:

> Because as a test, I just did an 'action_add_header( "X-Blah",
> "$Recipients");', and the order of the recipients was identical in each
> copy of the message..

What is "$Recipients"?

Try this:

sub filter_begin {
	return if stream_by_recipient();

	my $recips = join(", ", @Recipients);
	action_add_header("X-Streamed-Recipients", $recips);

	# Rest of your filter...
}

Regards,

David.



More information about the MIMEDefang mailing list