Dissolve gelatin and salt in boiling water. Drain pineapple, measuring syrup; add water to make 1/2 cup liquid, if necessary. Stir pineapple and juice into gelatin along with lemon juice. Blend in mayonnaise.