Re: [Exim] System filter and $local_part

Top Page
Delete this message
Reply to this message
Author: Philip Hazel
Date:  
To: Phil Pennock
CC: Jochen Erwied, Exim Users
Subject: Re: [Exim] System filter and $local_part
On Wed, 5 Jul 2000, Phil Pennock wrote:

> > Is this a bug, or just a misunderstanding of filters?
>
> Something to think on - what happens when a mail is sent to multiple
> recipients at your domain, and the sending MTA sends the message in one
> transaction, with multiple RCPT TO: commands?


Indeed. It is clearly documented that $local_part is not available. You
cannot use any facilities that apply to *one* address in a system
filter, because there may be many addresses.

If you want to run a per-address filter, you can do so. Section 44.3
covers exactly this case.


-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.