Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

My sendmail restarts every hour.... why ?

Status
Not open for further replies.

RicardoPereira

Programmer
Jun 3, 2003
255
PT
My sendmail restarts every hour.... why ?
 
A little more information would help a bit... though I don't suppose you have a cron job that restarts sendmail every hour? :)
 
What do you mean restart? Do you mean to sweeps thru a queue every 60 mins? like -q60 ?

Check root's crontab.
crontab -l root
 
I dont have nothing in the cron, but every hour i got this error in the log:

May 20 19:38:10 MailRelay sm-msp-queue[27850]: j4K9c000026660: to=postmaster, delay=08:59:59, xdelay=00:00:10, mailer=relay, pri=852553, relay=localhost.localdomain. [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by localhost.localdomain.
May 20 19:38:10 MailRelay sm-msp-queue[27850]: j4K8c000026539: to=postmaster, delay=09:59:59, xdelay=00:00:00, mailer=relay, pri=934885, relay=localhost.localdomain., dsn=4.0.0, stat=Deferred: Connection refused by localhost.localdomain.

 
do a

ps -ef | grep -i sendmail

see if sendmail is still running when you get that message
 
yeap i have some processes:

smmsp sendmail: Queue runner@01:00:00
root sendmail: accepting connections

 
it seems sendmail is running with use root

su - root
crontab -l | grep -v "#"

do you see anything suspicious there?



 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top