[Exim] storing data in a flat file

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Tor Houghton
Datum:  
To: exim-users
Betreff: [Exim] storing data in a flat file
hi,

i've looked at

    http://www.colondot.net/mbm/mailfilter.shtml#score


which contains a "scoring" method for validating email, and it looks
interesting.

one thing i am wondering about, is his use of hard coded key phrases (such
as "not spam") within the filter rule; e.g.

    if (${lc:$message_body:} matches "spam free")
    then
       add 80 to n9
    endif


what i'd like to do is have a file called "/etc/exim/spam_score_80" or
something similar where phrases such as these are stored. then, using
(lsearch?) i would like to do a match on whatever is in this file.

is this feasible, and if so -- how should i go about it?

the system is running exim 3.34.

regards,

tor