Re: [Exim] System filter and $local_part

Página Inicial
Delete this message
Reply to this message
Autor: Philip Hazel
Data:  
Para: Phil Pennock
CC: Jochen Erwied, Exim Users
Assunto: 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.