Temp files somewhere other than /tmp?

Hello,

I’m running 5.0.3. We are planning on upgrading to 5.0.4 soon.

Our production RT server is a hardened, heavily customized FreeBSD 11.2 VM. /tmp is not a physical partition; it is a tmpfs file system. It’s small (64MB), and we’re concerned about running out of space.

Is there away to point RT away from /tmp, to some arbitrary location where it can create temp files? It looks like setting TMPDIR might work, except that there are a couple Perl modules that have /tmp hardcoded (as opposed to using File::Temp).

Thanks
–Steve