Re: [Exim] regex list

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Mark Seamans
Date:  
À: exim-users
Sujet: Re: [Exim] regex list
--
[ Picked text/plain from multipart/alternative ]
Well, I guess I will answer it myself:

Pull out the "regex = ...." statement, whole list and all...
and replace it with:
regex = ${readfile{/etc/exim/keywords.reject}}

Move your list to a file, mine was keywords.reject, colon separated.
Now, it works, -AND- you can add entries to it on the fly. No
restarting exim.

If anyone sees anything wrong with this solution, please let me know.
The only thing I have come up with is for every email, it will query the
list.

Thanks.

Mark

On Fri, 2004-05-14 at 12:31, Mark Seamans wrote:

> --
> [ Picked text/plain from multipart/alternative ]
> I am done some searching but no luck.
>
> As we all know, in the spam handling, we have:
>
> regex = keyword : keyword2 : etc....
>
> I would like to have this list in an external file, so I can replicate
> it to other servers automatically. What would the syntax be for the
> regex expression?
> Also, in the external file, would it be the same syntax for the list as
> above?
>
> Thanks!
>
> Mark
> --
>
>
> --
>
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim details at http://www.exim.org/ ##
>

--