MailScanner & IPv6 [SOLVED]

Mike michael at NOMENNESCIO.NET
Wed Apr 6 14:00:03 IST 2005

    [ The following text is in the "ISO-8859-15" character set. ]
    [ Your display is set for the "US-ASCII" character set.  ]
    [ Some characters may be displayed incorrectly. ]

>-----Original Message-----
>From: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK] On
>Behalf Of Rick Cooper
>I am thinking, and again I am not a sendmail man, that the IPv6: is a
>sendmail designation for logging or other internal use. If you do a:
>host IPv6:2001:888:0:1::666 you get Host IPv6:2001:888:0:1::666 not found:
>but if you do:
>host 2001:888:0:1::666 you get
>domain name pointer

Yes, this is absolutely true. The IPv6: tag is NOT part of the address itself of course. However, other applications (I seem to recall BIND) also use the IPv6: tag, so I'm not sure if it's sendmail specific. If it however is sendmail specific, then I think the tag should be removed as early as possible, in which case your solution is preferable. But that's not clear to me at this point.

For the moment I'm using the same solution for MailWatch, since functions.php contains a function called get_mail_relays(), which is used by detail.php to show through which relays the mail has gone. At the moment I remove the IPv6: tag, since else the gethostbyaddr() fails (as with your example).



------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at with the words:
'leave mailscanner' in the body of the email.
Before posting, read the MAQ ( and
the archives (

Support MailScanner development - buy the book off the website!

More information about the MailScanner mailing list