The IMD pathway responds to Gram-negative bacterial infections, whereas the Toll pathway is activated by Gram-positive bacteria and fungi. Here, TLR4 is linked to gram-negative bacterial infections.