Re: [Exim] Redirect attachments

Pàgina inicial
Delete this message
Reply to this message
Autor: Philip Hazel
Data:  
A: Paulo Andre
CC: exim-users
Assumpte: Re: [Exim] Redirect attachments
On Fri, 16 Jul 2004, Paulo Andre wrote:

> 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


1. Check that the message that wasn't redirected does contain the
X-Redirect-To: header line. If it doesn't, the problem is in the ACL.

2. Create a test message containing X-Redirect-To:

3. Run a test delivery (as root) using

    exim -d -N original@recipient </your/test/message


That will show you if the router is working.

--
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.
Get the Exim 4 book:    http://www.uit.co.uk/exim-book