MailScanner & IPv6 [SOLVED]

Mike michael at NOMENNESCIO.NET
Wed Apr 6 11:37: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 Mike
>
>Now to figure out what the "if ($ip =~ /\[([\d.:abcdef]+)\]/) {" check
>needs to be (I'm not a perl guru). I'll try to experiment a bit.

I solved this (see patch) by changing

if ($ip =~ /\[([\d.:abcdef]+)\]/) {

into

if ($ip =~ /\[([IPv6\d.:abcdef]+)\]/) {

in Sendmail.pm. I'm not sure if this is the best check (ItWorksForMe[tm]), but I'll leave that to Julian.

Now I'm off to MailWatch, since it seems there's also something going wrong there. The mailscanner database does have the correct clientip record, however the details of a IPv6 message shows "127.0.0.1" as "Received from:". There will probably a similar check with default "127.0.0.1" in one of the .php files.

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!

    [ Part 2, "Sendmail.pm-IPv6.diff"  Application/OCTET-STREAM (Name: ]
    [ "Sendmail.pm-IPv6.diff")  592bytes. ]
    [ Unable to print this part. ]




More information about the MailScanner mailing list