On Mon, Aug 21, 2006 at 08:48:10PM +1000, Bill Maidment wrote: > I have made a small change for my purposes, which was needed because the > temporary files were not unique using mimedefang. I added a date/time > stamp to the file names in the perl module: > > --> my $ts = time; > --> my $tempfile = $tmppath . "/" . "spamassassin.$$" . $ts . ".focr"; > --> my $errfile = $tmppath . "/" . "spamassassin.$$" . $ts . ".focr.err";
FWIW, there's a function in M::SA::Util (secure_tmpfile) to create temp files which would avoid this issue. -- Randomly Generated Tagline: "Engineering does not require science. Science helps a lot but people built perfectly good brick walls long before they knew why cement works." - Alan Cox
pgpJjHKk1zhPu.pgp
Description: PGP signature