Other systems (procmail, etc.) use a "scoring" technique, so that each
filter that passes just adds some amount to the current message's score.
After the score passes a threshold, it gets frozen. If it passes a higher
threshold, it gets deleted.
Would this be reasonably easy to do in Exim?
Philip Hazel wrote:
>
> On Thu, 29 Jan 1998, Eelco Vriezekolk wrote:
>
> > That is because most, but not all, mail with a sender's local part of 8
> > digits is spam.
> > Most, but not all, mail with a fake message-id without an @ sign is
> > spam.
> > Most, but not all, mail with a X-1: header is spam.
> > Most, but not all, mail with a long X-UIDL: header is spam.
> >
> > What I would like to do is *count* how many conditions match. If there
> > is only one, the message should definitely only be frozen, but if there
> > are, say, three or more, the message could be safely deleted.
> >
> > There does not seem to be a way to do this. Could it be done?
>
> It might be possible to write this out, extremely tediously, in a filter
> file, but I wouldn't recommend it. There have been suggestions for some
> primitive user variables in filter files, and if I ever implement
> something like that it would make this kind of thing easier.
>
> --
> Philip Hazel University Computing Service,
> ph10@??? New Museums Site, Cambridge CB2 3QG,
> P.Hazel@??? England. Phone: +44 1223 334714
>
> --
> *** Exim information can be found at http://www.exim.org/ ***
--
*** Exim information can be found at
http://www.exim.org/ ***