--- amavisd~	Sun Nov 17 22:57:53 2002
+++ amavisd	Mon Nov 18 16:08:01 2002
@@ -4868,7 +4868,8 @@
 	# with mailing lists. Enable only if you know what you're doing!
     } else {
-	my(@locals) = grep { ! $_->recip_done && ($warn_offsite ||
-		  lookup($_->recip_addr, \@local_domains, $local_domains_re)) }
-			   @{$msginfo->recips};
+	my(@locals) = grep { ! $_->recip_done &&
+			     ($warn_offsite || lookup($_->recip_addr,
+					\@local_domains, $local_domains_re))
+			   } @{$msginfo->per_recip_data};
 	if (@locals) {
 	    my($notification) = Amavis::In::Message->new;
