REGX in Message Filters

View: New views
6 Messages — Rating Filter:   Alert me  

REGX in Message Filters

by david-782 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'm trying to use REGX in message filters. For example, to create a filter to put all email sent from members on my domain, I tried:

    .*@ransier.com

To set this up I right-clicked on an email to add the filter, then edited the search value.

Rather than the wildcard being my filter, the original text value seems to be the filter value (even though the rule shows the wildcard.)

Is there something special about the REGX chars that can be used for message filters? Does this feature really work?

I'm running Evo on Ubuntu 9.04.

Thanks,
David R
_______________________________________________
Evolution-list mailing list
Evolution-list@...
http://mail.gnome.org/mailman/listinfo/evolution-list

Re: REGX in Message Filters

by Matthew Barnes :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, 2009-10-27 at 08:24 -0800, david wrote:

> I'm trying to use REGX in message filters. For example, to create a
> filter to put all email sent from members on my domain, I tried:
>
>     .*@ransier.com
>
> To set this up I right-clicked on an email to add the filter, then
> edited the search value.
>
> Rather than the wildcard being my filter, the original text value
> seems to be the filter value (even though the rule shows the
> wildcard.)
>
> Is there something special about the REGX chars that can be used for
> message filters? Does this feature really work?
You have to explicit say you want to do a regular expression match.
Make sure your filter condition looks similar to the screen shot
attached.

Matthew Barnes


_______________________________________________
Evolution-list mailing list
Evolution-list@...
http://mail.gnome.org/mailman/listinfo/evolution-list

regex-example.png (43K) Download Attachment

Re: REGX in Message Filters

by Patrick O'Callaghan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, 2009-10-27 at 08:24 -0800, david wrote:
> I'm trying to use REGX in message filters. For example, to create a filter to put all email sent from members on my domain, I tried:
>
>     .*@ransier.com
>
> To set this up I right-clicked on an email to add the filter, then edited the search value.

Why not just filter on "Sender" "contains" "@ransier.com"?

poc

_______________________________________________
Evolution-list mailing list
Evolution-list@...
http://mail.gnome.org/mailman/listinfo/evolution-list

Parent Message unknown Re: REGX in Message Filters

by david-782 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I tried that first and that didn't seem to work either.

It made me wonder if I was doing something wrong. Fully qualified matches work ok.

David R


 -------Original Message-------
 From: Patrick O'Callaghan <poc@...>
 Subject: Re: [Evolution] REGX in Message Filters
 Sent: 27 Oct '09 11:53
 
 On Tue, 2009-10-27 at 08:24 -0800, david wrote:
 > I'm trying to use REGX in message filters. For example, to create a filter to put all email sent from members on my domain, I tried:
 >
 >     .*@ransier.com
 >
 > To set this up I right-clicked on an email to add the filter, then edited the search value.
 
 Why not just filter on "Sender" "contains" "@ransier.com"?
 
 poc
 
 _______________________________________________
 Evolution-list mailing list
 Evolution-list@...
 http://mail.gnome.org/mailman/listinfo/evolution-list
 
_______________________________________________
Evolution-list mailing list
Evolution-list@...
http://mail.gnome.org/mailman/listinfo/evolution-list

Re: REGX in Message Filters

by Patrick O'Callaghan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, 2009-10-27 at 12:19 -0800, david wrote:
> I tried that first and that didn't seem to work either.
>
> It made me wonder if I was doing something wrong. Fully qualified matches work ok.

[Please don't top-post on this list]

It works for me, in fact it's the way I match most things. You can trace
how filters are working by using gconf-editor to set the flag
apps/evolution/mail/filters/log to True and the value
apps/evolution/mail/filters/logfile to a log filename. Restart Evo and
keep an eye on the file to see what's happening.

poc

_______________________________________________
Evolution-list mailing list
Evolution-list@...
http://mail.gnome.org/mailman/listinfo/evolution-list

Re: REGX in Message Filters

by Philippe LeCavalier :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, 2009-10-27 at 18:24 -0430, Patrick O'Callaghan wrote:
On Tue, 2009-10-27 at 12:19 -0800, david wrote:
> I tried that first and that didn't seem to work either. 
> 
> It made me wonder if I was doing something wrong. Fully qualified matches work ok.

[Please don't top-post on this list]

It works for me, in fact it's the way I match most things. 
Same here.

Cheers,
Phil

_______________________________________________
Evolution-list mailing list
Evolution-list@...
http://mail.gnome.org/mailman/listinfo/evolution-list