Article 5CCZ2 mailx - Is there a better way to ignore headers?

mailx - Is there a better way to ignore headers?

by
mfoley
from LinuxQuestions.org on (#5CCZ2)
I'm (still) using mailx 12.5. I am using the .mailrc directive ignore, eg:
Code:ignore X-MS-Has-Attach
ignore X-MS-TNEF-Correlator
ignore msip_labelsBut, every mail service seems have have its one set of not-very-interesting headers. Currently, I have 104 'ignores' in my config. Is there a way to either wildcard these, e.g:
Code:ignore X-Microsoft-*
ignore X-microsoft-or include only certain headers when reading a message using mailx, like a 'headerretain' directive? I've tried both wildcard styles shown with no luck.latest?d=yIl2AUoC8zA latest?i=T8ygvcYHqgk:vZEXegt5Tqs:F7zBnMy latest?i=T8ygvcYHqgk:vZEXegt5Tqs:V_sGLiP latest?d=qj6IDK7rITs latest?i=T8ygvcYHqgk:vZEXegt5Tqs:gIN9vFwT8ygvcYHqgk
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments