I want to redirect messages that would otherwise be bounced due to high spam score to a local mailbox instead. After searching the archives, I came across the following snippet:

   # 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('[EMAIL PROTECTED]');


   I presume this ends up in filter_end()?

--
W | It's not a bug - it's an undocumented feature.
 +--------------------------------------------------------------------
 Ashley M. Kirchner <mailto:[EMAIL PROTECTED]>   .   303.442.6410 x130
 IT Director / SysAdmin / Websmith             .     800.441.3873 x130
 Photo Craft Laboratories, Inc.            .     3550 Arapahoe Ave. #6
 http://www.pcraft.com ..... .  .    .       Boulder, CO 80303, U.S.A.


_______________________________________________
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