In fruit flies, the production of AMPs during antibacterial immunity is mediated by the Immune deficiency (IMD) and Toll pathways. Here, TLR4 is linked to Immunodeficiency.