[Exim] Redirect attachments

Pàgina inicial
Delete this message
Reply to this message
Autor: Paulo Andre
Data:  
A: exim-users
Assumpte: [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