EmailDiscussions.com  

Go Back   EmailDiscussions.com > Email Service Provider-specific Forums > FastMail Forum
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
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 13 Nov 2005, 07:40 PM   #1
ashraf
Junior Member
 
Join Date: Nov 2005
Posts: 7
Only addressbook senders in INBOX

How to get mails only from senders in my addressbook to the INBOX and in the same time get other mails in another folder named by me (and not in the junk mail folder).
ashraf is offline   Reply With Quote

Old 13 Nov 2005, 09:37 PM   #2
JRobert
Master of the @
 
Join Date: Feb 2004
Location: New Hampshire, USA
Posts: 1,561
Try this:
Code:
# Separate spam and mail from unknown senders:
if not header :contains ["X-Spam-known-sender"] "yes" {
  if  header :value "ge" :comparator "i;ascii-numeric"  ["X-Spam-score"] ["5"]  {
    fileinto "INBOX.Spam";
    stop;
  }
  else {
    fileinto "INBOX.Unknown;
    stop;
}
-jeff-
JRobert is offline   Reply With Quote
Old 14 Nov 2005, 02:44 AM   #3
ashraf
Junior Member
 
Join Date: Nov 2005
Posts: 7
Kindly explain to me where to use this code.
ashraf is offline   Reply With Quote
Old 14 Nov 2005, 03:09 AM   #4
cheeky
Senior Member
 
Join Date: Oct 2003
Location: NZ
Posts: 129
Quote:
Originally posted by ashraf
Kindly explain to me where to use this code.
This is Sieve code that is used in the filtering section, and is available only to Members and up.

Go to Options, and find Define Rules under the Settings header (first row, right hand side). There is a link "View filter source" at the bottom of the Define Rules page. This will show you the sieve code that you can edit.

The wiki has good information for beginners on sieve:
http://wiki.fastmail.fm/index.php/BasicSieve
cheeky is offline   Reply With Quote
Old 14 Nov 2005, 09:47 PM   #5
ashraf
Junior Member
 
Join Date: Nov 2005
Posts: 7
Thank you
ashraf is offline   Reply With Quote
Reply


Thread Tools

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 04:42 AM.

 

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