On Fri, Mar 13, 2026 at 02:36:56PM +0800, Kevin J. McCarthy wrote:
This version changes $tmpdraftdir to use the $TMPDIR env var if set,
like $tmpdir.  If unset, it defaults to /var/tmp.

It also updates the mutt.man page and manual to mention $tmpdraftdir in
security notes > temporary files.

Thanks to Fabian for pointing out MacOS wipes /var/tmp on reboot, and
for Claus Assmann for pointing out the same for OpenBSD.  That's a
shame, but I think but I think it's still worth making this change for
those systems that respect the intended use of /var/tmp.

Kevin J. McCarthy (3):
 Remove unused non-buffer tempdir functions.
 Clean up tempdir definitions and file locations.
 Add $tmpdraftdir for composing messages.

I've pushed this up.

--
Kevin J. McCarthy
GPG Fingerprint: 8975 A9B3 3AA3 7910 385C  5308 ADEF 7684 8031 6BDA

Attachment: signature.asc
Description: PGP signature

Reply via email to