PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Logiciels d'hébergement > comp.mail.sendmail > Disable AAAA (IPv6) lookups without recompiling Sendmail
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
comp.mail.sendmail Configuring and using the BSD sendmail agent.

Disable AAAA (IPv6) lookups without recompiling Sendmail

Réponse
 
LinkBack Outils de la discussion
Vieux 26/04/2007, 18h07   #1
Limbic_Region
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut 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

  Réponse avec citation
Vieux 26/04/2007, 22h27   #2
Per Hedeland
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut 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


  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 02h51.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,09637 seconds with 10 queries