develooper Front page | perl.qpsmtpd | Postings from July 2007

Correcting $self->config('me')?

Thread Next
From:
Peter Eisch
Date:
July 30, 2007 11:38
Subject:
Correcting $self->config('me')?
Message ID:
C2D399C7.857A8%peter@boku.net

If this is changed in 0.40 this might be my reason to migrate from 0.32...

I'd like the $self->config('me') value to change to match the the in-addr
resolution of the local IP on the session.

I'm looking at hacking this into place and I'm wondering the proper way to
update away from `hostname`.  One change includes the parameter to the
Qpsmtpd::STMP->start() and then store it in a local var.  If that var is
undef, then use $self->config{'me') as default.

The end goal is to reflect the right hostname in the 220 opening banner on
systems which have multiple IPs.

Ideas?

peter


Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About