On 28 Sep 2016, at 11:20, Nicola Piazzi wrote:
But I need the regex syntax to search at least 3 words that match of 4
words given
This can be done with a SA meta rule:
header __FOO_IN_SUBJ Subject =~ /foo/i
header __BAR_IN_SUBJ Subject =~ /bar/i
header __BAZ_IN_SUBJ Subject =~ /baz/i
header _
On Wed, 28 Sep 2016, Bowie Bailey wrote:
I don't think you could do a simple regex match for what you want. As I said
previously, this would require a plugin both to build the custom regex(s) (or
DB query) and to search for the previous emails. You would want to keep the
prior email informati
crizione: gc]
Da: Bowie Bailey [mailto:bowie_bai...@buc.com]
Inviato: mercoledì 28 settembre 2016 17:46
A: users@spamassassin.apache.org
Oggetto: Re: R: R: R: regular expression needed
I don't know of a way to do that with a simple regex. But since you are
writing a plugin, you could do it by parsing the ou
e_bai...@buc.com]
*Inviato:* mercoledì 28 settembre 2016 17:17
*A:* Nicola Piazzi ; Spamassassin List
*Oggetto:* Re: R: R: regular expression needed
Please keep list emails on the list.
I don't think you could do a simple regex match for what you want. As
I said previously, this would require a
<http://www.gruppocomet.it/>
[Descrizione: gc]
Da: Bowie Bailey [mailto:bowie_bai...@buc.com]
Inviato: mercoledì 28 settembre 2016 17:17
A: Nicola Piazzi ; Spamassassin List
Oggetto: Re: R: R: regular expression needed
Please keep list emails on the list.
I don't think you could
*A:* users@spamassassin.apache.org
*Oggetto:* Re: R: regular expression needed
I'm still not clear on exactly what you are trying to do, but in order
to test anything against previous messages, you will need a custom SA
plugin and some sort of database to store the information about
previous emails. T
On Wed, 2016-09-28 at 13:29 +, Nicola Piazzi wrote:
> a plugin that check similar words in oldest messages (for example 3 of
> 4 words match)
>
> Then plugin check if sender domain is different and recipient is
> different
> Detection routine
>
>
>
>
I'm still not clear on exactly what you are trying to do, but in order
to test anything against previous messages, you will need a custom SA
plugin and some sort of database to store the information about previous
emails. That is beyond my area of expertise.
If you just need a regex to match
Bowie, your ia a manual way, it works but is not automated
Automation is a plugin that check similar words in oldest messages (for example
3 of 4 words match)
Then plugin check if sender domain is different and recipient is different
Da: Bowie Bailey [mailto:bowie_bai...@buc.com]
Inviato: merc