What is the longest rail tunnel in New Zealand?

Kaimai - 8879 m - opened 12 September 1978 - near Apata on the East Coast Main Trunk Railway Line to Tauranga. It is the longest rail tunnel in New Zealand.