MailScanner & IPv6 [SOLVED]
Mike
michael at NOMENNESCIO.NET
Wed Apr 6 12:56:05 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
>
>Yeah, should have made that "(?:Ipv6:)?" oops! I doubt that the accuracy of
>the address is an issue once it's gotten to mailscanner anyway.
How about this then:
if ($ip =~ /\[[IPv6:]*([\d.:abcdef]+)\]/) {
This way, the IP address can optionally consist of the "IPv6:" tag. I'm not sure if the IPv6: tag is Linux specific. If it DOES consists of the IPv6: tag, the tag will not be removed.
Mike.
------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the MAQ (http://www.mailscanner.biz/maq/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
Support MailScanner development - buy the book off the website!
More information about the MailScanner
mailing list