Re: nmh and fdm question

2020-02-24 Thread Valdis Klētnieks
On Tue, 25 Feb 2020 12:26:48 +0700, Robert Elz said:

> There was a caret there in the message I saw (0x5e) which perhaps
> your font is somehow missing (here it is: ^).   Assuming that means

Gaak. Totally right.

Now I have to delve into two messes.  Why my laptop has a font that borked,
and why the arcane magic that is fontconfig chose it (or what the 
the name of the chosen font even *IS*).


pgpvtyHXpkqzo.pgp
Description: PGP signature


Re: nmh and fdm question

2020-02-24 Thread Robert Elz
Date:Mon, 24 Feb 2020 23:01:00 -0500
From:"Valdis Kl=?utf-8?Q?=c4=93?=tnieks" 
Message-ID:  <391648.1582603260@turing-police>


  | I'm seeing a wonky square box character between the " and From

There was a caret there in the message I saw (0x5e) which perhaps
your font is somehow missing (here it is: ^).   Assuming that means
beginning of line in fdm as it does in procmail, I doubt that is
the issue.

kre





Re: nmh and fdm question

2020-02-24 Thread Valdis Klētnieks
On Mon, 24 Feb 2020 21:10:15 -0500, aalin...@riseup.net said:
> This is the raw email From line:
>
> From: "The New Yorker" 
>
> And this is the line in my ~/.fdm.conf file:
>
> match "^From:.*@eml.condenast.com" in headers action pipe 
> "/usr/local/libexec/nmh/rcvstore +trash"
>
> My question is, why doesn't this work?

I'm seeing a wonky square box character between the " and From in that match 
line,
it's probably a control character of some sort that's being included in the 
match and failing
because the actual mail has an F in column 1 rather than a wonky control 
character.


pgpZYSmAYnYqU.pgp
Description: PGP signature


Re: nmh and fdm question

2020-02-24 Thread Robert Elz
Date:Mon, 24 Feb 2020 21:10:15 -0500
From:aalin...@riseup.net
Message-ID:  

  | This is the raw email From line:
  |
  | From: "The New Yorker" 
  |
  | And this is the line in my ~/.fdm.conf file:
  |
  | match "^From:.*@eml.condenast.com" in headers action
  | pipe "/usr/local/libexec/nmh/rcvstore +trash"
[I amnually like wrapped that for this reply].
  |
  | My question is, why doesn't this work?

I don't know fdm, but perhaps it is that '>' at the end of the address
in the From line, your pattern seems to not account for that.   If
fdm patterns don't need to match to end of like (as for example, grep
wouldn't, so your pattern would work tested that way) then this won't
be it, but I think in (for example) procmail they do, so you might need
to add '>*' at the end of your pattern (0 or more '>' chars).

kre




nmh and fdm question

2020-02-24 Thread aalinovi
This is the raw email From line:

From: "The New Yorker" 

And this is the line in my ~/.fdm.conf file:

match "^From:.*@eml.condenast.com" in headers action pipe 
"/usr/local/libexec/nmh/rcvstore +trash"

My question is, why doesn't this work? Every other address I've sent to
+trash works. This one always get through and ends up in my inbox.

(and before anyone asks, yes, I have tried unsubscribing, more times
that I can count).

Thank you for any assistance.

Arthur