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. 

Reply via email to