I keep getting emails from a domain, which always use the same email address; every time I mark them as junk in Mail, but Mail keeps showing those email in my inbox.

Is there a way to force Mail to consider those emails as junk? Do those emails contain a header that forces Mail to consider them acceptable messages? As far as I can see, I only have the problem with those emails; other emails that I mark as junk are never shown again in the inbox.

The emails I receive are not in my Google Mail account.

Update: Mail allows to set some custom actions for junk mail. I forgot to say I edited those settings to be as in the following screenshot:


I simply added the last condition to the default ones used by Mail, to avoid messages coming from Drupal.org would be moved to the spam folder (it can happened that I receive messages about spam on Drupal.org, as I am a site maintainer there). As the condition before the one I added is "Message is Junk Mail," and as the spammy address is not in my address book, it not in my previous recipients, and I have already marked the email as junk, I would expect the emails to be marked as spam, always.

In the "Junk Mail" tab, those custom actions are enabled.


Still, even after I changed the settings for junk mail, I am getting those junk messages as if they were normal messages. This means that, having changed the settings didn't help, or make things worse.

  • Don't you simply want to mark email as spam from a specific domain? I find your applied rule a bit too bloated. It's prone to mistakes because you chose "if all conditions are met". I would try using a rule that only contains from+contains+@xxxx in the conditions. – gentmatt Jan 4 '12 at 0:02
  • The conditions I show in the screenshots are the ones I have already applied more than one month ago, as I was missing reports about spam I could have removed from drupal.org. The conditions are the default ones, to which I added the one not to consider messages from Drupal.org as spam. Even before I enabled the custom actions, the messages I received from the spammy domain were considered not junk. – kiamlaluno Jan 4 '12 at 0:08
  • I do not mean that you have to remove the other definitions. Just leave the default one as it is and create a whole new rule. The default rule must have some problem already, since it is only applied when the Message is Junk Mail - which it is not for some reason, since it still appears in the inbox. – gentmatt Jan 4 '12 at 0:12
  • The option that was enabled before was "Move it to the Junk mailbox" which means no custom actions were done. That is why I am asking if the email is set to appear as not junk using some headers. Of all the spam, I have only problems with that email address; the other spam is detected, and moved to the junk mailbox. – kiamlaluno Jan 4 '12 at 0:19
  • Why is drupal.org in parentheses ? try without – mmmmmm Jan 4 '12 at 14:20

Mail.app has a feature called rules that enables you to automate your mail tasks.

You can define rules in the Mail preferences. enter image description here

| improve this answer | |

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .