Well .. that worked!! :) I removed the entries from host file and put the google DNS IP addresses /name server entries in resolve.conf However time of processing has increased from 5 to around 10 seconds on an average. But that's OK for time being.. On Wed, Aug 1, 2012 at 6:53 PM, <m.roth@xxxxxxxxx> wrote: > raj sourabh wrote: > > I understand the scenario but in my case when the below entries are not > > put > > on host file , DNS tries to get to google on 173.194.79.25/26 and > finally > > 27. (25/26 are not reachable in my case and system sleeps for sometime > > until it starts trying for 27). May be its operator network issue!! > > > > We have static IP from the operator and DNS IP addesses were provided by > > them. > > > > Still is there any other way we can specify preferred servers for > sendmail > > ???? > > > A quick google to verify yields > ********* > Google Public DNS IP addresses > > The Google Public DNS IP addresses (IPv4) are as follows: > > 8.8.8.8 > 8.8.4.4 > ********** > at <https://developers.google.com/speed/public-dns/docs/using> > > Add those to your /etc/resolv.conf. > > mark > > Regards, > > Raj > > > > > > > > On Wed, Aug 1, 2012 at 3:47 PM, mark <m.roth@xxxxxxxxx> wrote: > > > >> On 08/01/12 02:52, raj sourabh wrote: > >> > >>> Thanks all for your replies. > >>> > >>> The following changes saved lot of time and now mails are processed > >>> within > >>> 5 sec :) > >>> > >>> I was trying to sendmail to gmail account. here is wat my host file > >>> looks > >>> like.. > >>> > >>> # Do not remove the following line, or various programs > >>> # that require network functionality will fail. > >>> 127.0.0.1 localhost.localdomain localhost TESTSRV > >>> 192.168.11.50 TESTSRV > >>> ::1 localhost6.localdomain6 localhost6 > >>> 173.194.79.27 gmail.com > >>> 173.194.79.27 gmail-smtp-in.l.google.com > >>> ~ > >>> > >> > >> That's *not* good. You shouldn't have anything that you don't control in > >> your hosts file. Worst case: put google's nameservers in your > >> resolv.conf > >> > >> mark > >> > >> > >> > >>> > >>> Thank you all for your help... > >>> > >>> > >>> > >>> On Wed, Aug 1, 2012 at 1:43 AM, Corey Kovacs<corey.kovacs@xxxxxxxxx> > >>> wrote: > >>> > >>> Raj, can we assume you've monitored /var/log/maillog on the various > >>>> servers > >>>> in the chain to see if any helpful messages exist? That's where I'd > >>>> start > >>>> see if sendmail has anything specific it is complaining about. > >>>> On Jul 29, 2012 11:24 AM, "raj sourabh"<rajsourabh1@xxxxxxxxx**> > >>>> wrote: > >>>> > >>>> Hi All, > >>>>> > >>>>> I am using a sendmail for sending alerts and notification from RHEL > >>>>> > >>>> server > >>>> > >>>>> 5.5. But the sendmail process is very slow and it takes around 2 > >>>>> minutes > >>>>> > >>>> to > >>>> > >>>>> complete. > >>>>> > >>>>> Is there any way i can make it faster? > >>>>> > >>>>> Thanks in advace. > >>>>> > >>>>> Regards, > >>>>> Raj > >>>>> -- > >>>>> redhat-list mailing list > >>>>> unsubscribe > >>>>> mailto:redhat-list-request@**redhat.com< > redhat-list-request@xxxxxxxxxx> > >>>>> ?subject=unsubscribe > >>>>> https://www.redhat.com/**mailman/listinfo/redhat-list< > https://www.redhat.com/mailman/listinfo/redhat-list> > >>>>> > >>>>> -- > >>>> redhat-list mailing list > >>>> unsubscribe > >>>> mailto:redhat-list-request@**redhat.com< > redhat-list-request@xxxxxxxxxx> > >>>> ?subject=unsubscribe > >>>> https://www.redhat.com/**mailman/listinfo/redhat-list< > https://www.redhat.com/mailman/listinfo/redhat-list> > >>>> > >>>> > >> > >> -- > >> "Stock traders are a superstitious and cowardly lot", to paraphrase the > >> Batman > >> > >> > >> -- > >> redhat-list mailing list > >> unsubscribe > >> mailto:redhat-list-request@**redhat.com<redhat-list-request@xxxxxxxxxx> > >> ?subject=unsubscribe > >> https://www.redhat.com/**mailman/listinfo/redhat-list< > https://www.redhat.com/mailman/listinfo/redhat-list> > >> > > -- > > redhat-list mailing list > > unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe > > https://www.redhat.com/mailman/listinfo/redhat-list > > > > > -- > redhat-list mailing list > unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe > https://www.redhat.com/mailman/listinfo/redhat-list > -- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list