[Evolution] filter questions

2001-11-03 Thread Will Benton

I have incoming filters ("move to folder") set up for some mailing lists
and have "Apply filters to new messages" selected in my account
preferences, but messages to this mailing list still show up in my
INBOX.  It does work when I right-click on the message and select "apply
filters", though.
  *  should I change the criterion from "Mailing list is" to something
else?
  *  Is there something else I need to do to get this to work?
  *  Is this a bug?

I'm using 0.16.100 (2001.11.02.21.57) on RedHat 7.1.




thanks,
wb

-- 
Will Benton  | "Nicht wie die Welt ist, ist das Mystische, 
[EMAIL PROTECTED]|  sondern daß sie ist." --L. Wittgenstein
**GnuPG public key:  http://www.cs.wisc.edu/~willb/pubkey


___
evolution maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/evolution



[Evolution] Filter Questions

2002-07-27 Thread Jeff Bearer

I have a few questions about filters.  First off can somebody explain
how the regex filter is supposed to work  I've tried several things and
I can't get it to work.  Just a simple example of what it expects to see
in the text box would be great does it need m/.../ or just the
expression, etc.  I've been trying PCRE's so if it's posix re's then
I'll have to look up the differences.

Also what does the expression filter expect to see as opposed to the
regular expression filter?

Second, is there any filter functionality that is implemented in the XML
file that the UI doesn't have yet?  For example I'd like an action to
set status as un-read, it's not in the pull down in the UI, but maybe if
I tweak the xml file evolution would know what to do?  I'm only asking
that because with mozilla there always seem to be several features that
there aren't UI yet, that have been implemented in the config file.


-- 
Jeff Bearer, RHCE
Webmaster, PittsburghLIVE.com
2002 EPpy Award Winner, Best Newspaper Website

___
evolution maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/evolution



Re: [Evolution] filter questions

2001-11-14 Thread Ken Guest

On Sat, 2001-11-03 at 20:12, Will Benton wrote:
> I have incoming filters ("move to folder") set up for some mailing lists
> and have "Apply filters to new messages" selected in my account
> preferences, but messages to this mailing list still show up in my
> INBOX.  It does work when I right-click on the message and select "apply
> filters", though.
>   *  should I change the criterion from "Mailing list is" to something
> else?
>   *  Is there something else I need to do to get this to work?
>   *  Is this a bug?

