|
FastMail Forum All posts relating to FastMail.FM should go here: suggestions, comments, requests for help, complaints, technical issues etc. |
|
Thread Tools |
30 Dec 2019, 09:46 PM | #16 |
Cornerstone of the Community
Join Date: Jan 2003
Location: Oxfordshire, UK
Posts: 603
|
|
31 Dec 2019, 01:09 AM | #17 | |
Essential Contributor
Join Date: Jan 2017
Posts: 278
|
Quote:
:copy is misleading, it would have been more accurate to call it :withoutsideeffect. One of the most serious problems with procmail was that you have to tell it what to do with each email or it will discard it by default. Sieve addressed this with the implicit keep. However if you send an email somewhere outside your normal workflow, when you need to read it locally, you have effectively regressed to the procmail situation. The copy extension was created to solve that problem by allowing a redirect or fileinto that doesn't cancel the implicit keep. The problem of sending an email to two folders is easily solved without :copy by two fileintos, or fileinto+keep. You could do it with :copy if you really want to, but there's more that can go wrong. Again, there is no distinction between moving and copying here. And there isn't an original in the Inbox. |
|
31 Dec 2019, 01:21 PM | #18 |
Member
Join Date: Apr 2016
Posts: 80
|
|
31 Dec 2019, 04:14 PM | #19 |
Cornerstone of the Community
Join Date: Jan 2003
Location: Oxfordshire, UK
Posts: 603
|
no worries!
Then, based ob everything I have understood from this thread, your script should be something like: Code:
if address :is ["To","Cc","Bcc"] "alias@domain.de" { if address :is ["To","Cc","Bcc"] "main@domain.de" { fileinto "INBOX.alias"; keep; } elseif not address :is ["To","Cc","Bcc"] "main@domain.de" { fileinto "INBOX.alias"; } } |
11 Jan 2020, 02:39 PM | #20 | |
Member
Join Date: Apr 2016
Posts: 80
|
Quote:
|
|
15 Jan 2020, 10:42 PM | #21 | |
Essential Contributor
Join Date: Jan 2017
Posts: 278
|
Quote:
For forwarded mail it's usually best to forward each addresses to a dedicated target address, e.g. if you forward john@example.com to username+john.example.com@fastmail.com you can filter on the latter address without missing mail that was BCCed to the former. |
|
15 Jan 2020, 11:18 PM | #22 |
Cornerstone of the Community
Join Date: Jan 2003
Location: Oxfordshire, UK
Posts: 603
|
That’s very helpful - thanks!
|
17 Jan 2020, 10:45 PM | #23 | |
Essential Contributor
Join Date: Dec 2017
Location: Scotland
Posts: 492
|
Quote:
Also, even email clients which properly don't include BCC in sent mails have been known to include it in the logged/sent copy retained by the sender (so the sender can later see who it was BCCed to). If someone resends that, I'm not sure that the client necessarily strips the BCC header out. |
|