![]() |
|
|||||||
| FastMail Forum All posts relating to FastMail.FM should go here: suggestions, comments, requests for help, complaints, technical issues etc. |
![]() |
|
|
Thread Tools |
|
|
#1 |
|
Senior Member
Join Date: Aug 2002
Location: NorthEast, USA
Posts: 138
|
sieve script: //seen
The following line doesn't do what I want, which is mark messages containing the words "Digest Number" as seen.
} elsif header :contains "Subject" "Digest Number" { setflag "\\Seen"; |
|
|
|
|
|
#2 |
|
Master of the @
Join Date: Apr 2003
Posts: 1,395
Representative of:
Fastmail.FM |
Perhaps the processing stops before the setflag is executed? Could you check that.
|
|
|
|
|
|
#3 |
|
The "e" in e-mail
Join Date: May 2002
Posts: 2,804
|
Also
|
|
|
|
|
|
#4 |
|
Senior Member
Join Date: Aug 2002
Location: NorthEast, USA
Posts: 138
|
It still doesn't seem to want to work.
I'm setting up test, but had another thought while I was at it. Can you filter based on the content of the body? |
|
|
|
|
|
#5 |
|
The "e" in e-mail
Join Date: May 2002
Posts: 2,804
|
No
|
|
|
|
|
|
#6 |
|
Member
Join Date: Aug 2003
Posts: 73
|
Make sure you have a closing brace after the semicolon. You didn't include one here, but maybe you just left it off here.
|
|
|
|
|
|
#7 | |
|
Senior Member
Join Date: Aug 2002
Location: NorthEast, USA
Posts: 138
|
I've made some more changes. the filter still fails to mark the messages Read though
Quote:
|
|
|
|
|
|
|
#8 |
|
Member
Join Date: Aug 2003
Posts: 73
|
Well, that last script you posted doesn't even have "Digest Number" in it anywhere. So...?
|
|
|
|
|
|
#9 |
|
Master of the @
Join Date: Apr 2003
Posts: 1,395
Representative of:
Fastmail.FM |
Can you paste the full headers of a mail that was not marked as seen.
|
|
|
|
|
|
#10 | ||
|
Senior Member
Join Date: Aug 2002
Location: NorthEast, USA
Posts: 138
|
Quote:
X-Yahoo-Newman-Property: groups-digest Quote:
|
||
|
|
|
|
|
#11 |
|
Master of the @
Join Date: Apr 2003
Posts: 1,395
Representative of:
Fastmail.FM |
AFAICS, that should have been marked as seen. Hm. Is this code recent? Are you using the http://www.fastmail.fm/mailx/ link to login? If yes, can you try that on http://www.fastmail.fm Make sure you click 'done' after changing the rules.
![]() |
|
|
|
|
|
#12 |
|
Senior Member
Join Date: Aug 2002
Location: NorthEast, USA
Posts: 138
|
I did hit done, and the change was there when I came back. I am on the beta server however. I'll try it from the main site.
|
|
|
|
|
|
#13 | |
|
Senior Member
Join Date: Aug 2002
Location: NorthEast, USA
Posts: 138
|
Quote:
|
|
|
|
|
|
|
#14 |
|
Member
Join Date: Nov 2003
Location: Copenhagen,Denmark
Posts: 79
|
I've been having a look at your script and noticed that if you try to filter for any of the X-headers after these lines
Code:
Received: from mx2.messagingengine.com (mx2.internal [10.202.2.201]) by server2.messagingengine.com (Cyrus v2.3-alpha) with LMTPA; Fri, 03 Sep 2004 14:37:10 -0400 However if the last 2 lines in that header are indented just 1 space the filter then appears to work. I know this doesn't really solve the problem but maybe someone else knows why this would be. I've been using Sanjays SieveTest by the way.I agree that it is very strange. -- Bob |
|
|
|
|
|
#15 |
|
Guest
Posts: n/a
|
Bob: The space is required by RFC2822. If it is removed, the lines are processed as separate headers (rather than as one folded header).
In this specific case, the second and third line are not valid header lines. However, I believe the reason the spaces are missing is that you copied the header from a [quote] block. |
|