How does the insurance company find out about moving violations?

fgeel asked:
My understanding is that when you get a moving violation (e.g, a speeding ticket), the police or the courts or whoever will notify your insurance company. When your insurance company finds out and finds out about the points that are now on your license, they raise your insurance premium. However, a friend tells [...]