Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Wildgift

macrumors 6502
Original poster
Sep 21, 2007
426
20
I am getting deluged with junk mail from Russia. The addresses all end with .reg.ru , and also have a reply to at pro@reg.ru . I would like to have these automatically sent to trash, and not my junk folder.

I have tried to create rules, but none of them seem to work. I'd be VERY grateful if anyone could give me a rule to rid my junk box of this nonsense.

Thanks!!
 
  • Like
Reactions: johny5
If using Apple Mail, have you tried something such as this? And with message content, is there a common, always in content word? Use that in the rule then.
 

Attachments

  • Screenshot 2022-12-15 at 9.36.52 AM.png
    Screenshot 2022-12-15 at 9.36.52 AM.png
    265.8 KB · Views: 270
Many thanks!!! However, it didn't work....
I can try "no longer" which is in all these.
 
Last edited:
I know this doesn't solve your problem (putting .ru emails into trash), but wondering if it could make things just a bit easier:

Create a new mailbox named "russia".
It can be on the server, or on your Mac.

Now, set up a new rule that moves all mail containing ".ru" into this mailbox.

If it works, this segregates the ".ru" mail into its own folder.
It should then become easy to just open that folder, then hit "command-A" (for "select all"), then the delete key.

Again, I realize this isn't the perfect solution, but it separates the ".ru" emails from the "ordinary" junk mail and makes it a little easier to get rid of.
 
The order of rules matters. If the rule that moves items to your Junk mail folder comes before your new "Russia" rule, then the incoming mail will likely match the builtin Junk-mail rule and go into Junk. Make sure the "Russia" rule is before the Junk-mail rule.

When you say the new rule doesn't work, how are you testing this? Is it being applied to incoming emails, or are you testing it on emails already in your Junk-mail folder?

It may be useful to review the online User Guide for Mac Mail, so you know all the things involved with Mail rules:

Most email services also provide on-server rules. For example, if your email address receiving the .ru emails is an iCloud email address, you can make a rule on the server. See this thread:
 
The order of rules matters. If the rule that moves items to your Junk mail folder comes before your new "Russia" rule, then the incoming mail will likely match the builtin Junk-mail rule and go into Junk. Make sure the "Russia" rule is before the Junk-mail rule.

When you say the new rule doesn't work, how are you testing this? Is it being applied to incoming emails, or are you testing it on emails already in your Junk-mail folder?

It may be useful to review the online User Guide for Mac Mail, so you know all the things involved with Mail rules:

Most email services also provide on-server rules. For example, if your email address receiving the .ru emails is an iCloud email address, you can make a rule on the server. See this thread:
Thanks, trying this now...
 
I too are receiving around 130 spam emails a day from .RU addresses. They appear to be randomised addresses like "pro-99136572@akoGV0ZmfRNpCi.reg.ru" with a reply to of "pro.reg.ru" so no amount of blocking works.
They all go straight to the spam folder but it's annoying that the mac is even downloading this. I forward all mails to spam@apple.com in the hope they might blacklist wherever theyre coming from.
I have also tried multiple rules to no avail, im guessing this might be because theyre flagged as spam from Apple anyway they go straight into the spam folder and rules wont be applied.
I would rather theyre deleted server side.
 
I too are receiving around 130 spam emails a day from .RU addresses. They appear to be randomised addresses like "pro-99136572@akoGV0ZmfRNpCi.reg.ru" with a reply to of "pro.reg.ru" so no amount of blocking works.
They all go straight to the spam folder but it's annoying that the mac is even downloading this. I forward all mails to spam@apple.com in the hope they might blacklist wherever theyre coming from.
I have also tried multiple rules to no avail, im guessing this might be because theyre flagged as spam from Apple anyway they go straight into the spam folder and rules wont be applied.
I would rather theyre deleted server side.
In order to delete them on the server side, you will need to setup a rule on the iCloud server.

The thread I linked to above shows how to do this:
 
In order to delete them on the server side, you will need to setup a rule on the iCloud server.

The thread I linked to above shows how to do this:
This is a nice fix that worked for a while. I deleted the rule in the link above and tried to make it go to a Russia folder. That did not work, so I went back to the global iCloud rule using *.ru into the Trash box. Now, it is back to putting everything into my Archive folder. I am considering just getting rid of the .Mac email address and informing my contacts that the email address no longer exists. Apple has really failed on this one!!!
 
  • Like
