Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> Specifically for google: allow users to block whole domains; I can already do that on my own mailserver, why can't I do that on Google's?

You can do this with filter rules on Gmail:

https://support.google.com/mail/answer/6579?hl=en

This list of Gmail search operators may be helpful in crafting your filter rulesets:

https://support.google.com/mail/answer/7190?sjid=11169181429...

You can either search first, then create a filter, or create the filter and then set your specific search terms/scope. The only downside of filters is that they only apply to incoming mail; you can't apply them to already existing mails, but you can use the same search terms as a kind of mask, then use the select all checkbox, then click the link to select all mail that matches the search instead of just selecting all mail on current page/view.

Hopefully that helps.



Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: