Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

%DCL-MEM-BAD, bad memory VMS-F-PDGERS, pudding between the ears


computers / comp.mail.mutt / Re: Mutt mail pattern search

SubjectAuthor
* Mutt mail pattern searchMichael Dansie
`* Re: Mutt mail pattern searchRoger Bell_West
 `- Re: Mutt mail pattern searchMatthew Ernisse

1
Mutt mail pattern search

<ade104f4-19a5-40da-acd4-35e293c73ff9n@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=152&group=comp.mail.mutt#152

  copy link   Newsgroups: comp.mail.mutt
X-Received: by 2002:a05:620a:3189:b0:768:421b:a142 with SMTP id bi9-20020a05620a318900b00768421ba142mr31992qkb.4.1699589094911;
Thu, 09 Nov 2023 20:04:54 -0800 (PST)
X-Received: by 2002:a17:90b:3d8d:b0:268:1be1:b835 with SMTP id
pq13-20020a17090b3d8d00b002681be1b835mr874980pjb.2.1699589094607; Thu, 09 Nov
2023 20:04:54 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.mail.mutt
Date: Thu, 9 Nov 2023 20:04:54 -0800 (PST)
Injection-Info: google-groups.googlegroups.com; posting-host=71.237.128.201; posting-account=ZR_tqAoAAABg2JxOfRJT3ivGuCoRd1XI
NNTP-Posting-Host: 71.237.128.201
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <ade104f4-19a5-40da-acd4-35e293c73ff9n@googlegroups.com>
Subject: Mutt mail pattern search
From: runningu...@gmail.com (Michael Dansie)
Injection-Date: Fri, 10 Nov 2023 04:04:54 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1651
 by: Michael Dansie - Fri, 10 Nov 2023 04:04 UTC

I'm new to using Mutt, and would like to sort emails and delete them based on various fields.

Currently I am using the following steps:

1. Sort by sender using "s" -> "f"
2. Delete by pattern using "D" and typing in the pattern, regex if needed

I would optimally like to delete all emails based on the fields in the highlighted email.

For instance, if I have multiple emails from "mail@IFTTT.com" I would like to highlight the email, then insert that field into the "D" command to delete all mail from that address.

Is there a command or tool that works like this? I was hoping that something like a tag would work but I can't find a useful option

Re: Mutt mail pattern search

<20231110085450.746615005497919@firedrake.org>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=153&group=comp.mail.mutt#153

  copy link   Newsgroups: comp.mail.mutt
Path: i2pn2.org!i2pn.org!usenet.network!eternal-september.org!feeder2.eternal-september.org!eternal-september.org!nntp-feed.chiark.greenend.org.uk!ewrotcd!nntp.terraraq.uk!news1.firedrake.org!.POSTED.heliophagous.homenet.firedrake.org!not-for-mail
From: roger+cm...@nospam.firedrake.org (Roger Bell_West)
Newsgroups: comp.mail.mutt
Subject: Re: Mutt mail pattern search
Date: Fri, 10 Nov 2023 09:08:06 -0000 (UTC)
Organization: Firedrake Synthesis
Message-ID: <20231110085450.746615005497919@firedrake.org>
References: <ade104f4-19a5-40da-acd4-35e293c73ff9n@googlegroups.com>
Injection-Date: Fri, 10 Nov 2023 09:08:06 -0000 (UTC)
Injection-Info: lustrous.firedrake.org; posting-host="heliophagous.homenet.firedrake.org:10.0.0.1";
logging-data="10203"; mail-complaints-to="usenet@lustrous.firedrake.org"
User-Agent: slrn/1.0.3 (Linux)
X-No-Archive: yes
X-Archiving-0: This post may be retained only in archives with
X-Archiving-1: contents selected by humans on a per-article basis.
 by: Roger Bell_West - Fri, 10 Nov 2023 09:08 UTC

On 2023-11-10, Michael Dansie wrote:
>I'm new to using Mutt, and would like to sort emails and delete them based on various fields.
>
>Currently I am using the following steps:
>
>1. Sort by sender using "s" -> "f"

You're not using the same keybindings as me, and I thought I was using
default ones; your "s" is my "o". For clarity I'm going to use
internal command names (in this case "sort-mailbox"; the "help"
command, which for me is "?", will show the current bindings, and I'll
put mine below.

>2. Delete by pattern using "D" and typing in the pattern, regex if needed
>
>I would optimally like to delete all emails based on the fields in the highlighted email.
>
>For instance, if I have multiple emails from "mail@IFTTT.com" I would like to highlight the email, then insert that field into the "D" command to delete all mail from that address.

I'm not aware of anything that will do "delete messages that look like
this one", but there are several ways mutt can do something a bit like
this.

(1) delete by pattern.

delete-pattern ~fmail@IFTTT.com
D

(2) tag individual messages or by pattern, then delete tagged messages
en masse.

tag-entry
t

tag-pattern ~fmail@IFTTT.com
T

tag-prefix delete-Message
;d

You might also consider automatically sorting messages into dedicated
mailboxes, e.g. with procmail.

Re: Mutt mail pattern search

<slrnul5hpj.2l7.matt@imladris.colo.ub3rgeek.net>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=154&group=comp.mail.mutt#154

  copy link   Newsgroups: comp.mail.mutt
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: mat...@going-flying.com (Matthew Ernisse)
Newsgroups: comp.mail.mutt
Subject: Re: Mutt mail pattern search
Date: Tue, 14 Nov 2023 01:02:44 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 31
Message-ID: <slrnul5hpj.2l7.matt@imladris.colo.ub3rgeek.net>
References: <ade104f4-19a5-40da-acd4-35e293c73ff9n@googlegroups.com>
<20231110085450.746615005497919@firedrake.org>
Injection-Date: Tue, 14 Nov 2023 01:02:44 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="25395484dd67d29d65f5cd7699592896";
logging-data="1004339"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+PHX/qLmphUWCe0GTL83Fyy2KZv6US8qM="
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:mCFF0uTnqK2whA0m/H4sEtjs8rU=
 by: Matthew Ernisse - Tue, 14 Nov 2023 01:02 UTC

On Fri, 10 Nov 2023 09:08:06 -0000 (UTC), Roger Bell_West wrote:

[ snip ]

> (2) tag individual messages or by pattern, then delete tagged messages
> en masse.
>
> tag-entry
> t
>
> tag-pattern ~fmail@IFTTT.com
> T
>
> tag-prefix delete-Message
> ;d

I use this pattern constantly, often also with tag-prefix save (;s) to
file messages. I find it extremely useful.

> You might also consider automatically sorting messages into dedicated
> mailboxes, e.g. with procmail.

I strongly endorse this as well. I tend to file automatic notifications
and search them if I end up looking for something. Procmail can have
fairly complex recipes so if you really want urgent notifications to hit
your inbox you can do that too, or even pipe the message to a script and
use something like Twilio SMS you.

--
"The avalanche has started, it is too late for the pebbles to vote."
--Kosh


computers / comp.mail.mutt / Re: Mutt mail pattern search

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor