EmailDiscussions.com  

Go Back   EmailDiscussions.com > Email Service Provider-specific Forums > FastMail Forum
Register FAQ Members List Calendar Today's Posts
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 2 May 2007, 10:07 PM   #1
Kocab
Junior Member
 
Join Date: Sep 2006
Posts: 25
Spam filters failing?

Has anyone else noticed a significant increase in spam getting through FastMail's filters in the last 24 hours or so? I've gone from no spam at all to a ratio of about 1:1 ham/spam.

Most of it is bounce-back spam.

If you're not seeing it, perhaps it's just my turn to have my primary email address be used as a spammers return email.
Kocab is offline   Reply With Quote

Old 3 May 2007, 03:22 AM   #2
Sherry
 Moderator 
 
Join Date: Dec 2002
Location: USA
Posts: 8,687
Quote:
Originally Posted by Kocab View Post
Most of it is bounce-back spam.
Hi Kocab,

If you have a Full or Enhanced account then perhaps the "backscatter" detection is not active on your account. The following is a quote I got from somewhere however I couldn't find the exact one in the FAQ so maybe it's one of Robs post quotes? Anyway here it is.
Quote:
You can filter out 99% of backscatter just by going to Options -> Spam/virus protection, selecting Normal or Aggressive protection, and clicking Done. Even if your level is already set to Normal or Aggressive, you should click Done there again to ensure that the backscatter detection rules which were only added a few months back are incorporated into your rules.
Sherry
Sherry is offline   Reply With Quote
Old 3 May 2007, 07:06 AM   #3
Kocab
Junior Member
 
Join Date: Sep 2006
Posts: 25
Quote:
Originally Posted by Sherry View Post
Hi Kocab,

If you have a Full or Enhanced account then perhaps the "backscatter" detection is not active on your account. The following is a quote I got from somewhere however I couldn't find the exact one in the FAQ so maybe it's one of Robs post quotes? Anyway here it is.


Sherry
Thanks Sherry. I do have an enhanced account, and it has been active until now. I just checked and it's still active. But I reset the setting - perhaps it was modified somehow.
Kocab is offline   Reply With Quote
Old 3 May 2007, 08:04 AM   #4
Sherry
 Moderator 
 
Join Date: Dec 2002
Location: USA
Posts: 8,687
Hopefully that will help. If not just post back and perhaps someone will come up with another idea.

Sherry
Sherry is offline   Reply With Quote
Old 3 May 2007, 01:22 PM   #5
Bolman
Member
 
Join Date: Mar 2005
Location: Kansas City
Posts: 86
Quote:
Originally Posted by Kocab View Post
Has anyone else noticed a significant increase in spam getting through FastMail's filters in the last 24 hours or so? I've gone from no spam at all to a ratio of about 1:1 ham/spam.

Most of it is bounce-back spam.

