Identifying messages with no To: or CC: headers?

2022-09-02 Thread Tim Chase
I have a catch-all mailbox and would like to set up a filter/coloring for spam messages coming to me of the form [[:xdigit:]]{5,}[.][[:xdigit:]]{5,}@me.mydomain.com according to the Delivered-To: or Envelope-To: headers. I suspect they're comming from scraped message-IDs from messages I've sen

Re: Identifying messages with no To: or CC: headers?

2022-09-02 Thread Francesco Ariis
Hello Tim, Il 02 settembre 2022 alle 18:01 Tim Chase ha scritto: > However, often these messages don't have a To: or CC: header, so I > can't identify them with a ~C and I don't see an option for identifying > messages by the Delivered-To or Envelope-To headers. > > Is there a good way to identif

Re: Having problems with POP3 setup

2022-09-02 Thread X Tec
Could someone still help with these issues please? Thanks. On 2022-08-31 11:46:15, X Tec wrote: > With debugger I saw this line: "-ERR Unknown command: LAST"; so I think you > were right once again... > So if I wanted this function, or the one of "keep messages in server for x > days", would I

Re: Identifying messages with no To: or CC: headers?

2022-09-02 Thread Tim Chase
On 2022-09-02 20:07, Francesco Ariis wrote: > Il 02 settembre 2022 alle 18:01 Tim Chase ha scritto: > > However, often these messages don't have a To: or CC: header, so I > > can't identify them with a ~C and I don't see an option for identifying > > messages by the Delivered-To or Envelope-To head

Re: Identifying messages with no To: or CC: headers?

2022-09-02 Thread Sam Kuper
On Fri, Sep 02, 2022 at 06:24:24PM +, Tim Chase wrote: > On 2022-09-02 20:07, Francesco Ariis wrote: >> Il 02 settembre 2022 alle 18:01 Tim Chase ha scritto: >>> However, often these messages don't have a To: or CC: header, so I >>> can't identify them with a ~C and I don't see an option for >>

Re: Having problems with POP3 setup

2022-09-02 Thread Sam Kuper
On Fri, Sep 02, 2022 at 01:11:53PM -0500, X Tec wrote: > On 2022-08-31 11:46:15, X Tec wrote: >> On 2022-08-30 18:34:42, Kevin J. McCarthy wrote: >>> On Mon, Aug 29, 2022 at 03:14:21PM -0500, X Tec wrote: Fetching email with 'G' key just ignores the "pop_last=yes" setting because it alway

Re: Identifying messages with no To: or CC: headers?

2022-09-02 Thread John Hawkinson
> Could you not prepend your EXPR with something like this? > > `^(Delivered|Envelope)-To:\ ` I belive that you want this to be all-lowercase, because those headers can be any case, and mutt will search case-insensitively per sec. 8.3 of the manual: > As for regular expressions, a lower ca

Re: Identifying messages with no To: or CC: headers?

2022-09-02 Thread Tim Chase
On 2022-09-02 19:45, Sam Kuper wrote: > On Fri, Sep 02, 2022 at 06:24:24PM +, Tim Chase wrote: > > On 2022-09-02 20:07, Francesco Ariis wrote: > >> Il 02 settembre 2022 alle 18:01 Tim Chase ha scritto: > >>> However, often these messages don't have a To: or CC: header, so I > >>> can't identify

Re: Identifying messages with no To: or CC: headers?

2022-09-02 Thread Todd Zullinger
Tim Chase wrote: > On 2022-09-02 19:45, Sam Kuper wrote: >> Could you not prepend your EXPR with something like this? >> >> `^(Delivered|Envelope)-To:\ ` > > Ah, so the pattern for matching ~h includes the header-name then > and the regex can match against that? That should work. > > However

Re: Identifying messages with no To: or CC: headers?

2022-09-02 Thread Tim Chase
On 2022-09-02 17:42, Todd Zullinger wrote: > Tim Chase wrote: >> color index reverse brightblack black "~h ^(delivered|envelope)-to:\ >> +[0-9a-f]{5,}[.][0-9a-f]{5,}@mydomain.com)$" >> >> Mutt complains >> >> Error in [my muttrc]: '^(delivered': parentheses not balanced >> >> which looks like

Re: trouble with my_hdr and $format_flowed [SOLVED]

2022-09-02 Thread Cameron Simpson
On 02Sep2022 15:27, Cameron Simpson wrote: On 01Sep2022 20:18, Kevin J. McCarthy wrote: I'm not sure if it helps at this point, but I can report that I've taken your template above and passed it to 'mutt -H' and the resulting sent file has format=flowed in its content-type header. :-/ Can yo

Re: Identifying messages with no To: or CC: headers?

2022-09-02 Thread Sam Kuper
On Fri, Sep 02, 2022 at 04:03:22PM -0400, John Hawkinson wrote: >> Could you not prepend your EXPR with something like this? >> >> `^(Delivered|Envelope)-To:\ ` > > I belive that you want this to be all-lowercase, because those headers > can be any case, and mutt will search case-insensitivel

Re: Is linewrap dead?

2022-09-02 Thread Derek Martin
On Wed, Aug 31, 2022 at 07:45:05PM -0400, John Hawkinson wrote: > Derek Martin wrote on Wed, 31 Aug 2022 > at 19:35:15 EDT in <20220831233515.gf13...@bladeshadow.org>: > > Evaluating the strength of a SHOULD requires looking at pragmatic > realities. And that reality is that lots of messages are