They are
real errors ….I wish they were not.
See below
HIDDEN@outer
~]# netstat -apn | grep surgemail
tcp
0 0 :::9001 :::*
LISTEN 28031/surgemail
tcp
0 0 :::106 :::*
LISTEN 28031/surgemail
tcp
0 0 :::9002 :::*
LISTEN 28031/surgemail
tcp
0 0 :::587 :::*
LISTEN 28031/surgemail
tcp
0 0 :::366 :::*
LISTEN 28031/surgemail
tcp
0 0 :::110 :::*
LISTEN 28031/surgemail
tcp
0 0 :::143 :::*
LISTEN 28031/surgemail
tcp
0 0 :::465 :::*
LISTEN 28031/surgemail
tcp
0 0 :::7025 :::*
LISTEN 28031/surgemail
tcp
0 0 :::7026 :::*
LISTEN 28031/surgemail
tcp
0 0 :::25 :::*
LISTEN 28031/surgemail
tcp
0 0 :::7995 :::*
LISTEN 28031/surgemail
tcp
0 0 :::993 :::*
LISTEN 28031/surgemail
tcp
0 0 :::995 :::*
LISTEN 28031/surgemail
tcp
0 0 :::7110 :::*
LISTEN 28031/surgemail
udp
0 0 0.0.0.0:34869
0.0.0.0:* 28031/surgemail
udp
112360 0 0.0.0.0:56389
0.0.0.0:* 28031/surgemail
HIDDEN@outer
~]# route -A inet6 -n
Kernel
IPv6 routing table
Destination
Next Hop Flags Metric Ref Use Iface
2001:470:c:660::/64
:: U 256 0 0 he-ipv6
2001:470:d:660::/64
:: U 256
0 0 eth1
2001:470:d:660::/64
:: U 256 0 0 eth2
2001:470:d:660::/64
:: U 256 0 0 eth0
fe80::/64
:: U 256 0 0 eth0
fe80::/64
:: U 256 0 0 eth1
fe80::/64
:: U 256 0 0 eth2
fe80::/64
:: U 256 0 0 he-ipv6
::/0
:: U 1024 0 0 he-ipv6
::1/128
:: U 0 214075 1
lo
2001:470:c:660::/128
:: U 0 0 1 lo
2001:470:c:660::2/128
:: U 0 5595 1
lo
2001:470:d:660::/128
:: U 0 0 1 lo
2001:470:d:660::/128
:: U 0 0 1 lo
2001:470:d:660::1/128
::
2001:470:d:660::2/128
:: U 0 0 1 lo
2001:470:d:660::3/128
:: U 0 0 1 lo
fe80::/128
:: U 0 0 1 lo
fe80::/128
:: U 0 0 1 lo
fe80::c0a8:201/128
:: U 0 0 1 lo
fe80::202:44ff:fe5c:504/128
:: U 0 0 1 lo
fe80::219:66ff:fe26:cdeb/128
:: U 0 0 1 lo
fe80::2e0:4cff:fe50:ee69/128
:: U 0 413 1
lo
ff02::1/128
ff02::1 UC 0 1
0 eth1
ff00::/8
:: U 256 0 0 eth0
ff00::/8
:: U 256 0 0 eth1
ff00::/8
:: U 256 0 0 eth2
ff00::/8
:: U
256 0 0 he-ipv6
HIDDEN@outer
~]#
These 'errors' are not real errors, but display
problems only.
Drop to a command prompt at root(or sudo) and run:
netstat -apn | grep surgemail
And that should show surgemail listening to ipv6 addresses.
Also unless ChrisP has sent you a new binary, your rbl's won't work in
ipv6 mode. Surgemail was malforming the queries to rbl's when in ipv6
mode. I brought this to his attention early last week, but have not
heard if he has released a fixed beta for that bug yet.
Lyle Giese
LCR Computer Services, Inc.
Eddie Olson wrote:
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