> 1) Initialize the spool_dir when the application starts up (not every
> time a new transaction is created);

+1 to the concept.  Depends on the implementation I guess.  :)

> 2) Provide a temp_file/temp_dir equivalent from within Qpsmtpd itself
> (since we don't need the full gamut of options that File::Temp
> provides).

+1 for sure.

If you attach it to the connection/transaction objects, you can easily
control the lifetimes.

-R

Reply via email to