LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-19-2011, 09:18 PM   #1
loveulinux
Member
 
Registered: Aug 2011
Posts: 68

Rep: Reputation: Disabled
Sendmail problem


Hi..all,
I am using Cent O/S 5.5. Everyday I was getting mails about logs at 6AM. Since few days it stopped sending mails. Then I checked mailq there were lot of mails were in queue and I manually sent all the mails by using "senmail -q -v" command. Since then It was sending mails automaticaly at everyday 6AM only for 3-4 days. But now again it has stopped and everyday I only have to flush all mails from the mailq. And even I try to send mails through mutt it is not sending and going to queue. I pinged to google, yahoo and ensured that internet is working fine. So could anybody please guide me how can I fix this problem.
 
Old 10-19-2011, 10:38 PM   #2
deep27ak
Senior Member
 
Registered: Aug 2011
Location: Bangalore, India
Distribution: rhel 5x,6.0,6.2, centOS 5x,6.0,6.2
Posts: 1,194
Blog Entries: 4

Rep: Reputation: 221Reputation: 221Reputation: 221
were you able to send mails earlier?
 
1 members found this post helpful.
Old 10-19-2011, 10:55 PM   #3
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 332Reputation: 332Reputation: 332Reputation: 332
If your load average typically runs high, you may have to raise the queue and refuse load average limits in sendmail.mc:
Code:
define(`confQUEUE_LA', `20')dnl
define(`confREFUSE_LA', `30')dnl
 
1 members found this post helpful.
Old 10-19-2011, 11:35 PM   #4
loveulinux
Member
 
Registered: Aug 2011
Posts: 68

Original Poster
Rep: Reputation: Disabled
Sendmail problem

Yes I was able to send mail

Quote:
Originally Posted by deep27ak View Post
were you able to send mails earlier?
 
Old 10-19-2011, 11:43 PM   #5
loveulinux
Member
 
Registered: Aug 2011
Posts: 68

Original Poster
Rep: Reputation: Disabled
Sendmail problem

Hi. Thanks,
I found in /etc/mail/sendmail.mc as below
define(`confQUEUE_LA', `12')dnl
define(`confREFUSE_LA', `18')dnl
and I changed it as you mentioned below. Ok, let me check till one or two days and I will let you know. Thank you very much.



Quote:
Originally Posted by macemoneta View Post
If your load average typically runs high, you may have to raise the queue and refuse load average limits in sendmail.mc:
Code:
define(`confQUEUE_LA', `20')dnl
define(`confREFUSE_LA', `30')dnl

Last edited by loveulinux; 10-20-2011 at 01:24 AM. Reason: Correction
 
Old 10-24-2011, 12:10 AM   #6
loveulinux
Member
 
Registered: Aug 2011
Posts: 68

Original Poster
Rep: Reputation: Disabled
Sendmail problem

Hi..many many thanks to you, I checked it for 3-4 days. Now the server is sending mails automatically after adding
define(`confQUEUE_LA', `20')dnl
define(`confREFUSE_LA', `30')dnl

to /etc/mail/sendmail.mc file and restarted the sendmail service.
Once again thank you god.

Quote:
Originally Posted by loveulinux View Post
Hi. Thanks,
I found in /etc/mail/sendmail.mc as below
define(`confQUEUE_LA', `12')dnl
define(`confREFUSE_LA', `18')dnl
and I changed it as you mentioned below. Ok, let me check till one or two days and I will let you know. Thank you very much.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
sendmail problem saravanakumar Linux - Server 1 08-03-2011 07:52 AM
sendmail.mc and sendmail-cf problem. ChrisScott Linux - Software 1 11-26-2006 01:30 PM
sendmail problem cheeyee Linux - Networking 1 11-20-2003 12:58 PM
problem processing sendmail.mc to sendmail.cf ...help... lucastic Linux - Networking 1 09-21-2003 10:08 AM
Sendmail problem: sm-client permissions problem d3funct Linux - Software 0 08-12-2003 05:00 PM


All times are GMT -5. The time now is 07:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration