I think these building blocks will help:

http://www.mimedefang.com/node.php?id=35

& 

in filter_end, add something like this untested code:

my ($list, $recip);

foreach $recip (@Recipients) {
      $list .= "$recip, ";
}

$list =~ s/, $//;

$Text::Wrap::columns   = 74;
$Text::Wrap::huge      = 'overflow';
$line = $Text::Wrap::wrap("", "\t      ", $list) . "\n";

action_add_header("X-Original-Recip-List","$list");


Regards,
KAM

>  how can I redirect a message to a different mailbox instead 
> of the intended recipient when it gets a score high enough to make it 
> bounce?  What I'd like to do is insert a header string that specifies 
> who the intended recipient or recipients are, and then send the message 
> through to a different box all together.  Can I do that within MD?

_______________________________________________
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