Reactions: Vaportrailz
This is a nice fix that worked for a while. I deleted the rule in the link above and tried to make it go to a Russia folder. That did not work, so I went back to the global iCloud rule using *.ru into the Trash box. Now, it is back to putting everything into my Archive folder. I am considering just getting rid of the .Mac email address and informing my contacts that the email address no longer exists. Apple has really failed on this one!!!
If it worked once, it should be possible to make it work again. To accomplish that, details are important, so we'll need to see exactly what rules you have on your iCloud Mail.

Please post a screenshot of your latest "ru filtering" rule, along with the list showing all your iCloud Mail rules.

As with the rules in the Mac's Mail.app, the order of iCloud Mail rules is significant.

Also remember that it may take 15 minutes or longer for changes to iCloud Mail rules to take effect. Until that happens, I don't know what might happen. It's possible that rules may work partly, or that only some rules work.
 
If it worked once, it should be possible to make it work again. To accomplish that, details are important, so we'll need to see exactly what rules you have on your iCloud Mail.

Please post a screenshot of your latest "ru filtering" rule, along with the list showing all your iCloud Mail rules.

As with the rules in the Mac's Mail.app, the order of iCloud Mail rules is significant.

Also remember that it may take 15 minutes or longer for changes to iCloud Mail rules to take effect. Until that happens, I don't know what might happen. It's possible that rules may work partly, or that only some rules work.
I have 101 rules. How do I do a screen shot on those? It looks like there is only 7 per shot..so you want 13 more files?
See attached rule on *.ru. It is #1 on my list.
 

Attachments

  • Screenshot 2022-12-21 at 3.46.34 PM.png
    Screenshot 2022-12-21 at 3.46.34 PM.png
    55.1 KB · Views: 117
I assmindely joined ESPN plus last month
what a waste of bandwidth!

and they will sent emails everyday, even the hidden emails no matter how you unsubscribe.
so adding a rule in mail and their Emil address to "move to trash" hopefully works in 2022.
 
I have 101 rules. How do I do a screen shot on those? It looks like there is only 7 per shot..so you want 13 more files?
See attached rule on *.ru. It is #1 on my list.
One screeshot showing the *.ru rule would be fine.

Do any of the other rules move a matching mail to Archive? If so, then maybe it's being triggered.

I just checked Apple's support page for iCloud email rules, and it says there can be up to 500 rules.

The screenshot of the *.ru rules looks ok, but check that there isn't a space or other character after the ".ru".
 
One screeshot showing the *.ru rule would be fine.

Do any of the other rules move a matching mail to Archive? If so, then maybe it's being triggered.

I just checked Apple's support page for iCloud email rules, and it says there can be up to 500 rules.

The screenshot of the *.ru rules looks ok, but check that there isn't a space or other character after the ".ru".
I just deleted a few that went to Archive. My spacing looks fine. I will keep you posted. Thanks!!
 
Update: Now the *.ru rule for emails to the Trash is now being directed to Junk, even though the rule is still telling them to go to Trash. Is someone at Apple overriding this? Also as an experiment, I decided to check the box that all emails be forwarded to my Gmail account and then have them then deleted from the iCloud server. None of that even happens. Gmail does a better job at filtering spam.
 
I have been getting > 50 of these *.reg.ru messages per day for several weeks now. It appears that Apple is flagging these as junk at the server level as they automatically go to the Junk folder. My "solution" as it were to this problem now consists of setting macOS Mail.app to empty the Junk and Trash folders daily, and I just deleted the Mail app on both my iPhone and iPad. I've been moving away from using email for years now, and just having it on my Mac is fine. My personal email address is a @mac.com one I've used for 20 years now. I don't think I will completely abandon it, but Apple's seeming reluctance to simply blocking these phishing emails from .ru domains has me considering that. I've sent multiple of these to spam@icloud.com and nothing has changed, of course. I doubt anyone even looks at the spam reports.
 
