So how do I code that in the Expression box? There is no option for a
header regex match when setting up Vfolders (although there is for
incoming/outgoing filters -- but that's not what I want).
On Tue, 2004-11-23 at 16:52, Not Zed wrote:
> You need to do a header regex match. header-contains only searches on
> a few specific headers, and that isn't one of them.
>
> On Tue, 2004-11-23 at 16:46 -0800, Per Nystrom wrote:
> > Hi,
> >
> > I'd like to set up a virtual folder that will show the calendar
> > requests I've received in mail. Specifically, I'd like to search
> > for this line in the message header, since it seems to indicate that
> > the mail contains a calendar request:
> >
> > Content-class: urn:content-classes:calendarmessage
> >
> > I've looked at ${prefix}/share/evolution/1.4/vfoldertypes.xml and
> > learned enough to put together this expression (and other
> > variations):
> >
> > (match-all (header-contains "Content-class" "calendarmessage"))
> >
> > Unfortunately, it doesn't find anything. I'm guessing it's because
> > it's part of the MIME attachment description, and so evolution
> > doesn't consider that line as part of the header... So my immediate
> > question is how do I do the search, but more generally -- can I
> > consider vfoldertypes.xml a complete reference for all the parts in
> > a message that evolution knows how to search? If not, where else
> > would be a good place to look?
> >
> > Any help is greatly appreciated!!
> >
> > Thanks,
> > Per
> >
> >
> --
>
> Michael Zucchi <[EMAIL PROTECTED]>
> "Evolution - Mostly Practiced By
> Dumb People"
> Novell's Evolution and Free
> Software Developer
>
--
Per Nystrom <[EMAIL PROTECTED]>
_______________________________________________
evolution maillist - [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/evolution