1834156 Members
2542 Online
110064 Solutions
New Discussion

sendmail

 
Assaf_1
New Member

sendmail

Hi, when I use the sendmail command it takes about 60 seconds for the command to be sent.
is there a way to shorten this time?
3 REPLIES 3
someone_4
Honored Contributor

Re: sendmail

Hello,
what is the exact commnad string that you are using? Are other command slow or just the sendmail command?
Are you trying to send to a local user or a user on another server? First you should check /etc/hosts for name resolution. That is what I think would make sendmail slow.

Richard

Jeff Schussele
Honored Contributor

Re: sendmail

Sounds like name resolution. Check the relay server entry & the time it takes to resolve it - the DS value in the sendmail.cf file.
Be sure to resolve in both directions - by hostname AND IP. And verify the relay server has an MX record in DNS.
#nslookup
> set type=MX
> hostname
If entry problem have DNS dudes fix it. If timeout have 'em fix the server/config.

Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Osama88
Occasional Advisor

Re: sendmail


check out /etc/resolv.conf and /etc/nsswitch.conf

if you are using DNS then your nameserver IP should be in /etc/resolv.conf.

Hope it helps