|
FastMail Forum All posts relating to FastMail.FM should go here: suggestions, comments, requests for help, complaints, technical issues etc. |
|
Thread Tools |
24 Aug 2016, 11:57 PM | #1 |
Junior Member
Join Date: Aug 2016
Posts: 2
|
Filtering out spam with my domain name in recipient address
Hello
My email address has my domain in it, ie myname@mydomain.com Lots of spam makes it into my inbox with recipient address like somerandomstring@mydomain.com Is there a way to define a rule, with regular expressions or not, that will filter those out? I thought of defining it with *@mydomain.com, but do not know whether it will filter out all my mail or will it know to treat my legit address as an exception. Thanks |
25 Aug 2016, 02:31 AM | #2 |
The "e" in e-mail
Join Date: Feb 2006
Location: EU
Posts: 4,945
|
Disable "catch all".
|
25 Aug 2016, 02:57 AM | #3 | |
Member
Join Date: Jul 2016
Posts: 42
|
Quote:
"v=spf1 include:spf.messagingengine.com ?all" you have disable that one and add another TXT RR for your domain with: "v=spf1 include:spf.messagingengine.com -all" a TTL of an hour is good |
|
25 Aug 2016, 03:03 AM | #4 |
The "e" in e-mail
Join Date: Feb 2006
Location: EU
Posts: 4,945
|
So all the legitimate messages not sent from/via Fastmail (I bet very few do come that way) will be marked as spam. Do you really recommend that?
|
25 Aug 2016, 03:08 AM | #5 |
Member
Join Date: Jul 2016
Posts: 42
|
Then the problem is not using smtp.fastmail.com to send your mail. Why wouldn't you ? especially since the latest security changes enable you to use an SMTP only app password for that.
|
25 Aug 2016, 03:28 AM | #6 |
The "e" in e-mail
Join Date: Feb 2006
Location: EU
Posts: 4,945
|
|
25 Aug 2016, 06:34 AM | #7 | |
Member
Join Date: Jul 2016
Posts: 42
|
Quote:
If the spam arriving in the OP's inbox is coming from a domain he owns that uses Fastmail's DNS service then hopefully it's not coming from Fastmail's servers in which case the SPF -all flag should result in an SPF fail and get them spammed. The login log should also be checked for suspicious SMTP usage to confirm it's not coming from Fastmail in the first place, in that case change passwords. |
|
25 Aug 2016, 12:53 PM | #8 |
Intergalactic Postmaster
Join Date: May 2004
Location: Irving, Texas
Posts: 8,930
|
Welcome to the EMD Forums, bob_oi! Like januz, I disagree with the comments suggesting that SPF will affect incoming messages sent to your personal domain. SPF only affects the reputation of the message From address, not the recipient address! There is no indication in the post that the spam is coming from any particular domain.
If Fastmail is hosting your domain (so you have an alias entry of *@mydomain.com), then as januz suggests you should disable that alias and add specific aliases for addresses you want to use -- if you are receiving a huge amount of such spam and the spam scores are small. A truly random recipient address at your domain can't be effectively filtered based on the address. But if you are only getting a few of these a day I wouldn't worry about disabling your wildcard * alias. Just be sure you are using address book whitelisting (keeping common sender addresses in your online Fastmail address book) and look at the spam scores of these messages to see if you can reduce your spam filtering threshold. Use Custom spam filtering and file to spam at a lower threshold so that more of those messages are caught by your spam filter. If these spam messages have something in common, you may be able to write a rule which will file similar messages to your spam folder. Look at the raw message, especially the X-Spam-source, From, X-Mail-from, and Subject headers. If something is common with most of these type of spam messages, we can help you with creating such a rule. It also helps if you have you Personal Bayes Spam Filter enabled (see the bottom of the Spam Protection screen for details). Bill |
25 Aug 2016, 11:49 PM | #9 |
Junior Member
Join Date: Aug 2016
Posts: 2
|
Thanks a lot to everyone!
|