MailScanner & IPv6

Mike michael at NOMENNESCIO.NET
Wed Apr 6 09:28:11 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. ]


I have a question about MailScanner's support for IPv6. I checked the mailing list archives and found the release notes for 4.21-8, stating:

- Now support IPv6 addresses completely.

I also found some IPv6 references in .pm files in lib/MailScanner/.

However, I'm having troubles with IPv6. The OS is SuSE Linux 9.2 (kernel Whenever a message is received over IPv6, MailScanner seems to think the sending mail server is the localhost ( Here is an example (some info obscured):

Apr  6 09:53:38 mx1 sendmail-in[13464]: j367qhO9013464: from=SENDER, size=105, class=0, nrcpts=1, msgid=MSGID, proto=SMTP, daemon=MTA-Inet, [IPv6:2001:888:0:1::666]

Apr  6 09:53:38 mx1 sendmail-in[13464]: j367qhO9013464: to=RECIPIENT, delay=00:00:32, mailer=esmtp, pri=30105, stat=queued

Apr  6 09:53:40 mx1 MailScanner[31983]: New Batch: Scanning 1 messages, 670 bytes

Apr  6 09:53:41 mx1 MailScanner[31983]: Saved archive copies of j367qhO9013464

Apr  6 09:53:41 mx1 MailScanner[31983]: MCP Checks completed at 670 bytes per second

Apr  6 09:53:41 mx1 MailScanner[31983]: Spam Checks: Starting

Apr  6 09:53:45 mx1 MailScanner[31983]: Message j367qhO9013464 from (SENDER) to RECIPIENT is not spam, SpamAssassin (score=-15, required 4, autolearn=not spam, BAYES_00 -15.00)

Because of this, all mail received from the IPv6 net is tagged as non spam, since localhost is bypassed for several checks (mainly because of MailWatch).

Does MailScanner have some sort of default (, when the IP address cannot be determined or something?

Does anyone else experience this or are there not much IPv6 connected mail hosts out there? ;-)


------------------------ 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