I don't work on Evolution so this is just an educated guess, but it
seems that the "Mailing list is" criteria works by looking for a 
"List-Id" header which does not seems to always be inserted by mailing
list software such as mailman, majordomo et al.
This is a bug, I'd imagine, but a bug in the mailing-list software I
suppose - after all it isn't Evolution's fault if the header wasn't
inserted (though it would be cunning if it noticed that all emails that
have a specific List-Id description also always has the one common
recipient in it (the email address of the mailing list) and store that
information away for the next time so that Evolution could then ensure
that future emails to the mailing list are filtered appropriately.

k.


___
evolution maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/evolution



Re: [Evolution] filter questions

2001-11-14 Thread John Sturgeon

Ken,

I believe there can also be issues with filters on incoming messages
and  IMAP servers.  I'm not sure what criteria you have set up on your
filter, but any body filtering doesn't happen until the message is
downloaded.

--
John Sturgeon
Systems Architect
SenaReider Inc.

On Wed, 2001-11-14 at 02:57, Ken Guest wrote:
On Sat, 2001-11-03 at 20:12, Will Benton wrote:
> I have incoming filters ("move to folder") set up for some mailing lists
> and have "Apply filters to new messages" selected in my account
> preferences, but messages to this mailing list still show up in my
> INBOX.  It does work when I right-click on the message and select "apply
> filters", though.
>   *  should I change the criterion from "Mailing list is" to something
> else?
>   *  Is there something else I need to do to get this to work?
>   *  Is this a bug?

I don't work on Evolution so this is just an educated guess, but it
seems that the "Mailing list is" criteria works by looking for a 
"List-Id" header which does not seems to always be inserted by mailing
list software such as mailman, majordomo et al.
This is a bug, I'd imagine, but a bug in the mailing-list software I
suppose - after all it isn't Evolution's fault if the header wasn't
inserted (though it would be cunning if it noticed that all emails that
have a specific List-Id description also always has the one common
recipient in it (the email address of the mailing list) and store that
information away for the next time so that Evolution could then ensure
that future emails to the mailing list are filtered appropriately.

k.


___
evolution maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/evolution




___
evolution maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/evolution



Re: [Evolution] Filter Questions

2002-07-28 Thread Jeffrey Stedfast

On Sat, 2002-07-27 at 21:25, Jeff Bearer wrote:
> I have a few questions about filters.  First off can somebody explain
> how the regex filter is supposed to work  I've tried several things and
> I can't get it to work.  Just a simple example of what it expects to see
> in the text box would be great does it need m/.../ or just the
> expression, etc.  I've been trying PCRE's so if it's posix re's then
> I'll have to look up the differences.

It uses the POSIX regex lib that is included in glibc.

(man 7 regex)


> 
> Also what does the expression filter expect to see as opposed to the
> regular expression filter?

The Expression filter expects the scheme-like filter language that
Evolution uses. For examples, you cn take a look at
/usr/share/evolution/filtertypes.xml

> 
> Second, is there any filter functionality that is implemented in the XML
> file that the UI doesn't have yet?  For example I'd like an action to
> set status as un-read, it's not in the pull down in the UI, but maybe if
> I tweak the xml file evolution would know what to do?  I'm only asking
> that because with mozilla there always seem to be several features that
> there aren't UI yet, that have been implemented in the config file.

I don't think you can tweak the xml file to add support for this
particular thing (although you can certainly add more functionality by
adding/changing the xml file).

The xml file mostly just contains the basics, you can do more complex
stuff using the Expression language which isn't really documented (yet -
mostly because it changes slightly now and again).

If you want, feel free to add a request to be able to unset a flag
(which is what you want), we currently only support setting a flag.

Jeff

-- 
Jeffrey Stedfast
Evolution Hacker - Ximian, Inc.
[EMAIL PROTECTED]  - www.ximian.com


___
evolution maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/evolution



Re: [Evolution] Filter Questions

2002-07-28 Thread Jeffrey Stedfast

I've just implemented an "Unset Status" filter action in CVS.

Jeff

On Sat, 2002-07-27 at 21:25, Jeff Bearer wrote:
> I have a few questions about filters.  First off can somebody explain
> how the regex filter is supposed to work  I've tried several things and
> I can't get it to work.  Just a simple example of what it expects to see
> in the text box would be great does it need m/.../ or just the
> expression, etc.  I've been trying PCRE's so if it's posix re's then
> I'll have to look up the differences.
> 
> Also what does the expression filter expect to see as opposed to the
> regular expression filter?
> 
> Second, is there any filter functionality that is implemented in the XML
> file that the UI doesn't have yet?  For example I'd like an action to
> set status as un-read, it's not in the pull down in the UI, but maybe if
> I tweak the xml file evolution would know what to do?  I'm only asking
> that because with mozilla there always seem to be several features that
> there aren't UI yet, that have been implemented in the config file.
> 
> 
> -- 
> Jeff Bearer, RHCE
> Webmaster, PittsburghLIVE.com
> 2002 EPpy Award Winner, Best Newspaper Website
> 
> ___
> evolution maillist  -  [EMAIL PROTECTED]
> http://lists.ximian.com/mailman/listinfo/evolution
-- 
Jeffrey Stedfast
Evolution Hacker - Ximian, Inc.
[EMAIL PROTECTED]  - www.ximian.com


___
evolution maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/evolution



Re: [Evolution] Filter Questions

2002-07-28 Thread Not Zed

On Sun, 2002-07-28 at 10:55, Jeff Bearer wrote:
> I have a few questions about filters.  First off can somebody explain
> how the regex filter is supposed to work  I've tried several things and
> I can't get it to work.  Just a simple example of what it expects to see
> in the text box would be great does it need m/.../ or just the
> expression, etc.  I've been trying PCRE's so if it's posix re's then
> I'll have to look up the differences.

As Jeff said, posix.  The body match only matches the content of
messages, no headers.

> Also what does the expression filter expect to see as opposed to the
> regular expression filter?

An internal s-expression.  i.e. the 'code' which is actually executed to
perform the match.

> Second, is there any filter functionality that is implemented in the XML
> file that the UI doesn't have yet?  For example I'd like an action to
> set status as un-read, it's not in the pull down in the UI, but maybe if
> I tweak the xml file evolution would know what to do?  I'm only asking
> that because with mozilla there always seem to be several features that
> there aren't UI yet, that have been implemented in the config file.

There are no hidden 'features' like this for filters.

But, the xml file can be edited to add additional gui elements for
different filter types - but only for operations supported by the
s-expression parser.

You can currently only set flags, not clear them, so a 'mark as unread'
filter wont work, because 'unread' is actually not the 'seen' flag, you
can't unset that.



___
evolution maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/evolution