<div dir="ltr"><div dir="ltr">On Thu, Jul 17, 2025 at 6:28 PM Eduardo Chappa via Alpine-info <<a href="mailto:alpine-info@u.washington.edu">alpine-info@u.washington.edu</a>> wrote:</div><div class="gmail_quote gmail_quote_container"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Wed, 16 Jul 2025, Ferdinand Goldmann via Alpine-info wrote:<br>
<br>
> Hi,<br>
><br>
> wanted to filter out annoying spam mails using a filter rule on the domain of<br>
> the spam sender. The spam mails From fields all have the format of<br>
><br>
> From: Annoying <a href="mailto:Sender@foo.host.com" target="_blank">Sender@foo.host.com</a><br>
><br>
> where the "@<a href="http://foo.host.com" rel="noreferrer" target="_blank">foo.host.com</a>" part is always the same.<br>
<br>
Have you tried using scores instead? The idea is to give scores to <br>
messages based on certain characteristics. All scores are added, so you <br>
would filter based on the total score. To avoid the space problem you <br>
would define two (or more) score rules where each rule matches each part <br>
of the From field that you identified for messages you want to filter.<br><br></blockquote><div><br></div><div>Perhaps I'm misunderstanding, but I think using a pattern match like "From pattern = @<a href="http://foo.host.com">foo.host.com</a>" would do what is being asked. That will match mails coming from "Annoying <a href="mailto:Sender@foo.host.com">Sender@foo.host.com</a>" as well as "<a href="mailto:Bob@foo.host.com">Bob@foo.host.com</a>".</div><div><br></div><div>Ferdinand, to see the built in help for this:</div><div>* M S R F # main setup rules filter<br>* Go down to the "To pattern" field and press "?" to get the help page.</div><div><br></div><div>Hope that helps,</div><div>--</div><div>Josh I.</div></div></div>