On 18/7/25 07:44, Joshua Miller via Alpine-info wrote:
On Thu, Jul 17, 2025 at 6:28 PM Eduardo Chappa via Alpine-info <[email protected] <mailto:[email protected]>> 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 [email protected] <mailto:[email protected]>
     >
     > where the "@foo.host.com <http://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 <http://foo.host.com>" would do what is being asked. That will match mails coming from "Annoying [email protected] <mailto:[email protected]>" as well as "[email protected] <mailto:[email protected]>".


Alternatively, if you do not want to filter out everyone in the domain name, simply use, for
"From: Annoying [email protected] <mailto:[email protected]>"
the parameter
[email protected]

That should work.

Try it...


..
Bret Busby
Armadale
West Australia
(UTC+0800)
..............

_______________________________________________
Alpine-info mailing list
[email protected]
http://mailman23.u.washington.edu/mailman/listinfo/alpine-info

Reply via email to