Its really very simple, if you have an army large enough to need multiple hits on an NPC farm daily and someone is raiding it in your absence you first email them and explain that its your garden and would they please stay out (or set up a boundary for each of you to follow) and if that doesn't work you take their city and NPC it. Obviously if your food need is that high, you have troops to do the job.

-Darsh