qpsmtpd 0.31

We are using the following to determine the local port when in the
'connect' hook:

my $localport = $self->qp->connection->local_port ;

We would like to do the same thing in the 'pre_connection' hook. The above
line doesn't work, and shows 'uninitialized value' in the logs.

Is there some other way to get the local port at this stage, or do we have
to move what we want to do to the connect hook, instead?

Thanks,
R

Reply via email to