inet6
            addr: 2400:7180:120:0:203:55:215:31/48 Scope:Global
                  inet6
            addr: fe80::20c:29ff:fe77:ad9f/64 Scope:Link
                  inet6
            addr: ::1/128 Scope:Host
         
         
        when I add the
            others (that I deleted)
        
                  inet6
            addr: 2400:7180:120:0:44:136:151:31/48 Scope:Global
                  inet6
            addr: 2400:7180:120:0:203:55:215:31/48 Scope:Global
                  inet6
            addr: fe80::20c:29ff:fe77:ad9f/64 Scope:Link
                  inet6
            addr: ::1/128 Scope:Host
        
         
         
        logs from
            sending mail with both ipv6 ips added
        Apr  3 19:59:18
            gallifrey postfix/pickup[22398]: 31D1020B48: uid=0
            from=<root>
        Apr  3 19:59:18
            gallifrey postfix/cleanup[22404]: 31D1020B48:
            message-id=<20160403095918.31D1020B48@gallifrey.sbd.net.au>
        Apr  3 19:59:18
            gallifrey postfix/qmgr[22399]: 31D1020B48:
            from=<root@ns1.sbd.net.au>, size=1008, nrcpt=1 (queue
            active)
        Apr  3 19:59:33
            gallifrey postfix/smtp[22406]: 31D1020B48:
            to=<samantha@sbd.net.au>,
            relay=mail.sbd.net.au[203.55.215.31]:25, delay=16,
            delays=0.02/0.01/15/0.46, dsn=2.0.0, status=sent (250
            message sent ok )
        Apr  3 19:59:33
            gallifrey postfix/qmgr[22399]: 31D1020B48: removed
         
         
        When I only use
            the 1 ipv6 address
         
        Apr  3 20:04:09
            gallifrey postfix/qmgr[22399]: 9A48620A11:
            from=<root@ns1.sbd.net.au>, size=1008, nrcpt=1 (queue
            active)
        Apr  3 20:04:27
            gallifrey postfix/smtp[22521]: 9A48620A11:
            to=<samantha@sbd.net.au>,
            relay=mail.sbd.net.au[2400:7180:120:0:203:55:215:31]:25,
            delay=376, delays=358/0.01/18/0.21, dsn=2.0.0, status=sent
            (250 message sent ok )
        Apr  3 20:04:27
            gallifrey postfix/qmgr[22399]: 9A48620A11: removed
         
         
        So this why I
            asked the question.  If the ip adapter has multiple ipv6
            address (unlike ipv4) it will default to the last alias
            added and ignore the others before it.
            The mail defaults to the ipv4 address everytime.  When there
            is only one ipv6 address (or the last alias) then it will
            send mail to the ipv6 address
         
         
        Sam
         
         
        
         
        Can
            you share the output of ifconfig -a | grep inet6?
         
        Frank
         
        
         
        Bizarre
        Say I have 4
            ipv6 addresses attached. (which I can ping)
        Surgemail only
            accepts mail from the last alias and ignores the other 3
         
        Ie  
            iface eth0 inet6 static
                pre-up
            modprobe ipv6
                address
            2400:BBBB:AAAA::203:CCCC:21
                netmask
            48
                gateway
            2400:BBBB:AAAA::
         
        up
            /sbin/ifconfig eth0 inet6 add 2400:BBBB:AAAA::203:CCCC:27/48
        up
            /sbin/ifconfig eth0 inet6 add 2400:BBBB:AAAA::203:CCCC:28/48
        up
            /sbin/ifconfig eth0 inet6 add 2400:BBBB:AAAA::203:CCCC:29/48
        up
            /sbin/ifconfig eth0 inet6 add 2400:BBBB:AAAA::203:CCCC:30/48
         
        Surge only
            accepts mail on the  2400:BBBB:AAAA::203:CCCC:30 and ignores
            all the others
         
         
        Sam
         
        
         
         
        
          On 23/03/2016 4:39 p.m., Samantha wrote:
         
        
          
            I asked as
              when i put multple ipv6 addresses on the box it ignored
              them and took the last one to be added as an aliase
              
              Mail was xxx:203:xxx:xxx:31 
              The alias ip was xxx:44:xxx:xxx:31
              
              Mail that was going to mail.sbd.net.au ad v6
              defaulted back to v4 eventually.
              
              Once I removed the xxx:44 address it went back to working
              ok
           
        
        
          I may have misunderstood, but...
          
          To add ip addresses you must add them to the network interface
          settings of your system, not to surgemail, there are no
          changes needed in surgemail to accept email from
          another ip address (but I would restart it)
          
              ChrisP.
        
        Correct I
          think that isn't supported currently, if you really need it
          can you elaborate why you would do that so I can check there
          isn't another solution, for most purposes it's not required.
          
          ChrisP.
          
          
        
        
          Guys
           
          With ipv6 how does one assign an ip to
            each domain as we do with v4 so the domain can get mail
            From what I am seeing it cant be done – and all domains
            share the common ipv6 address of the box
           
          Is the correct?
           
           
          Sam