Hello,
If you want fight to loot herbs/mines, in advance generals settings tab "Looting and Farming options" disable option "Ignore fight during farm if druid form".
If you want ignore herbs/mines with mobs near, in advance generals settings tab "Looting and Farming options" put 0 at option "Max Units Near".