EmailDiscussions.com  

Go Back   EmailDiscussions.com > Email Service Provider-specific Forums > FastMail Forum
Register FAQ Members List Calendar Today's Posts
Stay in touch wirelessly

FastMail Forum All posts relating to FastMail.FM should go here: suggestions, comments, requests for help, complaints, technical issues etc.

Reply
 
Thread Tools
Old 9 Sep 2004, 01:10 AM   #16
bobpeers
Member
 
Join Date: Nov 2003
Location: Copenhagen,Denmark
Posts: 79
I think you are right, without the spaces you cannot test for any headers at all (except the first) so I assume that copying the quote changed the header, otherwise none of the script would work.
That's me out of ideas.

cheers,
Bob
bobpeers is offline   Reply With Quote
Old 9 Sep 2004, 04:56 AM   #17
kurianja
Master of the @
 
Join Date: Apr 2003
Posts: 1,395

Representative of:
Fastmail.FM
Hm. I cannot quite figure whats going wrong here. It should have set the flag for the message. Can you submit a support ticket. I would like to check this more.
kurianja is offline   Reply With Quote
Old 9 Sep 2004, 05:31 AM   #18
chicory_patch
Senior Member
 
Join Date: Aug 2002
Location: NorthEast, USA
Posts: 138
what do I do to submit the ticket?
chicory_patch is offline   Reply With Quote
Old 9 Sep 2004, 05:37 AM   #19
Daniel S
Guest
 
Posts: n/a
Click on Support (or Customer Help) on the homepage, and select "Immediately submit a support request".
  Reply With Quote
Old 13 Sep 2004, 09:33 PM   #20
chicory_patch
Senior Member
 
Join Date: Aug 2002
Location: NorthEast, USA
Posts: 138
Does anyone know if Setflag requires a fileinto to work?
chicory_patch is offline   Reply With Quote
Old 13 Sep 2004, 09:55 PM   #21
bobpeers
Member
 
Join Date: Nov 2003
Location: Copenhagen,Denmark
Posts: 79
No it doesn't, I just tested this as well and it works fine.
bobpeers is offline   Reply With Quote
Old 13 Sep 2004, 10:31 PM   #22
chicory_patch
Senior Member
 
Join Date: Aug 2002
Location: NorthEast, USA
Posts: 138
does anyone have list of valid flags, besides seen?
chicory_patch is offline   Reply With Quote
Old 13 Sep 2004, 10:44 PM   #23
chicory_patch
Senior Member
 
Join Date: Aug 2002
Location: NorthEast, USA
Posts: 138
ok I've done some testing. My script works fine, changes the flag just great if I use a fileinto.

Saddly I don't want to do that, because then I will have to write so many lines saying which files go where, and I had that covered with sub-domaining my address.

I found this

Quote:
3.1. Setflag Action

Syntax: setflag <list-of-flags>

Setflag is used for setting [IMAP] system flags or keywords. Setflag
replaces any previously set flags. It should be used
together with keep or fileinto. It MUST be ignored if mailstore
or target mailbox doesn't support the storing of any flags.

Flags can be set only for the message that is currently being
processed by SIEVE. When called with keep, setflag sets flags in
the user's main mailbox. When called with fileinto, setflag
sets flags in the mailbox indicated by the parameter.
Keep will not work because I'm not using my main inbox.

So I guess what I want is not possible. Unless someone has trick up their sleves.
chicory_patch is offline   Reply With Quote
Old 13 Sep 2004, 11:21 PM   #24
Daniel S
Guest
 
Posts: n/a
Depending on your client and whether there are selected messages in the Web interface, there may be more flags in use; See Section 2.3.2.

Are you quoting this from draft-melnikov-sieve-imapflags-03.txt?
  Reply With Quote
Old 13 Sep 2004, 11:49 PM   #25
bobpeers
Member
 
Join Date: Nov 2003
Location: Copenhagen,Denmark
Posts: 79
If I use addflag as in the code below:
Code:
 else {
  addflag "$label3";
}
and also use subdomain addressing then the flag is added correctly and the email is also filed into the correct folder according to the subdomain, isn't this what you want?
Not sure about all the flags, but FM seems to use:
\Seen
\Deleted
\Flagged
\Answered
$Forwarded
NonJunk
Junk
hasatt
hasnoatt
$label1 to $label5 (these can be customised in Tb)

Of course most of these you wouldn't want to change and you can add any flag you like but unless your client supports it you won't see it anyway.
bobpeers is offline   Reply With Quote
Old 14 Sep 2004, 12:52 AM   #26
bobpeers
Member
 
Join Date: Nov 2003
Location: Copenhagen,Denmark
Posts: 79
Just a couple more flags:
\Drafts
Selected

if you add the selected flag then when looking through the web interface the checkbox on the message line will be permanently checked (even through different sessions) until you manually uncheck it, not sure if it's of any use to set through Sieve though. Also a bit dangerous a I guess any action will also be done on that message.
bobpeers is offline   Reply With Quote
Old 14 Sep 2004, 01:02 AM   #27
Daniel S
Guest
 
Posts: n/a
Junk and NonJunk are used by Thunderbird's bayesian filtering.
  Reply With Quote
Old 14 Sep 2004, 02:50 AM   #28
kurianja
Master of the @
 
Join Date: Apr 2003
Posts: 1,395

Representative of:
Fastmail.FM
Quote:
Originally posted by chicory_patch
ok I've done some testing. My script works fine, changes the flag just great if I use a fileinto.

Saddly I don't want to do that, because then I will have to write so many lines saying which files go where, and I had that covered with sub-domaining my address.

I found this



Keep will not work because I'm not using my main inbox.

So I guess what I want is not possible. Unless someone has trick up their sleves.
Thanks for that. But I got this one to work in the test account, and I am still seeing the mails correctly marked as 'seen' with the same sieve script!! According to the RFC, that shouldn't be the behaviour. Chicorypatch: I will mail you shortly.
kurianja is offline   Reply With Quote
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +9. The time now is 01:01 AM.

 

Copyright EmailDiscussions.com 1998-2022. All Rights Reserved. Privacy Policy