Q3.22 -- How do I configure sendmail not to use DNS?
Date: March 24, 1997
Updated: April 6, 2000
In situations where you're behind a firewall, or across a dial-up line,
there are times when you need to make sure that programs (such as sendmail)
do not use the DNS at all.

With older releases of version 8 sendmail (8.7 and earlier), you need to
recompile the binary and make sure that "NAMED_BIND" is turned off in
src/conf.h.

With versions 8.8 and later, you change the service switch file to omit
"DNS" and use only NIS, files, and other map types as appropriate. More
information about the service switch file can be found under the
ServiceSwitchFile option in �5.6 (Options) of the Installation and Operation
Guide and all of �4.9 (Name Server Access).

Also, starting with 8.9, it may help to include the following in your .mc
file:

FEATURE(`accept_unresolvable_domains')dnl
FEATURE(`accept_unqualified_senders')dnl

Note that you'll need to forward all your outbound mail to another machine
as a "relay" (one that does use DNS, and understands how to properly use MX
records, etc...), otherwise you won't be able to get mail to any site(s)
other than the one(s) you configure in your /etc/hosts file (or whatever).
----- Original Message -----
From: Wagner Klein da Silva <[EMAIL PROTECTED]>
To: Jo�o Lu�s Amorim <[EMAIL PROTECTED]>
Cc: linux-br <[EMAIL PROTECTED]>
Sent: Friday, May 04, 2001 9:28 PM
Subject: (linux-br) Re: Sendmail demora para enviar mensagens!


> On Thu, 3 May 2001, Jo�o Lu�s Amorim wrote:
>
> > Quando eu vou enviar uma mensagem de um computador da rede usando o
> > smtp do servidor, demora muito para enviar. Algumas vezes recebo
> > mensagens dizendo que o servidor esperou 60 segundo e n�o houve
> > resposta!  algu�m tem alguma solu��o?
>
>
> Problemas com resolu��o de nomes.
>
> Voc� precisa garantir que o nome de todos os IPs que se conectam � seu
> servidor resolvem em um nome (dom�nio reverso).
>
> Voc� tem que configurar para o sendmail para n�o consultar o DNS (dos
> emails que deseja mandar).  N�o tenho uma receita de bolo pronta para
> isso, mas "a verdade est� a� fora", uma boa pesquisa... :)
>
>
> --- Wagner                      [EMAIL PROTECTED]
>
>
>


Assinantes em 04/05/2001: 2274
Mensagens recebidas desde 07/01/1999: 112159
Historico e [des]cadastramento: http://linux-br.conectiva.com.br
Assuntos administrativos e problemas com a lista: 
            mailto:[EMAIL PROTECTED]

Responder a