On Mon, Mar 23, 2009 at 3:08 PM, Mark Martinec <mark.martinec...@ijs.si> wrote:
> Bogdan,
>
>> > The test is supposed to receive a header as argument, not a body:
>
>> thanks for the reply. What I am trying to do is actually have access map
>> of blacklisted email addresses or websites that are mentioned in the
>> *body* of email, not in header.
>
> I'm afraid you'd need to enhance the plugin to do what you want.
> The current AccessDB only checks sender/author addresses from the
> header section. Actually it seems you want a cross between some
> URI* plugin and AccessDB.
>
> Perhaps a way out is to set up your own local RBL zone in your
> DNS server, stock it up with the contents of your access database,
> then let it be used by URI rules.
>
>  Mark


The goal is to put the regexes, which are being searched for in the
body of the mail, out of the configuration file, to avoid clutter and
to allow easy addition of new regexes. Unfortunately, mailto: links
cannot be put in a RBL, at least not in
their native form.

In other words, what we use currently is:

body            __GMAIL_IZDANJA_BODY /ema...@address\.com/i

We combine that rule in a meta with a few other rules and assign a
score to it. Is there a way to put all the email addresses we are
searching for in the body of the messages in a separate file or a
database and not specify them in the configuration file directly?


Thanks,

-- 
Ivan Savcic
isavcic at gmail . com

Reply via email to