Richmond <dnomh...@gmx.com> writes:

> Richmond <dnomh...@gmx.com> writes:
>
>> Emanuel Berg <in...@dataswamp.org> writes:
>>
>>> Richmond wrote:
>>>
>>>> A look at free.usenet reveals the need for matching on high
>>>> entropy random strings. These are being used in the from
>>>> header to thwart filters.
>>>
>>> Are you on Usenet with news.eternal-september.org ?
>>
>> I am on usenet with news.solani.org . I forgot that
>> gmane.emacs.gnus.user is a mailing list. I am looking for a way to
>> filter out spam from newsgroup free.usenet although I think maybe there
>> is nothing else in there.
>
> Maybe I can use
>
> grep -P '<.{128,}>'
>
> on the from field?

If I say (L)ower (a)uthor (r)egular expression (p)ermanent and then
enter ^.{128,}$ that should match any from field of more than 127
characters right? It doesn't work. Nothing I have tried works.


Reply via email to