Infection may also be a sign of an obstruction or tumor in the salivary glands. In these cases, the obstruction or tumor must be removed to treat the infection.