When I tap in a message I am asked to block that user, but for a self-hosted annoying “friend” or spammer is really easy to just send the message with other email address from their server, so it would be really nice to ask to block user or full domain when I tap in a contact request, ex. when I tap a message from email@example.com I am asked to block firstname.lastname@example.org or to block all messages coming from server @spammingserver.com so all messages from email@example.com, firstname.lastname@example.org, …, accN@spammingserver.com
This will be useful to block some services that sent you generated email address to notify you, ex. github, or if I would like to block the Matrix email bridge since it is not compatible with DC, every people that write me from Matrix has a different email address, etc
Blocking in the meaning that they don’t show up or in the meaning that they get rejected by your mail server?
Either way, I think setting up a filter in the providers settings is the better way to go (although we can and probably should provide tutorials on how to do it)
Also if we do enable blocking client side we should warn the user about the consequences of blocking email domains so they don’t block legit services by accident.
“blocking” here has the same meaning than blocking an user, and mean that all users from “somedomain.com” will be blocked in Delta Chat,
not all servers provide filters, ex. mine, Nauta and playing with server filters are not for a solution for an average user
and this will be useful to block emails form GitHub for example.