[Mimedefang] md_check_against_smtp_server not IPv6 proof?

Damrose, Mark mdamrose at elgin.edu
Tue Mar 22 12:01:23 EST 2005


> -----Original Message-----
> From: Benoit Panizzon
> 
> Hi all
> 
> I just noticed that md_check_against_smtp_server seams to be 
> failing checking an IPv6 only destination server.
> 
> (Not sure if $ip contains only IPv4 but in other routines the 
> IPv6 address is correctly returned...)

If you look through the mimedefang.pl code, md_check_against_smtp_server
uses IO::Socket::INET.  It should be fairly simple to copy that to your
mimedefang-filter, rename it local_check_against_smtp_ipv6 and use
IO::Socket::INET6 instead.




More information about the MIMEDefang mailing list