I used 8 in. galvanized stovepipe on my E F M stoker boiler for 46 years.
In all that time I had to put on 2 new elbows.
If you are running a stove and it burns the galvanized pipe 99% of your heat is going out the chimney.
The only way a stovepipe will last more than one year is to have it on a stoker running 24/7 that will keep the moisture out and the pipe will not rust. Art52