Salt works just like the chalk.

In the summer, we line the bottom part of our door frame with salt and they don't get in. (At least...not from that enterance!! )