Peter J. Holzer wrote:
> Run qpsmtpd (not forkserver or the apache module) after setting the
> TCPREMOTEIP environment variable:
>
> TCPREMOTEIP=127.0.0.1 perl -d qpsmtpd
That would be 'perl -dT qpsmtpd' (else you'll get a warning). I actually have a
debug script that I use:
#!/bin/sh
exec /usr/local/bin/softlimit -m 25000000 \
/usr/local/bin/tcpserver -c 10 -v -R -p \
127.0.0.1 2525 \
perl -d ./qpsmtpd
which lets me test more than one message in one debugging session. It is also
very helpful to put:
$DB::single=1;
at the point in your plugin where you want to break. Note also that qpsmtpt is
is very noisy under the debugger (basically it echos all sorts of nonsense). I
keep meaning to get back to trying to get ebug_http working.
John