[Mimedefang] SpamDrop
-ray
ray at ops.selu.edu
Tue Jul 22 19:34:01 EDT 2003
I'm using this code, which i found in many places, to dump Spam to a
spamdrop, removing original Recipients. It's in filter_end. The
add_header works, and the add_recipient works. But i still get a copy of
the message, as if the delete_recipient does not work (X-Orig_Rcpts
reflects the correct value). mimedefang 2.25, spamassassin 2.60. Any
ideas on this?
if ($hits >= 13) {
# Add a header with original recipients, just for info
action_add_header("X-Orig-Rcpts", join(", ", @Recipients));
# Remove original recipients
foreach $recip (@Recipients) {
delete_recipient($recip);
}
# Send to spam address
add_recipient("spamjunk\@selu.edu");
}
ray
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Ray DeJean http://www.r-a-y.org
Systems Engineer Southeastern Louisiana University
IBM Certified Specialist AIX Administration, AIX Support
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
More information about the MIMEDefang
mailing list