develooper Front page | perl.qpsmtpd | Postings from April 2010

Re: spool files not temp?

Thread Previous | Thread Next
From:
Charlie Brady
Date:
April 14, 2010 16:58
Subject:
Re: spool files not temp?
Message ID:
Pine.LNX.4.64.1004141954570.9013@e-smith.charlieb.ott.istop.com

My tuppence worth - this potential debugging value doesn't justify risking 
leaving detritus in the spool directory. Delete the files on open and be 
done with it. There's no reason they shouldn't be anonymous.

On Wed, 14 Apr 2010, Charlie Brady wrote:

> On Wed, 14 Apr 2010, Charlie Brady wrote:
> 
> > On Wed, 14 Apr 2010, Matt Sergeant wrote:
> > 
> > > Hi,
> > > 
> > > Can anyone remember the reason that the spool files aren't proper temp files
> > > (deleted upon open)? We often end up with a hard restart of qpsmtpd and having
> > > these files left around is annoying...
> > 
> > I asked that question, and I think there was a hand-waving response about 
> > debugging.
> > 
> > I'll see if I can find a reference in the archives.
> 
> http://www.mail-archive.com/qpsmtpd@perl.org/msg04394.html
> 
> Ask Bjrn Hansen wrote:
> 
>     The original logic for not doing the immediate unlink was to keep it 
>     as a tool to track down bugs in the error handling. 

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About