The air is full of salts.
Not really. Coastal surf and/or white capping
sometimes carries sea water as a Mist with the wind.
The interior walls of your boat would be "salt water" sticky too, if that was the source,
Because of the
circulation fan used to move warm air from your boat cabin, across your AC coils, pulls a slight vacuum or low pressure...
your enclosure for the AC must be AIR TIGHT except for the return air grill.
So you don't...
cool/heat the entire marina.
Seal your AC enclosure!
Tip: This is the real use for DUCT TAPE!!
Jim...
PS: This works for your home central air too. Many people don't check that they are sucking outside air over their coils.