There should be laws that allow to sue and effectively punish those things.
Yes, it could be abused by authorities, but it should be possible to sue someone if there are enough proof.
Big online platforms might also be able to clean a lot of trolls too.