1840538 Members
2504 Online
110165 Solutions
New Discussion

sendmail probs

 
Kapil Jha
Honored Contributor

sendmail probs

my ps is showing this....and i think because of this mquqeue is filling up.

/root-> ps -ef|grep sendmail
root 8873 1 0 06:49:41 ? 0:00 sendmail: rejecting connections on port 25: load average: 26


Can anyone help me with how to make it
sendmail: accepting connections on port 25

BR,
Kapil
I am in this small bowl, I wane see the real world......
5 REPLIES 5
Mridul Shrivastava
Honored Contributor

Re: sendmail probs

Do the following:

/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start

then check the ps o/p.
Time has a wonderful way of weeding out the trivial
Steven E. Protter
Exalted Contributor

Re: sendmail probs

Shalom,

Prior to restart.

tail -f /var/adm/syslog/mail.log

Then restart

Also examine the log file for errors. Post if sendmail fails to start properly.

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
Kapil Jha
Honored Contributor

Re: sendmail probs

Hi
I already tried to restart sendmail.
in mail.log there is nothing which could be suspected.

/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start

Well I tried to start it again and
tail -f /var/adm/syslog/mail.log
is
Jan 17 09:34:04 graces2 /sbin/init.d/sendmail[8349]: #### rebooted ####
Jan 17 09:34:04 graces2 sendmail[8357]: alias database /etc/mail/aliases rebuilt by root
Jan 17 09:34:04 graces2 sendmail[8357]: /etc/mail/aliases: 7 aliases, longest 23 bytes, 98 bytes total
Jan 17 09:34:04 graces2 sendmail[8359]: starting daemon (8.9.3 (PHNE_29773)): SMTP+queueing@00:30:00


Still same output
sendmail: rejecting connections on port 25: load average: 26

This time load average port is changed fom 26 to 25.
BR,
Kapil


I am in this small bowl, I wane see the real world......
Tim Nelson
Honored Contributor

Re: sendmail probs

what does "mailq" report ?
Matti_Kurkela
Honored Contributor

Re: sendmail probs

According to the message, sendmail is not accepting mail from the network because your system is very busy doing other, presumably more important things ("load average: 26").

You can either reduce the load of your system (if necessary) or adjust the QueueLA and RefuseLA values in /etc/mail/sendmail.cf to appropriate values.

By default, sendmail will stop outgoing email if the five-minute load value goes over 8 and refuse any incoming mails if the load value is above 12.

Use the "uptime" command to see the current "load average" values.

MK
MK