MD Users,

Any reason why I wouldn't want to do this:

sub delete_recipient ($) {
    my($recip) = @_;
    write_result_line("S", $recip);
+    @Recipients = grep { $_ ne $recip } @Recipients;
    return 1;
}

I have a filter that removes recipients from the message when they don't
want spam and others do, but when graphdefang is called it shows mail_in
for every user because it iterates though @Recipients.  This causes my
stats to be all jumbled up as well as makes the logs misleading.

Thanks,
schu
_______________________________________________
NOTE: If there is a disclaimer or other legal boilerplate in the above
message, it is NULL AND VOID.  You may ignore it.

Visit http://www.mimedefang.org and http://www.roaringpenguin.com
MIMEDefang mailing list [email protected]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

Reply via email to