A man shot three people dead and then committed suicide on Sunday in the Portuguese city of Setubal, local media reported.