LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   sendmail issue (https://www.linuxquestions.org/questions/linux-software-2/sendmail-issue-502251/)

kartthikr 11-16-2006 11:58 AM

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

unSpawn 11-16-2006 06:12 PM

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.

kartthikr 11-17-2006 11:54 AM

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 ?

unSpawn 11-18-2006 07:12 AM

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.


All times are GMT -5. The time now is 09:23 PM.