Re: spamc/spamd using IPv6?

2011-01-17 Thread Chris Conn

On 2011-01-15 14:47, Jari Fredriksson wrote:


I just assigned  records to my DNS, and spamc/spamd fails.

I have a DNS alias spamd for a server.

jarif@lancaster:~$ host spamd
spamd.fredriksson.dy.fi is an alias for lancaster.fredriksson.dy.fi.
lancaster.fredriksson.dy.fi has address 10.123.29.113
lancaster.fredriksson.dy.fi has IPv6 address fe80::20c:29ff:fe28:8af

Now my log is filled with

Jan 15 21:46:42 lancaster spamc[17968]: connect to spamd on
fe80::20c:29ff:fe28:8af failed, retrying (#16 of 100): Invalid argument

Any ideas?



Hello,

Why use the link-local address?

Have a look at this thread;

http://www.mail-archive.com/users@spamassassin.apache.org/msg58685.html

Chris



Re: spamc/spamd using IPv6?

2011-01-17 Thread Jari Fredriksson
On 17.1.2011 16:47, Chris Conn wrote:
 On 2011-01-15 14:47, Jari Fredriksson wrote:

 I just assigned  records to my DNS, and spamc/spamd fails.

 I have a DNS alias spamd for a server.

 jarif@lancaster:~$ host spamd
 spamd.fredriksson.dy.fi is an alias for lancaster.fredriksson.dy.fi.
 lancaster.fredriksson.dy.fi has address 10.123.29.113
 lancaster.fredriksson.dy.fi has IPv6 address fe80::20c:29ff:fe28:8af

 Now my log is filled with

 Jan 15 21:46:42 lancaster spamc[17968]: connect to spamd on
 fe80::20c:29ff:fe28:8af failed, retrying (#16 of 100): Invalid argument

 Any ideas?

 
 Hello,
 
 Why use the link-local address?
 
 Have a look at this thread;
 
 http://www.mail-archive.com/users@spamassassin.apache.org/msg58685.html
 

Link local is all I have ;) I know next to nothing about v6, but it is
coming... so testing things.

Off topic: I have currently one fixed IPv4 address, and several hosts
behind it with NAT. Do I need separate IPv6 addresses for each machine
later? Will the ISP provide them with please? I guess...

-- 

I think we are in Rats' Alley where the dead men lost their bones.
-- T.S. Eliot



signature.asc
Description: OpenPGP digital signature


Re: spamc/spamd using IPv6?

2011-01-17 Thread Chris Conn




Hello,

Why use the link-local address?

Have a look at this thread;

http://www.mail-archive.com/users@spamassassin.apache.org/msg58685.html



Link local is all I have ;) I know next to nothing about v6, but it is
coming... so testing things.

Off topic: I have currently one fixed IPv4 address, and several hosts
behind it with NAT. Do I need separate IPv6 addresses for each machine
later? Will the ISP provide them with please? I guess...



Well,

You might want to start reading about IPv6 before you attempt to use it. 
 Just an idea ;)  Good on you for trying I guess.


And very off topic indeed; your ISP will in all likelyhood assign you 
with a mind-bogglingly huge amount of IP space, if you read the outline 
of IPv6 vs IPv4 you will soon realize this.


Good luck,

Chris


Re: spamc/spamd using IPv6?

2011-01-16 Thread Per Jessen
Jari Fredriksson wrote:

 
 I just assigned  records to my DNS, and spamc/spamd fails.
 
 I have a DNS alias spamd for a server.
 
 jarif@lancaster:~$ host spamd
 spamd.fredriksson.dy.fi is an alias for lancaster.fredriksson.dy.fi.
 lancaster.fredriksson.dy.fi has address 10.123.29.113
 lancaster.fredriksson.dy.fi has IPv6 address fe80::20c:29ff:fe28:8af
 
 Now my log is filled with
 
 Jan 15 21:46:42 lancaster spamc[17968]: connect to spamd on
 fe80::20c:29ff:fe28:8af failed, retrying (#16 of 100): Invalid
 argument
 
 Any ideas?

The fe80: address is link-local, to use it you have to specify the
interface as well.  In a browser, you could do that like this:

http://[fe80::20c:29ff:fe28:8af%eth0]

You could try the same syntax with spamc - the %device is a glibc
extension, it might work. 


/Per Jessen, Zürich



Re: spamc/spamd using IPv6?

2011-01-16 Thread Per Jessen
Per Jessen wrote:

 The fe80: address is link-local, to use it you have to specify the
 interface as well.  In a browser, you could do that like this:
 
 http://[fe80::20c:29ff:fe28:8af%eth0]
 
 You could try the same syntax with spamc - the %device is a glibc
 extension, it might work.

However, it does depend on spamc being ipv6-ready, which means using
getaddrinfo() - I don't know if spamc does that.


/Per Jessen, Zürich