=== lib/Qpsmtpd/Transaction.pm ================================================================== --- lib/Qpsmtpd/Transaction.pm (revision 483) +++ lib/Qpsmtpd/Transaction.pm (local) @@ -78,6 +78,7 @@
$spool_dir =~ /^(.+)$/ or die "spool_dir not configured properly";
$spool_dir = $1;
+ $self->{_spool_dir} = $spool_dir; if (-e $spool_dir) {
my $mode = (stat($spool_dir))[2];However, I'd rather do two things:
1) Initialize the spool_dir when the application starts up (not every time a new transaction is created);
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).
Thoughts? Criticism?
John
