PHWinfo banniere

ACCUEIL ANNUAIRE ARTICLES COMPARATIF HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Go Back   PHWinfo > Forums Hébergement > Forum Panels et Logiciels d'hébergement > comp.mail.sendmail > Disable AAAA (IPv6) lookups without recompiling Sendmail
FAQ Members List Search Today's Posts Mark Forums Read
comp.mail.sendmail Configuring and using the BSD sendmail agent.

Disable AAAA (IPv6) lookups without recompiling Sendmail

Reply
 
Thread Tools
Old 04/26/07, 18:07   #1
Limbic_Region
Aucun Avatar
 
Posts: n/a
Hébergeur:
Default Disable AAAA (IPv6) lookups without recompiling Sendmail

I am using a stock Sendmail 8.13 on Solaris 9 which was compiled with
IPv6 support.

I am trying to disable the AAAA (IPv6) DNS queries on inbound
messages.

I have disabled sendmail from running in IPv6 modue using the
DaemonPortOptions
confirmed by netstat -anf inet6

I have disabled IPv6 in Resolver by -use_inet6

Neither of these prevent the AAAA queries

I have found several apparently related threads:

http://groups.google.com/group/comp....107dfa280f716c

http://groups.google.com/group/comp....2c9af08d016ef2

http://groups.google.com/group/comp....b4194bea2bcb85

Basically, the three pieces of advice given are:
1. Disable using DaemonPort Options
2. Disable using Resolver Options
3. Recompile

I have tried 1 and 2 to no avail and do not want to have to recompile
if at all possible.

Does anyone have any ideas?

Cheers,
Joshua Gatcomb
a.k.a. Limbic_Region

  Reply With Quote
Old 04/26/07, 22:27   #2
Per Hedeland
Aucun Avatar
 
Posts: n/a
Hébergeur:
Default Re: Disable AAAA (IPv6) lookups without recompiling Sendmail

In article <1177607242.148087.147860@t39g2000prd.googlegroups .com>
Limbic_Region <joshua.gatcomb@gmail.com> writes:
>I am using a stock Sendmail 8.13 on Solaris 9 which was compiled with
>IPv6 support.
>
>I am trying to disable the AAAA (IPv6) DNS queries on inbound
>messages.
>
>I have disabled sendmail from running in IPv6 modue using the
>DaemonPortOptions
>confirmed by netstat -anf inet6


Per the sendmail documentaion (and your observation), this controls what
addresses the daemon listens on - it should be (and is) independent of
DNS queries made.

>I have disabled IPv6 in Resolver by -use_inet6


Per the resolver documentation on my OS (FreeBSD), this option is off by
default, and if on will map IPv4 addresses into IPv6 - not relevant for
which queries are made.

>Basically, the three pieces of advice given are:
>1. Disable using DaemonPort Options
>2. Disable using Resolver Options
>3. Recompile
>
>I have tried 1 and 2 to no avail and do not want to have to recompile
>if at all possible.


It will work though.:-)

>Does anyone have any ideas?


The only runtime condition for doing AAAA lookups is that the kernel
actually supports IPv6, determined by (in conf.c):

/* Detect if IPv6 is available at run time */
i = socket(AF_INET6, SOCK_STREAM, 0);
if (i >= 0)
{
InetMode = AF_INET6;
(void) close(i);
}
else
InetMode = AF_INET;

Maybe your OS supports disabling IPv6 dynamically, or you could rebuild
its kernel instead of rebuilding sendmail if you prefer that...

--Per Hedeland
per@hedeland.org


  Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


All times are GMT +1. The time now is 09:21.


Powered by vBulletin® ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0
PHWinfo is a website Education Without Frontiers
Ad Management by RedTyger
All rights reserved
Page generated in 0.23544 seconds with 7 queries