Package: mutt Version: 1.5.9-2 Severity: wishlist Hello, I am currently using this in my muttrc: --------- save-hook '~h ^List-Id:\ .*<pkg-exim4-maintainers\.lists\.alioth\.debian.org>' +exim --------- This worked perfectly well, when the header used was: List-Id: Reach the exim4 maintainers <pkg-exim4-maintainers.lists.alioth.debian.org>
However recently, probably due to a mailman upgrade *folding* is used, i.e. these lines are inserted: List-Id: Reach the exim4 maintainers <pkg-exim4-maintainers.lists.alioth.debian.org> and my pattern specified above does not match. Which leads to my question: Which pattern will match header X-foo contains bar, even if X-foo is folded?[1] thanks, cu andreas [1] This ~h ^List-Id: ~h ^\t*<pkg-exim4-maintainers\.lists\.alioth\.debian.org> is not good enough, as it will match any mail that contains a List-Id header and contains <pkg-exim4-maintainers\.lists\.alioth\.debian.org> in *any* folded header line. -- "See, I told you they'd listen to Reason," [SPOILER] Svfurlr fnlf, fuhggvat qbja gur juveyvat tha. Neal Stephenson in "Snow Crash" http://downhill.aus.cc/
signature.asc
Description: Digital signature