An ancient and variable mannose-binding lectin from the coral Acropora millepora binds both pathogens and symbionts.