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 19 Feb 2017, 08:16 AM   #1
Gsptlsnz
Senior Member
 
Join Date: Sep 2011
Location: 5th Dimension
Posts: 150
Is There A Way To Auto-Copy An Email To A Folder?

The filters allow you to auto-Move an e-mail but is there a way to auto-Copy certain e-mails by subject?

For example, any email that has "Car" in the subject goes to the inbox but also goes to a folder named "Car"

is this possible
Gsptlsnz is offline   Reply With Quote

Old 19 Feb 2017, 12:50 PM   #2
n5bb
Intergalactic Postmaster
 
Join Date: May 2004
Location: Irving, Texas
Posts: 8,537
Arrow Automatically filing a message copy into a folder

Yes, you can do this in at least two ways. You can also repeat these two methods multiple times or use both methods to create more than one copy. You can also redirect copies to one or more external email addresses.
  • Redirection: You can send a copy of a message to an external or internal address using a rule with Action set to Send a copy to (address). If you use an internal address (your account main address) with plus+addressing, the message will be copied to the desired folder. The message will also be delivered to the normal target (normally Inbox). For example, if your Fastmail address was [email protected] and the filing folder name was Test, a rule to place a copy in the Test folder if the subject starts with the characters car (case ignored) would be:
    • The subject begins with car
      Send a copy to [email protected]
    • The full headers of the copied message are slightly different, since the message was redirected. But the commonly seen headers are identical, and you probably won't notice that the copy has a few different header lines.
  • Custom sieve: You can make an identical copy by following these steps:
    • Go to Settings>Rules and click Edit custom sieve code in the lower right of that page.
    • In the final (Insert sieve code here) block (after steps ### 8) enter a rule such as follows. This will place a copy of all messages which start with the characters truck (case ignored) into the Test folder. Be sure to click Save at the top when you are finished editing the sieve code. Your normal rules should not be affected by this addition.
      Code:
      if header :matches "Subject" "truck*" {
        fileinto :copy "INBOX.Test";
      }
Bill
n5bb is offline   Reply With Quote
Old 19 Feb 2017, 01:54 PM   #3
Gsptlsnz
Senior Member
 
Join Date: Sep 2011
Location: 5th Dimension
Posts: 150
That did it!
Thnx!
Gsptlsnz is offline   Reply With Quote
Old 24 Feb 2017, 03:31 PM   #4
Gsptlsnz
Senior Member
 
Join Date: Sep 2011
Location: 5th Dimension
Posts: 150
One thing, is there a way to keep emails that I send to my own account (for testing purposes) from being copied to the other folder?

In other words, only copy the email if it does NOT come from
[email protected]
Gsptlsnz is offline   Reply With Quote
Old 24 Feb 2017, 04:27 PM   #5
n5bb
Intergalactic Postmaster
 
Join Date: May 2004
Location: Irving, Texas
Posts: 8,537
Sure. Change the sieve code to something like the following. Messages whose subject starts with the letters "truck" (ignoring case) and whose From address is not fanboy are filed into the Test folder, leaving the original message where it was originally delivered (typically Inbox).
Code:
if allof(
  header :matches "Subject" "truck*",
  not address :is "From" "[email protected]"
  )
 { fileinto :copy "INBOX.Test"; }
Bill
n5bb is offline   Reply With Quote
Old 24 Feb 2017, 05:38 PM   #6
Gsptlsnz
Senior Member
 
Join Date: Sep 2011
Location: 5th Dimension
Posts: 150
Works great! Thnx!
Gsptlsnz 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 03:30 AM.

 

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