I have been trying to get surgemail to use IPV6
as I have a router setup using mandriva linux 2010.
  This is using a tunnel to Hurricane Electric for
ipv6 and works well with my Apache web server on IPV6 but I can’t get
it to work with Surgemail.
  Surgemail is running on the same computer as the
Router.
   
  I am using SurgeMail Version 5.1c-1.       
   
  With g_ipv6_enabled true this is what I
get when starting Surgemail…
   
  Startmail
starting surgemail using configuration file /etc/surgemail.ini
  Setting owner and
mode for startmail binary, chown root:root, chmod 04775 startmail
  StartMail: with
ipv6, config setting=(true) 1
  Starting
surgemail as uid=0 gid=0 based on /usr/local/surgemail
  Call execv
(./surgemail)
  MAIL Running -
Home /usr/local/surgemail - log file is /usr/local/surgemail/mail.log
  Detaching server
process
  HIDDEN@outer
surgemail]# tcp: ipv6 open (192.168.2.1) port 53
  tcp:
gai_strerror: (192.168.2.1) (Address family for hostname not supported)
  tcp: ipv6 open
(2001) port 470
  tcp:
gai_strerror: (2001) (Address family for hostname not supported)
  tcp: ipv6 open
(60.234.1.1) port 53
  tcp:
gai_strerror: (60.234.1.1) (Address family for hostname not supported)
   
  And here is my
dns setup
   
   
   
  ;
<<>> DiG 9.7.0-P2 <<>> mx olson.net.nz
  ;; global
options: +cmd
  ;; Got answer:
  ;;
->>HEADER<<- opcode: QUERY, status: NOERROR, id: 1735
  ;; flags: qr aa
rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 3
   
  ;; QUESTION
SECTION:
  ;olson.net.nz.                 
IN      MX
   
  ;; ANSWER SECTION:
  olson.net.nz.          
259200  IN      MX      10 mail.olson.net.nz.
   
  ;; AUTHORITY
SECTION:
  olson.net.nz.          
259200  IN      NS      router.olson.net.nz.
   
  ;; ADDITIONAL
SECTION:
  mail.olson.net.nz.     
259200  IN      A       121.98.130.16
  mail.olson.net.nz.     
259200  IN      AAAA    2001:470:d:660::1
  router.olson.net.nz.   
259200  IN      A       192.168.2.1
   
   
  Eddie