On Wed, 22 Jun 2011 03:06:39 +0200
Marcus Schopen <[email protected]> wrote:
> I add the following lines to filter_end
>
> foreach $recip(@Recipients) {
> if ($recip =~ /<.*\@test\.com>$/i) {
> action_add_header("X-Orig-Rcpts", "$recip");
> }
> }
Or if you only want one header:
action_add_header('X-Orig-Rcpts', join(', ', grep { /\@test\.com>$/i }
@Recipients));
(Untested :))
Regards,
David.
_______________________________________________
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