Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Filter for Extended ASCII characters in spam mail

  • 3
  • 2
  • 1 view
  • Nzaghachi ikpeazụ nke Zenos

more options

I've been getting an increasing number of spam mails that show up with strange characters in the subject line and gobbledegook in the body. If I look at the emails directly on my BTMail web page, the emails have an image instead of body text, featuring the usual sort of spam advertising. The (very limited) filters available on BTMail are useless. However, being an old-fashioned kind of guy, I don't normally use webmail - I use Thunderbird as an email client to organise and store all my mails locally. I'm hoping that I can set up filters in Thunderbird to filter out this sort of spam.

As you'll see in this screen shot, the subject lines - which are usually > 150 characters - have blocks of 3 non-ascii characters between each 'actual' letter (on webmail these characters disappear, and the headings appear as ' Your horoscope..' etc).

Any suggestions as to how I can trap these?

BTW, the body text always appears to start with the characters "qéíz¶¡­ç†" but for some reason a filter trying to match this in the body of the message doesn't work either.

I've been getting an increasing number of spam mails that show up with strange characters in the subject line and gobbledegook in the body. If I look at the emails directly on my BTMail web page, the emails have an image instead of body text, featuring the usual sort of spam advertising. The (very limited) filters available on BTMail are useless. However, being an old-fashioned kind of guy, I don't normally use webmail - I use Thunderbird as an email client to organise and store all my mails locally. I'm hoping that I can set up filters in Thunderbird to filter out this sort of spam. As you'll see in this screen shot, the subject lines - which are usually > 150 characters - have blocks of 3 non-ascii characters between each 'actual' letter (on webmail these characters disappear, and the headings appear as ' Your horoscope..' etc). Any suggestions as to how I can trap these? BTW, the body text always appears to start with the characters "qéíz¶¡­ç†" but for some reason a filter trying to match this in the body of the message doesn't work either.
Nseta ihuenyo ndị agbakwunyere

All Replies (3)

more options

The issue is one of character sets. have a look at what is specified in these mails. My guess is it will be something odd.

more options

I'm assuming that the non-ASCII characters are being encoded by the mailing software with Base64 encoding, as the subject line starts with:

Subject: =?UTF-8?B?

However, I'm not sure how knowing this helps me trap the mails, as I can't find a way to put non-ASCII characters into a filter.

more options

Sometimes it's easier to go at if from the other end. The FiltaQuilla add-on would let you use a regular expression to define a range of acceptable characters, and you could use it to reject any messages containing characters outside that range.

Simplistically, limiting it to characters 0 to 255 would allow all the standard ASCII symbols used in English.