Re: [CentOS] sendmail question

2009-10-22 Thread Alexander Dalloz
Jerry Geis schrieb: >> My guess would be a resolving problem also. >> Its usually what causes sendmail to slow down. >> Check your /etc/hosts file >> Dan >> > My /etc/hosts file is only has the "nameserver x.x.x.x" entry. > > the /var/log/maillog shows the entry right away when "mail" on the >

Re: [CentOS] sendmail question

2009-10-21 Thread nate
Les Mikesell wrote: > But that won't fix all the other things that expect a working DNS - and > will keep you from sending mail anywhere else. smarthost I'm not sure what the original thread started as just seemed specific to sendmail. nate ___ CentO

Re: [CentOS] sendmail question

2009-10-21 Thread Dan Carl
Dan Carl wrote: > Jerry Geis wrote: > >>> My guess would be a resolving problem also. >>> Its usually what causes sendmail to slow down. >>> Check your /etc/hosts file >>> Dan >>> >>> >>> >> My /etc/hosts file is only has the "nameserver x.x.x.x" entry. >> >> the /var/log/maillog

Re: [CentOS] sendmail question

2009-10-21 Thread Les Mikesell
nate wrote: > >> But sendmail is going to ask DNS first and if DNS fails with a timeout >> instead of a quick NXDOMAIN, delivery will be slow. > > My reading of that FAQ says you can turn off DNS support in > sendmail entirely, just use a host file. But that won't fix all the other things that e

Re: [CentOS] sendmail question

2009-10-21 Thread Robert Heller
At Wed, 21 Oct 2009 14:26:05 -0400 CentOS mailing list wrote: > > > > > >/ > > />>/ That's a few DNS timeouts. > > />>/ > > />>>/ / I have 127.0.0.1 localhost in the /etc/hosts file. > > />>/ />/ > > />>/ />/ Very odd, any thoughts? > > />>/ / > > />>/ Are you mailing to localhost? > > />>/

Re: [CentOS] sendmail question

2009-10-21 Thread nate
Les Mikesell wrote: > But sendmail is going to ask DNS first and if DNS fails with a timeout > instead of a quick NXDOMAIN, delivery will be slow. My reading of that FAQ says you can turn off DNS support in sendmail entirely, just use a host file. nate _

Re: [CentOS] sendmail question

2009-10-21 Thread Dan Carl
Jerry Geis wrote: >> My guess would be a resolving problem also. >> Its usually what causes sendmail to slow down. >> Check your /etc/hosts file >> Dan >> >> > My /etc/hosts file is only has the "nameserver x.x.x.x" entry. > > the /var/log/maillog shows the entry right away when "mail" on t

Re: [CentOS] sendmail question

2009-10-21 Thread Jerry Geis
Brent L. Bates wrote: > It is not odd. You just refuse to listen to those trying to help. How > many times do they have to say `Check your DNS'? > > Check your /etc/nsswitch.conf and make sure it has a line like this: > > hosts:files dns > > `files' comes FIRST and `dns'

Re: [CentOS] sendmail question

2009-10-21 Thread Les Mikesell
nate wrote: > Jerry Geis wrote: > >> How do I make this resolve faster or something. I have no way to make an >> MX record >> for this box. its all just local email. it never leaves the box. > > have you seen > > http://www.sendmail.org/faq/section3#3.22 > > ? > > nslookup only looks at DNS. S

Re: [CentOS] sendmail question

2009-10-21 Thread Les Mikesell
Jerry Geis wrote: >> >> / >> You still haven't answered how long nslookup takes to respond with these >> or your IP addresses. I think sendmail will ask DNS for an MX record >> first because that's how mail is supposed to work - then if that fails >> it goes for an A record or your hosts file.

Re: [CentOS] sendmail question

2009-10-21 Thread nate
Jerry Geis wrote: > How do I make this resolve faster or something. I have no way to make an > MX record > for this box. its all just local email. it never leaves the box. have you seen http://www.sendmail.org/faq/section3#3.22 ? nslookup only looks at DNS. So if you are trying to resolve some

Re: [CentOS] sendmail question

2009-10-21 Thread Jerry Geis
> > >/ > />>/ That's a few DNS timeouts. > />>/ > />>>/ / I have 127.0.0.1 localhost in the /etc/hosts file. > />>/ />/ > />>/ />/ Very odd, any thoughts? > />>/ / > />>/ Are you mailing to localhost? > />>/ > />/ I tried: > />/ mail panel > />/ mail panel at localhost

Re: [CentOS] sendmail question

2009-10-21 Thread Les Mikesell
Jerry Geis wrote: > >> That's a few DNS timeouts. >> >>> / I have 127.0.0.1 localhost in the /etc/hosts file. >> />/ >> />/ Very odd, any thoughts? >> / >> Are you mailing to localhost? >> > I tried: > mail panel > mail pa...@localhost > mail pa...@localhost.localdomain > mail pa...@machine.dom

Re: [CentOS] sendmail question

2009-10-21 Thread Jerry Geis
> > Jerry Geis wrote: > >>/ My guess would be a resolving problem also. > />>/ Its usually what causes sendmail to slow down. > />>/ Check your /etc/hosts file > />>/ Dan > />>/ > />/ My /etc/hosts file is only has the "nameserver x.x.x.x" entry. > / > That should be in /etc/resolv.conf. > Yo

Re: [CentOS] sendmail question

2009-10-21 Thread Les Mikesell
Jerry Geis wrote: >> My guess would be a resolving problem also. >> Its usually what causes sendmail to slow down. >> Check your /etc/hosts file >> Dan >> > My /etc/hosts file is only has the "nameserver x.x.x.x" entry. That should be in /etc/resolv.conf. > the /var/log/maillog shows the entry

Re: [CentOS] sendmail question

2009-10-21 Thread Jerry Geis
> > My guess would be a resolving problem also. > Its usually what causes sendmail to slow down. > Check your /etc/hosts file > Dan > My /etc/hosts file is only has the "nameserver x.x.x.x" entry. the /var/log/maillog shows the entry right away when "mail" on the command line is done. Again, t

Re: [CentOS] sendmail question

2009-10-21 Thread Dan Carl
Les Mikesell wrote: > Jerry Geis wrote: > >> Hi all, >> >> I have a local user account call "panel" on a machine. >> When I use the mail command to manually send email to the panel account >> it over 1 minute until that mail actually deposited in the mail account. >> >> What setting is that redu

Re: [CentOS] sendmail question

2009-10-21 Thread Les Mikesell
Jerry Geis wrote: > Hi all, > > I have a local user account call "panel" on a machine. > When I use the mail command to manually send email to the panel account > it over 1 minute until that mail actually deposited in the mail account. > > What setting is that reduces this time? > > I changed /e

Re: [CentOS] sendmail question

2009-10-21 Thread Chan Chung Hang Christopher
Jerry Geis wrote: > Hi all, > > I have a local user account call "panel" on a machine. > When I use the mail command to manually send email to the panel account > it over 1 minute until that mail actually deposited in the mail account. > > What setting is that reduces this time? > > I changed /etc/