If you're not seeing it, perhaps it's just my turn to have my primary email address be used as a spammers return email.
Fwiw, I've been seeing less spam recently. I'm curious about why (I haven't changed anything lately), but as far as I can tell, it's a good thing.
Bolman is offline   Reply With Quote
Old 6 May 2007, 01:55 AM   #6
n5bb
Intergalactic Postmaster
 
Join Date: May 2004
Location: Irving, Texas
Posts: 8,929
Arrow Setup details for Sieve backscatter filtering

Quote:
Originally Posted by Kocab View Post
Thanks Sherry. I do have an enhanced account, and it has been active until now. I just checked and it's still active. But I reset the setting - perhaps it was modified somehow.
The Fastmail backscatter filter is applied in your Sieve script. So after Fastmail added this feature, your script needs to be modified to add the backscatter filtering. So Sherry's suggestion is correct in the most common situation, where you are only using the Fastmail SMTP and not using a custom script.

If you are not using a custom script, then when you select Done in the Options>Spam/Virus Protection screen your backscatter choices are made in your Sieve script automatically. Since this was an added feature, I think the only way that the Backscatter filtering could get into your script is by performing this seemingly unneeded step.

Important note: If you are using your ISP's SMTP and don't use a custom Sieve script, then you need to use the Options>Spam/Virus Protection "Custom" spam protection setting, select Save, add your SMTP servers at the bottom of the screen, then select Done. Otherwise, emails you send through your ISP's SMTP which are properly bounced will be sent to Junk Mail.

But if you are using a custom Sieve script, then you must add the Backscatter filter yourself. Near the top of your Sieve script (after the require initial statement but before any rules with file or forward or keep messages), you would in this case need to add the following script:
Code:
if not header :contains ["X-Spam-known-sender"] "yes" {
if allof(
  header :contains ["X-Backscatter"] "yes",
  not header :matches ["X-LinkName"] "*" 
) {
fileinto "INBOX.Junk Mail";
stop;
} }
Important note: If you ever send email using an address which targets your Fastmail account (your main Fastmail address, an alias, or a virtual alias at your domain) from a non-Fastmail SMTP (such as your ISP's SMTP), then you must add an additional statement to check X-Backscatter-Hosts to the script, resulting in the following code for two SMTP server entries:
Code:
if not header :contains ["X-Spam-known-sender"] "yes" {
if allof(
  header :contains ["X-Backscatter"] "yes",
  not header :matches ["X-LinkName"] "*" ,
  not header :contains ["X-Backscatter-Hosts"] [ "smtp.yourISP.com", "smtp.YOURotherISP.net" ]
) {
fileinto "INBOX.Junk Mail";
stop;
} }
Bill

Last edited by n5bb : 8 May 2007 at 02:39 PM. Reason: Corrected both script fragments by adding trailing } brace to each one.
n5bb is offline   Reply With Quote
Old 6 May 2007, 10:12 AM   #7
DaveHanson
Senior Member
 
Join Date: Nov 2001
Posts: 149
Same problem as OP

I've had an EXPLOSION of backscatter spam in the last 8 hours, after having virtually all of it filtered out before today. So you're not alone, OP. It's as if the filtering failed for some reason.

I have an enhanced account. Will happily provide more details in order to help solve the problem.
DaveHanson is offline   Reply With Quote
Old 7 May 2007, 01:18 AM   #8
n5bb
Intergalactic Postmaster
 
Join Date: May 2004
Location: Irving, Texas
Posts: 8,929
Quote:
Originally Posted by DaveHanson View Post
I've had an EXPLOSION of backscatter spam in the last 8 hours, after having virtually all of it filtered out before today. So you're not alone, OP. It's as if the filtering failed for some reason.

I have an enhanced account. Will happily provide more details in order to help solve the problem.
Do you have code similar to what I posted above in your Sieve script? Even if you are not using a custom script, the link at the bottom of the Rules screen allows you to view your current Sieve script.

Also look at the full headers of the messages which are getting into your Inbox. Look for this header, which should be added to backscatter messages:
X-Backscatter: yes

Bill

Last edited by n5bb : 7 May 2007 at 01:23 AM.
n5bb is offline   Reply With Quote
Old 7 May 2007, 01:14 PM   #9
robmueller
Intergalactic Postmaster
 
Join Date: Oct 2001
Location: Melbourne, Australia
Posts: 6,102

Representative of:
Fastmail.FM
Just a note about the backscatter filter. When I implemented it, turning it on required changing peoples sieve rules. This left two main options.

1. Leave as is, and over time as people change anything that results in their sieve rules being rebuilt, they'd automatically get it turned on
2. Go through and rebuild everyones sieve rules immediately

I ended up going with 1, which is why I say:

Quote:
You can filter out 99% of backscatter just by going to Options -> Spam/virus protection, selecting Normal or Aggressive protection, and clicking Done. Even if your level is already set to Normal or Aggressive, you should click Done there again to ensure that the backscatter detection rules which were only added a few months back are incorporated into your rules.
So basically even if you just go to Options -> Spam/Virus protection and click Done, although you didn't make any changes, it may actually be making a change to your sieve script and activating the backscatter checks.

I really should have just done 2 shouldn't I... *sigh*

Rob
robmueller is offline   Reply With Quote
Old 8 May 2007, 03:50 AM   #10
DaveHanson
Senior Member
 
Join Date: Nov 2001
Posts: 149
Thanks Bill for the reply. I tried entering your script, but got a syntax error. I'm sure I'm missing some punctuation somewhere...here's how my rules start.

Any suggestions most appreciated.


require ["envelope", "imapflags", "fileinto", "reject", "notify", "vacation", "regex", "relational", "comparator-i;ascii-numeric", "body", "copy"];

if not header :contains ["to", "cc", "subject"] "xxxx" {
if anyof(
header :contains "subject" "Credit Watch Credit Profile Order",
address :all :is ["to", "cc", "resent-to"] "finances.freetrade@daveh.sent.com",
DaveHanson is offline   Reply With Quote
Old 8 May 2007, 06:41 AM   #11
theukrainian
Senior Member
 
Join Date: Aug 2002
Posts: 158
I've had the same thing happen recently. I was also looking for X-BackScatter: Yes header. All the bounces I got (all 60 of them within a day!!) had the backscatter of the form NotFound1. See here for more information:
http://www.emaildiscussions.com/show...nd1#post383057

I don't know if this has any implications for automatic filters, since I am using a custom script....
theukrainian is offline   Reply With Quote
Old 8 May 2007, 02:45 PM   #12
n5bb
Intergalactic Postmaster
 
Join Date: May 2004
Location: Irving, Texas
Posts: 8,929
Exclamation My earlier post now corrected

Quote:
Originally Posted by DaveHanson View Post
Thanks Bill for the reply. I tried entering your script, but got a syntax error. I'm sure I'm missing some punctuation somewhere...
Sorry, but I made an error when pasting those Sieve script fragments into my post, Dave. I have corrected them now (by adding a trailing curly brace). My curly braces weren't matched (which is a particularly geeky thing to say!).

You can insert my corrected Sieve script immediately after your initial require[...]; statement.

Bill
n5bb is offline   Reply With Quote
Old 8 May 2007, 02:53 PM   #13
n5bb
Intergalactic Postmaster
 
Join Date: May 2004
Location: Irving, Texas
Posts: 8,929
Exclamation Report the NotFound backscatter type

Quote:
Originally Posted by theukrainian View Post
I've had the same thing happen recently. I was also looking for X-BackScatter: Yes header. All the bounces I got (all 60 of them within a day!!) had the backscatter of the form NotFound1. See here for more information:
http://www.emaildiscussions.com/show...nd1#post383057
I think this just means that the original message wasn't found, so that it might not be a bounce message. Did you forward some of those to Rob, as he asked in the last paragraph of that post? If you don't send these to Rob, he won't be able to add that type of bounce message to his bounce code.

Bill
n5bb is offline   Reply With Quote
Old 9 May 2007, 02:16 AM   #14
theukrainian
Senior Member
 
Join Date: Aug 2002
Posts: 158
Quote:
Originally Posted by n5bb View Post
I think this just means that the original message wasn't found, so that it might not be a bounce message. Did you forward some of those to Rob, as he asked in the last paragraph of that post? If you don't send these to Rob, he won't be able to add that type of bounce message to his bounce code
Yeah, that's what it means. However if the backscatter filters are only "looking" for "Yes", these messages will get through (that's what happened in my case anyway). I did not forward them to Rob since I did not see any delimiters there, so I thought it was pointless. At least that's what I understood his message to mean.
theukrainian is offline   Reply With Quote
Old 9 May 2007, 02:09 PM   #15
robmueller
Intergalactic Postmaster
 
Join Date: Oct 2001
Location: Melbourne, Australia
Posts: 6,102

Representative of:
Fastmail.FM
Still forward a copy of the message to me. There might be a copy of the original as an attachment or in some other odd way that's not obvious at first glance. Remember to use the "Attach Orig" option...

Rob
robmueller is offline   Reply With Quote
Reply



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 07:13 PM.

 

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