Date:        Mon, 24 Feb 2020 21:10:15 -0500
    From:        aalin...@riseup.net
    Message-ID:  <e1ef6a447bc14...@absalom.fios-router.home>

  | This is the raw email From line:
  |
  | From: "The New Yorker" <thenewyor...@eml.condenast.com>
  |
  | 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


Reply via email to