Should I configure on the interfaces
spanning-tree portfast to hubs and switches when these are connected to our main switch?
Actually yes anything which can give an access and connection to multiple connections/nodes and then loop back to the same switch is a risk.
*Pls rate all helpfull post
No you never enable portfast on links attached to other network devices , this is only used on client access ports. Network device links should have portfast turned "off".