MySQL header filter?

This is a discussion on MySQL header filter? within the alt.comp.mail.postfix forums, part of the Mail Servers and Related category; Is it possible to create a MySQL header filter in the same way as my sender_filter, just in this case ...


Go Back   Usenet Forums > Mail Servers and Related > alt.comp.mail.postfix

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 08-27-2003
Morten Trab
 
Posts: n/a
Default MySQL header filter?

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
  #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
  #3 (permalink)  
Old 08-27-2003
Thijs Cadier
 
Posts: n/a
Default Re: MySQL header filter?

Wouldn't it be nicer to setup a spam filter, like spamassasin?



"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
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 02:39 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0