Thirty men were sentenced to between 10 years to life imprisonment on Saturday for planning a suicide bombing on a church in the Egyptian city of Alexandria and other charges, court official said.