![]() |
|
|||||||
| FastMail.FM General Discussions Everything that does not belong in the help or feature requests Forums goes here. This includes discussion about FastMail.FM policies, development (such as stylesheet development),FastMail.FM support sites like the Wiki, and so forth. |
![]() |
| Thread Tools |
|
|
#1 |
|
Intergalactic Postmaster
Join Date: Oct 2001
Location: Melbourne, Australia
Posts: 6,098
Representative of:
Fastmail.FM |
Define rules body searches on /beta/
And another one to trial on the beta server! I've just added body searches to the Define Rules screen for each rule type. You can use the usual single text, text with wildcards, or regexp matching. Eg.
blah - match any email with the text "blah" in the body blah*blah - match any email with the text "blah" twice in the body /(blah){2}/ - match any email with the text "blahblah" in the body Currently it uses "content" matching, if you want to do "raw" matching, you'll have to use an advanced rule. Full description of the sieve body extension here: http://www.ietf.org/internet-drafts/...ve-body-02.txt Rob |
|
|
|
|
|
#2 |
|
Essential Contributor
Join Date: Jan 2002
Location: Hollywood, CA
Posts: 424
|
I think my first test word is going to be "hoodia."
|
|
|
|
|
|
#3 |
|
Master of the @
Join Date: Feb 2004
Location: New Hampshire, USA
Posts: 1,562
|
Yup, I tried a simple text match and regular expression match, and it WFM!
Thanks, Rob!-jeff- |
|
|
|
|
|
#4 |
|
The "e" in e-mail
Join Date: May 2002
Posts: 2,713
|
Do you know what it implements regarding :text (section 4.3 of the draft)
|
|
|
|
|
|
#5 |
|
Master of the @
Join Date: Feb 2004
Location: New Hampshire, USA
Posts: 1,562
|
I made only the most basic of string and regex matches to a plain-text body.
-jeff- |
|
|
|
|
|
#6 |
|
Intergalactic Postmaster
Join Date: May 2004
Location: Irving, Texas
Posts: 6,025
|
Simple text matches are working (that's all I have checked). I'm already using this to catch some spam that craftily makes it past all of my spam filtering.
|
|
|
|
|
|
#7 | |
|
Master of the @
Join Date: Sep 2004
Location: The Netherlands
Posts: 1,527
|
Quote:
|
|
|
|
|
|
|
#8 |
|
Junior Member
Join Date: Jun 2004
Posts: 24
|
I haven't tried this yet, but BLESS YOU for doing it!!! Going to add some rules right now...
|
|
|
|
|
|
#9 |
|
Junior Member
Join Date: Jun 2004
Posts: 24
|
Works great! I just added a Rule to search the body of the message for certain words. I then sent myself an e-mail with the body of the message containing the name of a certain drug popular in spam messages, and the message went to my junk folder, as desired! Thank you SOOOO much for this!
![]() |
|
|
|
![]() |
| Thread Tools | |
|
|