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 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 |
|
|||
|
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 > > |
|
|||
|
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 > > |
![]() |
| Thread Tools | |
| Display Modes | |
|
|