Operating System - Linux
1827259 Members
2321 Online
109716 Solutions
New Discussion

Re: Sendmail connection Timed Out

 
rvgprasad
New Member

Sendmail connection Timed Out

hi;
I have a redhat Advance server 2.1 with sendmail 8.11.6.9 installed. only very few of the mails are send out successfully. other mails are spooling up in mqueue with "satus =defered Connection timed out with xyz.com". If manually flushed (with sendmail -q -v ) only few mails are send out. can anyone help me in this regards.

the /var/log/maillog looklike

makeconnection (xxx.yyy.com [x.y.z.zx]) failed: Connection timed out with xxx.yyy.com
9 REPLIES 9
Daniel Olson
Occasional Advisor

Re: Sendmail connection Timed Out

The server you are relaying through could be overloaded or your QoS could be doing something... If you are getting successfull sessions elsewhere, than look to network related issues.

Daniel
If it works - - Dont' Fix It !!!
Steven E. Protter
Exalted Contributor

Re: Sendmail connection Timed Out

Try this diagnostic, it will help you with the problem.

sendmail -v -d38.2 targetaddress@aol.com

You are aware of the mailq command to see if your mail is even getting on the relay server?

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
U.SivaKumar_2
Honored Contributor

Re: Sendmail connection Timed Out

Hi,

First of all find out whether your ISP link's bandwidth is overloaded . This can be done by running MRTG or looking at the interface statistics of your Internet router.

If it is overloaded , try to get the bandwidth increased by paying some money to the ISP.

As of now do this

Edit sendmail.cf file and Increase this paramter

eg:-
Present parameter:

O Timeout.connect=1m

Change it to: ( Whathever value there + 4m )

O Timeout.connect=5m

Restart sendmail daemon. Come back with results.

regards,
U.SivaKumar





Innovations are made when conventions are broken
rvgprasad
New Member

Re: Sendmail connection Timed Out

sendmail -v -d38.2 xxxuser@aol.com
seq_map_parse(aliases.files, )
hash_map_open(mailertable, /etc/mail/mailertable.db, 0)

it hangs after that. what this command actually does, and what do u mean by -d38.2. PLEASE LET ME KNOW.

I tried increasing connection timed to 5m but in vain.

Thank you

rvgp
U.SivaKumar_2
Honored Contributor

Re: Sendmail connection Timed Out

Hi,

HAve you checked the bandwidth usage ?

regards,

U.SivaKumar
Innovations are made when conventions are broken
rvgprasad
New Member

Re: Sendmail connection Timed Out

hi,
Can u suggest me some good MRTG software for me. I have a checkpoint NG fw on NT4. Please let me know
U.SivaKumar_2
Honored Contributor

Re: Sendmail connection Timed Out

Hi,

What's your ISP line Bandwidth ?.

IS your router a cisco router ?

if yes , Then can you paste the output of show interface command taken during the sendmail conection timed out error.

MRTG is a free traffic graphing perl script which uses SNMP . it can run in windows and also unix.

Follow this link.

http://people.ee.ethz.ch/~oetiker/webtools/mrtg
/

regards,

U.SivaKumar
Innovations are made when conventions are broken
rvgprasad
New Member

Re: Sendmail connection Timed Out

hi Sivakumar;
Thank u for you help. I have got some lead in my problem. If I restart the interfaces and force dequeue the mail sendmail -q -v mail are going and again stops after some time with connection timed out. I'm installing MRTG in few days time.
elnone
New Member

Re: Sendmail connection Timed Out

Ð Ñ ÐµÐ¼ Ð¿Ñ Ð¸Ð²ÐµÑ ,

Ð Ñ Ð¾Ð±Ð»ÐµÐ¼Ð° в Ñ Ð¾Ð¼, Ñ Ñ Ð¾ sendmail Ð¿Ð¸Ñ ÐµÑ Ð² Ð»Ð¾Ð³Ð°Ñ Ñ Ð»ÐµÐ´Ñ Ñ Ñ Ð¸Ðµ

-----
Oct 17 14:11:28 ns sendmail[9396]: h9H9r6c9009391: to=, ctladdr= (6116/600), delay=00:18:22, xdelay=00:18:22, mailer=esmtp, pri=30467, relay=somedomain. [xxx.xxx.xxx.xxx], dsn=4.0.0, stat=Deferred: Connection timed out with somedomain.
-----

и в Ð¸Ñ Ð¾Ð³Ðµ его Ð¾Ñ Ð¿Ñ Ð°Ð²Ð»Ñ ÐµÑ Ð½Ð° Ñ Ð°Ñ Ð¾Ñ Ð´Ñ Ñ Ð°Ñ Ñ Ð¸ Ð¿Ñ Ð¾Ð±Ñ ÐµÑ Ð¾Ñ Ð¿Ñ Ð°Ð²Ð¸Ñ Ñ ÐµÑ Ðµ Ñ Ð°Ð·, Ро каким Ñ Ð¾ Ð¾Ð±Ñ Ð°Ð·Ð¾Ð¼ Ñ Ñ Ð¾ Ð¿Ð¸Ñ Ñ Ð¼Ð¾ Ð²Ñ Ðµ Ñ Ð°Ð²Ð½Ð¾ Ð¾Ñ Ð¿Ñ Ð