Block email address
Reported by Chauncey | May 18th, 2015 @ 05:22 PM
I wish there was an easy way to permanently block an email address. I don't mean to mark it as junk but to delete any email that comes from a domain and/or a user at some domain.
My need is that I receive email that is definitely junk and that ends up in my junk email box. However, once a week or so I have to go through my junk email box and make sure that nothing in the junk folder is a false positive. I do so by deleting everything that is junk and moving to the inbox everything that is not.
I'd like to streamline this process by permanently blocking certain senders that I know I'll never need to receive an email from. I'd like to do this with the click of a button or a script if possible.
Any ideas? I know I can create a rule but that would be quite tedious to do for every email address.
Comments and changes to this ticket
-
benny May 21st, 2015 @ 12:22 PM
- State changed from new to resolved
Here is my suggestion:
- Introduce a tag named “JunkAddress”.
- Whenever an email in your “Junk” falls into this category then tag it.
- Create two smart mailboxes based on junk where Tag/Keyword is and is not “JunkAddress” (e.g., name them “Junk Addresses” and “Not Junk Addresses”).
- Add a rule to your Junk mailbox with the condition “From ▸ Address is in Junk Addresses“ with an action that tells to move it to “Deleted Messages”.
Now you just need to review “Not Junk Addresses”.
I hope that makes sense.
-
benny May 21st, 2015 @ 12:23 PM
You can, of course, also use an IMAP mailbox for these example junk emails, but then be careful with your image blocking settings in the Security preferences pane.
-
Chauncey June 3rd, 2015 @ 04:35 PM
Thanks for the suggestion Benny. I do have a few concerns with this approach though:
The biggest issue I see is that after the spam mailbox is emptied (usually every 30 days), I'll need to retag messages with "JunkAddress". This defeats the purpose of a blacklist.
Also, won't moving the "JunkAddress" tagged messages to "Deleted Messages" defeat the purpose of tagging them? i.e., won't this prevent future messages from that address from being deleted?
Perhaps, something like this would be best left to scripting. Is there any hope for scripting support for MailMate in the future?
A simple use case would be a "Mark as Junk and Delete" script that tags an email in the inbox as junk (for SpamSieve) and promptly deletes it rather than moving it to the Junk mailbox—I've already verified the message is junk and only need to tell SpamSieve it is junk before deleting it so I don't see it again while doing my weekly review of the junk messages.
Granted, this could already be done with tags and rules but perhaps being able to use AppleScript or JXA would be more approachable?
-
Jeremy Hunter February 25th, 2016 @ 01:10 PM
I'm with Chauncey on this. Please add a button that will automatically create a rule that will move a emails from a sender address to the deleted. Click the button, rule created, sender blocked. If you want to reverse you can edit mailbox and delete the rule. Simple, fast, efficient.
-
Jeremy Hunter May 18th, 2016 @ 08:43 PM
Still following up on this. Not sure how this can be marked as resolved. Creating smart mailboxes for every common problem is not 'resolved'. Why can't marking a message in your inbox as junk, block that sender. Why aren't there any good tools in mailmate to help with managing junk email?
-
Sean July 22nd, 2017 @ 12:23 PM
How about:
- Create a normal (not smart) mailbox called "Blacklist".
- Select the mailbox and copy its UUID to the clipboard with “Edit ▸ Copy” (⌘C).
- Create a custom
keybind to move junk we want to blacklist to the Blacklist
mailbox, such as:
"b" = ("moveToMailbox:", "imap://user@host/Blacklist");
- Add a rule to the Junk mailbox. Condition: "From ▸ Address is in Blacklist", Action: "Delete".
-
benny August 14th, 2017 @ 09:53 AM
Quite a lot of unanswered (and old) comments in this ticket. Sorry about the delay. I'll comment on some of them:
@Chauncey: Using a custom bundle, it would be possible to implement a blacklist feature. (I'm a bit hesitant with the word blacklist because I'm already using this for something else.)
@Jeremy: In general, I think junk mail is best handled server-side, but I'm aware this is not always an option. Users also have very different ideas of how junk handling should work. The functionality in MailMate is focused on the basics: Providing a way to move to/from the Junk folder and marking individual emails as Junk or Not Junk. The important part of this is how it works together with image blocking.
@Sean: I think your approach would also work.
Now, getting back to the custom bundle mentioned above and how it could work. I think a minimal bundle could work with the following 3 commands:
Add Sender to Junk List Remove Sender from Junk List Move to Junk if Sender is in Junk List
The first two would have a shortcut. The last one should be used in a rule on the Inbox to actually move messages when finding a match in the junk list.
If any of you thinks this would be useful then I'm willing to provide an example bundle. It could serve as a starting point for, possibly, something more advanced/general.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Mac OS X email client.