John Peacock wrote:
2) Always spool the file when body_filename() is called.
And yet, when size_threshold > 0, IO::File was not flushing small files
to disk, so it still didn't work right. I added an explicit
$self->{_body_file}->close();
and now EICAR gets caught either way.
I also fixed a problem with qpsmtpd, which wasn't loading the plugins
anymore. Since this apparently means no one is running with tcpserver,
should we change the default ./run to reflect that?
I also have useful alternate run scripts in my local branch that others
might find useful:
1) ./debug - loads qpsmtpd via tcpserver using the Perl debugger under
the current user and port 2525;
2) ./test - loads qpsmtpd via forkserver using the current user and port
2525.
Should I add these to the distro?
John