blackwing n00b
Joined: 02 Mar 2003 Posts: 15
|
Posted: Wed Oct 01, 2003 7:16 am Post subject: Courier-Imap/tcpd vs. IPv6 |
|
|
Hi,
I discovered a pretty much interesting behaviour in gentoo's Courier-Imap ebuilds (1.7.3-r1 and 2.1.1 were both tested).
Even with the IPv6 USE-Flag there was no IPv6 support compiled into couriertcpd.
This machine was build with vanilla courier-imap and works great with IPv6:
Code: |
kerberos# strings couriertcpd | grep in6
in6addr_any
in6addr_loopback
kerberos#
|
The following machine was build by using `emerge courier-imap`:
Code: |
kalisto# strings couriertcpd | grep in6
kalisto#
|
and no IPv6 socket showed up after starting.
Here is my config:
Code: |
USE="acl apache2 dga ethereal gd imap ipv6 lirc maildir moznocompose \
moznoirc moznomail samba socks5 transcode usagi usb v4l xfs"
|
The affected part (grepping for inet6 / in6 in source) are the modules rfc1035 and tcpd in courier-imapd source.
But, rfc1035 and couriertcpd passed the configure with finding v6 (and even the --with-ipv6 switch was used)!
Code: |
configure: configuring in rfc1035
configure: running /bin/sh './configure' --prefix=/usr '--prefix=/usr' '--host=i686-pc-linux-gnu' '--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir=/
var/lib' '--disable-root-check' '--bindir=/usr/sbin' '--mandir=/usr/share/man' '--sysconfdir=/etc/courier-imap' '--libexecdir=/usr/lib/courier-imap' '--localstatedir=/var/lib/courier-imap'
'--enable-workarounds-for-imap-client-bugs' '--with-authdaemonvar=/var/lib/courier-imap/authdaemon' '--cache-file=/var/tmp/portage/courier-imap-2.1.1/work/config.cache' '--with-authpam' '
--without-authldap' '--with-authmysql' '--without-authpostgresql' '--with-ipv6' '--with-db=db' '--without-authvchkpw' '--enable-unicode' '--without-redhat' 'CC=gcc' 'CFLAGS=-march=athlon-t
bird -fomit-frame-pointer -O3 -pipe' 'LDFLAGS=' 'host_alias=i686-pc-linux-gnu' --with-authchangepwdir=/usr/lib/courier-imap/authlib --with-userdb=/etc/userdb --with-makedatprog='/usr/lib/c
ourier-imap/makedatprog' --with-mailuser=root --without-socks --with-authchangepwdir=/usr/lib/courier-imap/authlib --with-package=courier-imap --with-version=2.1.1 --cache-file=/var/tmp/po
rtage/courier-imap-2.1.1/work/config.cache --srcdir=.
[...]
checking for uint32_t... no
checking for u_int_32_t... yes
checking for strcasecmp... (cached) yes
checking for structs in6_addr, sockaddr_in6, and sockaddr_storage... yes
checking for IPv6 flavor... glibc (default)
checking for SIOCGIFCONF... yes
checking for alloca... yes
checking for inet_pton... yes
checking for inet_ntop... yes
[...]
|
But finally couriertcpd did not show up any IPv6 stuff....
Anybody got an idea? _________________ ftp.uni-erlangen.de crew
Close the Windows, my Penguin starts freezing! |
|