[Mimedefang] Simple feature request

WBrown at e1b.org WBrown at e1b.org
Wed Sep 15 09:30:19 EDT 2004


mimedefang-bounces at lists.roaringpenguin.com wrote on 09/14/2004 09:06:29 
AM:

> How about if I change the function not to accept another argument, but
> to explicitly look for a hostname/port combination, and pull out the
> port part and use it?  I would rather use "hostname/port" than
> "hostname:port" to prepare for the miraculous day when IPv6 is widely
> used. :-)

Let me preface this with "I haven't been a programmer in a long time!!" 
With that out of the way, would it be difficult to detect which format the 
host was specified?

If there are multiple colons, it would be an IPv6 numeric address.  If 
there is only one, it is hostname:port or IPv4:port. 




More information about the MIMEDefang mailing list