View Single Post

  #2 (permalink)  
Old 08-27-2003
Garthfield Carter
 
Posts: n/a
Default Re: MySQL header filter?

Trab,

Not easily I don't think, your best bet is to store the regular expressions
into a MySQL table and then write a Perl or PHP script that creates the
header_checks text file via a cron.

Garthfield


"Morten Trab" <mortenREMOVE@trab.dk> wrote in message
news:3f4c6dce$0$83057$edfadb0f@dtext01.news.tele.d k...
> Is it possible to create a MySQL header filter in the same way as my
> sender_filter, just in this case I need it to reject the message, if it
> contains a work that is in the database...
>
> An example:
> Subject: Make more money now
>
> In the database the word money figures, and then it should reject the
> message...
>
> --
> Mvh. Morten Trab
> --
> Svar venligst kun i NG, med mindre det er MEGET vigtigt.
> Ved mail, slet REMOVE i min adresse.
>
> Web: http://www.blackchart.dk
>
>



Reply With Quote