Re: [Exim] Filtering

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Brian K. West
Data:  
Para: Jason Robertson, Exim
Assunto: Re: [Exim] Filtering
Ok here is a good question... can you do SQL queries from a filter?

Later,
Brian

----- Original Message -----
From: "Jason Robertson" <jason@???>
To: "Exim" <exim-users@???>
Sent: Tuesday, September 12, 2000 12:59 PM
Subject: Re: [Exim] Filtering


> Thanks Philip was wondering about this in relation to subjects..
>
> Though i do have a few tests that work on catching some spam.. The
> problem I have now is that I need to filter on more items
>
> if ($h_message-id contains <>) then
> if ($h_Message-ID contains <@>) then
> if (("${if !def:header_to: {nospam}}" is nospam ) (this is catches good
> messages too)
> if ($h_to: contains <> ) then
> if ($h_from: begins @) then
> if ($header_subject: is "Search Engine Secrets Discovered" ) then
>
>
>
>
> On 12 Sep 2000, at 10:32, Philip Hazel wrote:
>
> > On Tue, 12 Sep 2000, Scott Stavretis wrote:
> >
> > > How can I run this so that I can jsut put one enty in my main filter

file that
> > > points to another file that just has the addresses in it?
> > >
> > > eg. /etc/filter contains
> > > if $header_from contains "**SOMEHOW POINT TO /etc/filter.addresses **"

then
> > > fail text "INVALID ADDRESS" endif
> > >
> > > and /etc/filter.addresses contains a list of e-mail addresses
> >
> >
> > if ${lookup{$header_from:}lsearch{/some/file}{yes}{no}} is yes then
> >
> >                         ^
> >                         ^
> >                 This colon is important.

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

> >
> >
> >
>
>
>
> ---
> Jason Robertson
> Network Analyst
> jason@???
> http://www.astroadvice.com
>
> --
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim

details at http://www.exim.org/ ##
>
>