Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Richmond <dnomhcir@gmx.com>
To: info-gnus-english@gnu.org
Subject: Re: A look at free.usenet reveals the need for matching on high entropy random strings
Date: Wed, 05 Jul 2023 00:32:05 +0100	[thread overview]
Message-ID: <85cz171cei.fsf@example.com> (raw)
In-Reply-To: <85h6qj1dmu.fsf@example.com>

Richmond <dnomhcir@gmx.com> writes:

> Richmond <dnomhcir@gmx.com> writes:
>
>> Emanuel Berg <incal@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	other threads:[~2023-07-04 23:32 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-04 20:34 Richmond
2023-07-04 22:17 ` Emanuel Berg
2023-07-04 22:37   ` Richmond
2023-07-04 23:05     ` Richmond
2023-07-04 23:32       ` Richmond [this message]
2023-07-05  0:05         ` Emanuel Berg
2023-07-04 23:58     ` Emanuel Berg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=85cz171cei.fsf@example.com \
    --to=dnomhcir@gmx.com \
    --cc=info-gnus-english@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).