[EMAIL PROTECTED] rearranged electrons thusly:

> The problem is here that everytime sendmail tries
> to deliver the mails to the smart host (vsnl.net.in)
> it tries to resolve the domain "xxx.cjb.net", which 
> takes a long time.
 
 This is documented in the sendmail FAQ.

 http://www.sendmail.org/faq/section3.html#3.22
 
 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). 
 
> Is there a way around this and still have a mail
> originating from the local network have return-path set
> to "xxx.cjb.net".

-- 
Suresh Ramasubramanian + [EMAIL PROTECTED]
Linux is like a Teepee - No Windows, No Gates, Apache Inside

----------------------------------------------
Find out more about this and other Linux India 
mailing lists at http://lists.linux-india.org/

Reply via email to