You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Justin Mason <jm...@jmason.org> on 2007/05/02 22:25:09 UTC
Re: TMP Files
Theo Van Dinter writes:
> On Wed, May 02, 2007 at 02:53:03PM -0400, Daryl C. W. O'Shea wrote:
> > >normal .spamassassinXXXXXXXXXXXtmp files in /tmp but is not always removing
> > >them. The files that remain only ever contain garbage text, like what's
> > >seen as
> > >a mail attachment in a plain text file. Without usable text from these
>
> fwiw, it sounds like the new "put non-text parts in a temp file" code.
> my version had those files removed when they were created, but I think
> I saw a mail float by recently about that bit getting changed before
> the release.
It does sound like that, alright. The change was to support win32, which
doesn't allow the "open then unlink" POSIX mode that the code was relying
on.
My guess -- if the Message object is not finish()'d, it may leave those
temporary files behind, I guess.
Could someone seeing this bug please open a bug on the bugzilla about it?
--j.
RE: TMP Files
Posted by "Jason Bertoch [Electronet]" <ja...@electronet.net>.
> -----Original Message-----
> From: jm@jmason.org [mailto:jm@jmason.org]
> Sent: Wednesday, May 02, 2007 4:25 PM
> To: Theo Van Dinter
> Cc: users@spamassassin.apache.org
> Subject: Re: TMP Files
>
>
> It does sound like that, alright. The change was to support
> win32, which
> doesn't allow the "open then unlink" POSIX mode that the
> code was relying
> on.
>
> My guess -- if the Message object is not finish()'d, it may
> leave those
> temporary files behind, I guess.
>
> Could someone seeing this bug please open a bug on the
> bugzilla about it?
>
> --j.
Bug #5444 has been opened regarding this matter. Since opening the bug, I
completely removed my SA install and started from scratch, including updating
all local Perl modules, to no avail. For now, I've set up a cron job to remove
old files, but it's got me concerned where if that script fails, I'll run out of
tmp space.
Jason A. Bertoch
Network Administrator
jason@electronet.net
ElectroNet Intermedia Consulting
3411 Capital Medical Blvd.
Tallahassee, FL 32308
(V) 850.222.0229 (F) 850.222.8771