Re: A couple of filtering problems

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Philip Hazel
Fecha:  
A: Tim Cutts
Cc: exim-users
Asunto: Re: A couple of filtering problems
On Mon, 14 Jul 1997, Tim Cutts wrote:

> 1) I am trying to restrict the checking to mail messages sent from
> machines in .com and .net, so I tried the following:
>
> if $sender_host_name: matches "\\.(com|net)\\$"
> ...
>
> but this never seems to match anything. Have I made some stupid error
> here?


You shouldn't have the \\ before the $.

> It doesn't match anything if I remove the \\. or the \\$, either.


I'm surprised it doesn't match if just \\$ is removed.

> 2) Even though I have freeze_tell_mailmaster set to true, messages frozen
> by the global filter do not trigger any notification. Am I going to have
> to make the filter generate the notification itself?


Oops. This is an oversight on my part. Exim isn't checking
freeze_tell_mailmaster when freezing from a system filter. I'll fix that
before the next release.

Philip

-- 
Philip Hazel                   University Computing Service,
ph10@???             New Museums Site, Cambridge CB2 3QG,
P.Hazel@???          England.  Phone: +44 1223 334714