I must be missing something very basic here, so hopefully you all can
nudge me in the right direction.
I'm subscribed to a mailing list which includes a List-Id header that I
am trying to match on. The List-Id headers looks as such:
List-Id: Development discussions related to Fedora Core
^I<fedora-devel-list.redhat.com>
Where the ^I above is a single tab. The first line is terminated by a
newline.
I have tried a number of different recipes to match on this, and am
currently using the following:
:0
* ^List-Id: .*$^[ ]*<fedora-devel-list.redhat.com>
${MAILDIR}.fedora-devel-list/
Inside the [] I have a single tab character and a space. I've also
tried using [[:space:]]* in its place as well, along with just .*
Isn't the $^ at the end of my intial List-Id pattern enough to
designate a newline?
How would the rest of you do a match on a multi-line List-Id like this?
Note: I have checked the raw message itself (outside of my mailer) to
ensure that this is split onto two lines and not simply a result of my
mailer reformatting.
Thanks in advance!
Ray
____________________________________________________________
procmail mailing list Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail