[Exim] Redirect attachments

Top Page
Delete this message
Reply to this message
Author: Paulo Andre
Date:  
To: exim-users
Subject: [Exim] Redirect attachments
Hi, could someone tell me why the below conf wont redirect an attachment to
the email address?

warn    message       = X-Redirect-To: deniedbox@???
          demime        = exe:bat


scan_redirect:
driver = redirect
condition = ${if def:h_X-Redirect-To: {1}{0}}
headers_add = X-Original-Recipient: $local_part@$domain
data = $h_X-Redirect-To:
headers_remove = X-Redirect-To
redirect_router = virtual_local_mailbox

Thanks
Paulo