[Alpine-info] Filter patterns and whitespace

Joshua Miller via Alpine-info alpine-info at u.washington.edu
Thu Jul 17 16:44:35 PDT 2025


On Thu, Jul 17, 2025 at 6:28 PM Eduardo Chappa via Alpine-info <
alpine-info at u.washington.edu> wrote:


> On Wed, 16 Jul 2025, Ferdinand Goldmann via Alpine-info wrote:

>

> > Hi,

> >

> > wanted to filter out annoying spam mails using a filter rule on the

> domain of

> > the spam sender. The spam mails From fields all have the format of

> >

> > From: Annoying Sender at foo.host.com

> >

> > where the "@foo.host.com" part is always the same.

>

> Have you tried using scores instead? The idea is to give scores to

> messages based on certain characteristics. All scores are added, so you

> would filter based on the total score. To avoid the space problem you

> would define two (or more) score rules where each rule matches each part

> of the From field that you identified for messages you want to filter.

>

>

Perhaps I'm misunderstanding, but I think using a pattern match like "From
pattern = @foo.host.com" would do what is being asked. That will match
mails coming from "Annoying Sender at foo.host.com" as well as "
Bob at foo.host.com".

Ferdinand, to see the built in help for this:
* M S R F # main setup rules filter
* Go down to the "To pattern" field and press "?" to get the help page.

Hope that helps,
--
Josh I.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman23.u.washington.edu/pipermail/alpine-info/attachments/20250717/2d8c786b/attachment.html>


More information about the Alpine-info mailing list