My personal opinion is that the idea salt can rid one's house of evil spirits/black magic is just a superstition crafted by clever salt traders in ancient times to take advantage of superstitious folks and boost profits.
What do you think? How would a chemical influence a spirit?