|
FastMail Forum All posts relating to FastMail.FM should go here: suggestions, comments, requests for help, complaints, technical issues etc. |
|
Thread Tools |
24 Oct 2020, 06:00 AM | #1 |
Essential Contributor
Join Date: Jun 2004
Location: Brussels, Belgium
Posts: 432
|
Spam check before or after forwarding?
Hi,
I have my own domain hosted at Fastmail. I have setup an alias so that emails are both stored at Fastmail, and also forwarded to an external email address. Now I noticed that Fastmail correctly detects spam, and stores it in the spam folder. However, those emails are still forwarded. The forward is apparently done before the spamcheck. Is there a way to change this? Thanks! |
24 Oct 2020, 08:16 AM | #2 |
Essential Contributor
Join Date: May 2018
Posts: 474
|
If you are doing the forwarding using the alias "Also send to all contacts in" setting then, yes, the message is redirected before reaching the Sieve script so no spam checking is done (reference FastMail's Email forwarding doc).
If you want spam checking done before redirecting a copy of an incoming message then create an explicit rule to do it and use "Send a copy to" in the rule to do the forwarding. Last edited by xyzzy : 24 Oct 2020 at 08:24 AM. |
24 Oct 2020, 08:23 AM | #3 |
Cornerstone of the Community
Join Date: Jun 2008
Location: Perth
Posts: 664
|
I would try putting the forwarding rule in the rules Sieve code after the spam section (### 3 in my sieve) and make a rule to forward emails only if the spam score (X-Spam-score) is less then the number you are using for spam filtering.
Others might have better methods they can share. |
24 Oct 2020, 08:39 AM | #4 |
Essential Contributor
Join Date: May 2018
Posts: 474
|
Isn't that what I just suggested?
|
24 Oct 2020, 08:52 AM | #5 |
Cornerstone of the Community
Join Date: Jun 2008
Location: Perth
Posts: 664
|
|
24 Oct 2020, 09:31 AM | #6 |
Cornerstone of the Community
Join Date: Jun 2004
Location: Rupert, WV
Posts: 876
|
|
24 Oct 2020, 11:30 AM | #7 |
Essential Contributor
Join Date: May 2018
Posts: 474
|
Ah, posting "overlap" (that's what I call it). Been there done that in forums too. I apologize gardenweed for my followup post. |
26 Oct 2020, 11:46 PM | #8 |
Essential Contributor
Join Date: Jun 2004
Location: Brussels, Belgium
Posts: 432
|
|
Thread Tools | |
|
|