I have been getting > 50 of these *.reg.ru messages per day for several weeks now. It appears that Apple is flagging these as junk at the server level as they automatically go to the Junk folder. My "solution" as it were to this problem now consists of setting macOS Mail.app to empty the Junk and Trash folders daily, and I just deleted the Mail app on both my iPhone and iPad. I've been moving away from using email for years now, and just having it on my Mac is fine. My personal email address is a @mac.com one I've used for 20 years now. I don't think I will completely abandon it, but Apple's seeming reluctance to simply blocking these phishing emails from .ru domains has me considering that. I've sent multiple of these to spam@icloud.com and nothing has changed, of course. I doubt anyone even looks at the spam reports.
I would agree. Apple is routing everything to Junk and Trash. But that is not enough for me. Do you think that Apple could raise the bar and eliminating Spam? I am getting about 60 of the .ru mails daily. Gmail does a much better job at getting rid of this crap!!
 
You might try SpamSieve. Works well after you train it, although it works on websites not domains.
 
As above, I have been getting 50 or so a day. I have written a rule which doesn't really work as everything still winds up in the Junk folder.
Automatically deleting everything in the junk folder would also catch legit emails that got erroneously marked as junk.
If I make a slight change from .reg.ru to reg.ru and click done, I am asked do I want to run the rule and when I click in yes the rule runs as expected and all of the reg.ru emails go from junk to trash. The next day the "new" rule doesn't work but when I make a slight change to the rule it flushes out those files from Junk.

MacOS 13.1 (22C65)
 
I am getting deluged with junk mail from Russia. The addresses all end with .reg.ru , and also have a reply to at pro@reg.ru . I would like to have these automatically sent to trash, and not my junk folder.

I have tried to create rules, but none of them seem to work. I'd be VERY grateful if anyone could give me a rule to rid my junk box of this nonsense.

Thanks!!
There are a few different ways you can try to filter out unwanted emails like these. Here are a couple of options you can try:

  1. Create a filter based on the sender's email address or domain:
  • In your email client, go to the settings or preferences section.
  • Look for the option to create a new email filter or rule.
  • Use the option to specify the sender's email address or domain (e.g., anything ending in @reg.ru).
  • Choose the action you want the filter to take when an email matching the criteria arrives (e.g., delete the email or send it to the trash).
  1. Use keywords to identify and filter unwanted emails:
  • In your email client, go to the settings or preferences section.
  • Look for the option to create a new email filter or rule.
  • Use the option to specify keywords that are likely to appear in the unwanted emails (e.g., "viagra," "cialis," etc.).
  • Choose the action you want the filter to take when an email matching the criteria arrives (e.g., delete the email or send it to the trash).
I hope these suggestions help!
 
If it's going to Junk and you want it to go to Trash there's a way to do this.
Go Mail> settings > accounts and then to your email account. If you have several you will have to do this with each one.
The second tab along is 'mailbox behaviour' and in there you have the choice to define your junk mailbox.
You can of course also set up a new mailbox and send them there.
You are correct however that if it's already in junk (or in my case the ISP had a box called 'quarantine') the rules don't work and I have used this trick to get around that and make them disappear.

Maybe useful to some is in the same 'mailbox behaviour' you have the option to change the time when the junk mails are deleted so you can set if for when exiting, a day, a week and a month I think.

Also you may not have noticed but under the 'message' menu near the bottom is 'apply rules'. This is useful for testing if it's working.
 
I have written a rule which doesn't really work as everything still winds up in the Junk folder.

Sorry if I missed if this was already mentioned, but, this might be happening on the email provider's end. They already filtered it to Junk. And in turn, I believe that mail rules only filter for Inbox items, so the user rule will never run "automatically".

Mail stops applying rules to a message when it encounters the Stop Evaluating Rules action, or when a message is transferred to another mailbox by rules used on a mail server or computer or device synced to your computer.

Along the lines of what @ChristianMorris wrote, I use Smart Mailboxes for a filter-like experience where I can select all and delete from. So for Russian spam, something like attached.
 

Attachments

  • ruspam.png
    ruspam.png
    80.5 KB · Views: 102
How do you create a rule if the offending email is in the 'reply to' field? Mail rules doesn't have that option?
 
When setting up the rule, at the bottom of the condition options list is "Edit header list...". Can add "Reply-To" there and will be one of the options to pick from going forward.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.