[exim] Sending All Attachments to a central user account

Pàgina inicial
Delete this message
Reply to this message
Autor: Gareth McWilliams
Data:  
A: exim-users
Assumpte: [exim] Sending All Attachments to a central user account
Hi

Im configuring exim4 so that any attachment on an email will not be
sent, instead it will go to a specified user which can then choose to
send the attachments after reviewing them.
The problem is that it is no marking any of the emails i have added
attachments to


Added the following to /etc/exim4/conf.d/acl/40_exim4-config_check_data

warn message = X-Redirect-To: attachments@???
        demime = *


Added the folowing to /etc/exim4/conf.d/router/00_exim4-config_header

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




Thanks
Gareth