The role of pastor is greatly overstated in the modern church. And yes, ordaining women to be pastors is unbiblical. However, they can teach and should teach if they are so called to do so. "Pastor" is mentioned twice in the NT. Elders should also be apt to teach.
Yeah, Phoebe of Cenchrea (Romans 16:1-2) had a deaconess role in her church and Paul trusted her enough to ask her to deliver the letter to Rome.