* Marc Haber <mh+usenetspam1118@zugschl.us> [2017-01-30]:
[....]
They all have
From: logcheck system account <logcheck@hostname.example>
and I would like to match for "logcheck system account", not for the
mail address as this may vary.
For the message given above, "~f logcheck" matches, but "~f system"
does not. I guess that the ~f match only goes for the address in the
head itself.
No, the pattern modifier can be followed by any regular expression.
"~f system" should match "system" anywhere in the "From:" header. I
have just confirmed this using Mutt 1.7.0. What version are you using?
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 293 |
Nodes: | 16 (3 / 13) |
Uptime: | 220:48:30 |
Calls: | 6,623 |
Calls today: | 5 |
Files: | 12,171 |
Messages: | 5,318,035 |