Re: [Exim] system-filter local part

Top Pagina
Delete this message
Reply to this message
Auteur: Phil Chambers
Datum:  
Aan: exim-users
Onderwerp: Re: [Exim] system-filter local part
On Fri, 31 Jan 2003 13:40:12 +0000 (GMT) Philip Hazel <ph10@???> wrote:

> On Fri, 31 Jan 2003, Phil Chambers wrote:
>
> > When a message arrives which is picked up by this section I get an odd entry in the
> > log:
> >
> > <date-time> <message-id> <= .... from <> for user@???
> > <date-time> <message-id> original recipients ignored (system filter)
> > <date-time> <message-id> => system-filter@??? <system-filter> R=....
> >
> > I have had to create an alias to link "system-filter" to "postmaster" to get this to
> > work, but why is exim trying to send to "system-filter" and not "postmast" which is
> > what the system filter specifies?
>
> Any hope of getting debug output from a test run? Does it do the same if
> you supply a fully qualified address in the filter?


Thanks for the advice. I put a message into /tmp/test and did

exim -d p.a.chambers < /tmp/test >& /tmp/debug

Before bothering you with the result I had a look at the debug output and identified
the point at which the "system-filter" address appeared. (The system filter clearly
returns the correct address.) The problem turns out to be a hang-over from exim-3
in that a router is checking for "message filter" rather that "system-filter" in a
data expansion:

  data = ${if eq {$original_local_part}{message filter}\
         {$local_part}{$original_local_part}}@$original_domain


I changed "message filter" to "system-filter" and ran the test again and that has
fixed it.

I should have tried the debugging myself before bothering you, but hindsight is
always 100% is it not?

Thanks again,

Phil.
---------------------------------------
Phil Chambers (postmaster@???)
University of Exeter