Upon investigating this for stable, I wonder if the problem is as bad as
reported.  It seems that archivemail sets up its own temp directory and
creates its files in it:

    # create a temporary directory for us to work in securely
    old_temp_dir = tempfile.tempdir
    tempfile.tempdir = None
    new_temp_dir = tempfile.mktemp('archivemail')
    assert(new_temp_dir)
    os.mkdir(new_temp_dir)
    _stale.temp_dir = new_temp_dir
    tempfile.tempdir = new_temp_dir
    vprint("set tempfile directory to '%s'" % new_temp_dir)

I don't really know python at all, but it seems like it might be OK.  Do
you agree?

noah

Attachment: signature.asc
Description: Digital signature

Reply via email to