New Install of cPanel has SpamAssassin in wrong directory

hostsale

Member
Jan 31, 2008
12
0
51
How do I change the tmp directory location for Spamassassin? After the install, it is not working and I am getting the following errors in my log files:

locker: safe_lock: cannot create tmp lockfile /root/.spamassassin/auto-whitelist.lock.

The server is trying to save the tmp files to the root directory instead of /tmp like it should.