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 24 Oct 2020, 06:00 AM   #1
Edward Velo
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!
Edward Velo is offline   Reply With Quote

Old 24 Oct 2020, 08:16 AM   #2
xyzzy
Essential Contributor
 
Join Date: May 2018
Posts: 318
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.
xyzzy is offline   Reply With Quote
Old 24 Oct 2020, 08:23 AM   #3
gardenweed
Cornerstone of the Community
 
Join Date: Jun 2008
Location: Perth
Posts: 601
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.
gardenweed is offline   Reply With Quote
Old 24 Oct 2020, 08:39 AM   #4
xyzzy
Essential Contributor
 
Join Date: May 2018
Posts: 318
Isn't that what I just suggested?
xyzzy is offline   Reply With Quote
Old 24 Oct 2020, 08:52 AM   #5
gardenweed
Cornerstone of the Community
 
Join Date: Jun 2008
Location: Perth
Posts: 601
Quote:
Originally Posted by xyzzy View Post
Isn't that what I just suggested?
I posted around the same time - I didn't see your post until after I posted
gardenweed is offline   Reply With Quote
Old 24 Oct 2020, 09:31 AM   #6
somdcomputerguy
Cornerstone of the Community
 
Join Date: Jun 2004
Location: Rupert, WV
Posts: 676
Quote:
Originally Posted by xyzzy View Post
Isn't that what I just suggested?
Quote:
Originally Posted by gardenweed View Post
I posted around the same time - I didn't see your post until after I posted
Great minds..
somdcomputerguy is offline   Reply With Quote
Old 24 Oct 2020, 11:30 AM   #7
xyzzy
Essential Contributor
 
Join Date: May 2018
Posts: 318

Ah, posting "overlap" (that's what I call it). Been there done that in forums too. I apologize gardenweed for my followup post.
xyzzy is offline   Reply With Quote
Old 26 Oct 2020, 11:46 PM   #8
Edward Velo
Essential Contributor
 
Join Date: Jun 2004
Location: Brussels, Belgium
Posts: 432
Quote:
Originally Posted by xyzzy View Post
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.
Thanks, that did it.
Edward Velo 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 10:52 PM.

 

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