LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-16-2006, 11:58 AM   #1
kartthikr
LQ Newbie
 
Registered: Nov 2006
Posts: 4

Rep: Reputation: 0
sendmail issue


Am seeing a weird sendmail connection to machine A from machine B where both are running on RH 7.3. Due to this, cpu utilization goes high btw 80% - 90%. When i ran ps -ef | grep sendmail command, here is the o/p i get:

root 18482 1 0 11:35 ? 00:00:00 sendmail: accepting connections
root 18483 18482 81 11:35 ? 00:00:12 sendmail: ./kAGFrv616803: from q

I stopped the sendmail service on machine B but this still occurs. On machine A a cronjob exists the script will shoot mail to few users, so i need the sendmail service.

Note: machine A act as grid master and machine B act as grid client for addl info.

Can someone show light to resolve it.

Kartthik
 
Old 11-16-2006, 06:12 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3590Reputation: 3590Reputation: 3590Reputation: 3590Reputation: 3590Reputation: 3590Reputation: 3590Reputation: 3590Reputation: 3590Reputation: 3590Reputation: 3590
What does the system log and maillog say? If nothing up the debug level. If still nothing try stracing the MTA.
Apart from that RHL-7 to 9 have been EOL'ed in 2004 so if you're not in the business of requiring RHL for supporting legacy applications you really have no reason running deprecated releases and you should install a recent, supported and maintained distribution.
 
Old 11-17-2006, 11:54 AM   #3
kartthikr
LQ Newbie
 
Registered: Nov 2006
Posts: 4

Original Poster
Rep: Reputation: 0
sendmail issue

In the maillog it says:

Nov 16 09:54:48 srv5 sendmail[16803]: kA6L6iT09252: kAGFrvv16803: return to sender: Cannot send message for 5 days

Nov 16 09:54:54 srv5 sendmail[16803]: kAGFrvv16803: to=root, delay=00:00:06, xdelay=00:00:03, mailer=local, pri=37207720, dsn=4.0.0, stat=Deferred: local mailer (/usr/bin/procmail) exited with EX_TEMPFAIL

Nov 17 11:07:13 srv5 sendmail[1364]: kAGFrvv16803: to=root, delay=1+01:12:25, xdelay=00:00:04, mailer=local, pri=37747720, dsn=2.0.0, stat=Sent

and ps look like this:

[root@srv5 /var/spool/mail]ps -ef | grep mail
root 1695 1 0 11:26 ? 00:00:00 sendmail: accepting connections
root 1696 1695 68 11:26 ? 00:00:16 sendmail: ./kAGFrvM16803: from q
root 1924 1696 9 11:26 ? 00:00:00 procmail -f MAILER-DAEMON@srv5
root 1926 706 0 11:27 pts/32 00:00:00 grep mail

There was no .procmailrc file too. I recreated the procmail log file /dev/null but no luck still the problem exists. Also didnt see any logs on the procmail log file. i wasnt able to track the message which has the message id kAGFrvv16803.

does any mailbox exists for mailer-daemon, if so where i can find it ?

Last edited by kartthikr; 11-17-2006 at 12:46 PM.
 
Old 11-18-2006, 07:12 AM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3590Reputation: 3590Reputation: 3590Reputation: 3590Reputation: 3590Reputation: 3590Reputation: 3590Reputation: 3590Reputation: 3590Reputation: 3590Reputation: 3590
local mailer (/usr/bin/procmail) exited with EX_TEMPFAIL
No details, Could be anything.


There was no .procmailrc file too.
Dot-procmailrc is a user account thing. The global one is called /etc/procmailrc.


I recreated the procmail log file /dev/null
A "logfile" called "/dev/null"? Well done. Now you get to see no logs.


does any mailbox exists for mailer-daemon, if so where i can find it ?
mailer-daemon is not a user so it has no mailbox so it ends up in root. You can define an alias in /etc/(mail/)aliases and send email to a human user account or a file. Remember to run newaliases and restart Sendmail.
 
  


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 issue Reegz Linux - Newbie 1 09-07-2006 09:00 AM
Sendmail Issue haym37 Linux - Software 3 07-24-2006 06:54 AM
Sendmail issue mogundepo Linux - General 1 07-12-2006 10:45 AM
Sendmail issue? basketkase999 Linux - Newbie 3 03-07-2005 11:56 PM
sendmail issue iquadri1 Linux - Networking 1 09-29-2001 02:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:53 PM.

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