On Sun, 15 Jan 2006, Peter J. Holzer wrote:

One thing that would make this nicer would be if the server knew what IP
addresses it is listening on. Unfortunately, this information is not
passed from the daemon-running script into the main code.

How are you running qpsmtpd? The local IP address should be available
in $self->qp->connection->local_ip (and also in $ENV{TCPLOCALIP}, but I
guess this is deprecated).

That's the local address for the current connection, not all local addresses that qpsmtpd is listening on.


-dave

/*===================================================
VegGuide.Org                        www.BookIRead.com
Your guide to all that's veg.       My book blog
===================================================*/

Reply via email to