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
.org> <mailto:users@spamassassin.apache.org>
*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 plugin both to
build the custo
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 output of a regex search.
1)
uc.com]
*Inviato:* mercoledì 28 settembre 2016 17:17
*A:* Nicola Piazzi <nicola.pia...@gruppocomet.it>; Spamassassin List
<users@spamassassin.apache.org>
*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
<http://www.gruppocomet.it/>
[Descrizione: gc]
Da: Bowie Bailey [mailto:bowie_bai...@buc.com]
Inviato: mercoledì 28 settembre 2016 17:17
A: Nicola Piazzi <nicola.pia...@gruppocomet.it>; Spamassassin List
<users@spamassassin.apache.org>
Oggetto: Re: R: R: regular expression needed
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. That is bey
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
>
>
>
>
(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:* mercoledì 28 settembre 2016 15:26
*A:* users@spamassassin.apache.org
*Oggetto:* Re: regular expression needed
On 9/28/2016 9:02 AM
: mercoledì 28 settembre 2016 15:26
A: users@spamassassin.apache.org
Oggetto: Re: regular expression needed
On 9/28/2016 9:02 AM, Nicola Piazzi wrote:
Usually we receive spam having subjects like these examples in order of time :
Subject
On 9/28/2016 9:02 AM, Nicola Piazzi wrote:
Usually we receive spam having subjects like these examples in order
of time :
Subject FromTo
FedEx Shipment 702193383647 Notification
j...@company1.com s...@mycompany.it
FedEx
Usually we receive spam having subjects like these examples in order of time :
Subject
FromTo
FedEx Shipment 702193383647 Notification
12 matches
Mail list logo