1830936 Members
1935 Online
110017 Solutions
New Discussion

Sendmail process hung

 
SOLVED
Go to solution
Deepak Kulkarni
Regular Advisor

Sendmail process hung

Hi !!!!

cat $TEST_MAIL | /usr/sbin/sendmail -t -f address@myhost

The above process hungs. mailq output is as below. What might be the reason for this?

$ mailq
Mail Queue (1 request)
--Q-ID-- --Size-- -----Q-Time----- ------------Sender/Recipient------------
XAA21570* (no control file)


Thanks & Regards
DK
5 REPLIES 5
James R. Ferguson
Acclaimed Contributor
Solution

Re: Sendmail process hung

Hi DK:

As the manpages for 'sendmail' would note, "sendmail is not intended as a user interface routine. Other programs provide user-friendly front ends. sendmail is used only to deliver pre-formatted messages."

Instead why not (?):

# mailx -s "Your Subject Here" address@myhost.org < ${TEST_MAIL}

Regards!

...JRF...
Ivan Krastev
Honored Contributor

Re: Sendmail process hung

See this old thread how to deal with this empty messages - http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=108284

regards,
ivan
Deepak Kulkarni
Regular Advisor

Re: Sendmail process hung

Hi JRF

Thanks for the reply.

What is the meaning of (no control file) in the mailq output. Is it denotes something? And how can we read XAA21570.

Please suggest me any document if you come across.

Regards
DK
James R. Ferguson
Acclaimed Contributor

Re: Sendmail process hung

Hi (again) DK:

> What is the meaning of (no control file) in the mailq output. Is it denotes something?

See Technical Knowledge Base article ID# emr_na-c01113186-1

> And how can we read XAA21570.

You should find that file in '/usr/spool/mqueue'. This is discussed in the article cited, above, too.

Regards!

...JRF...
Deepak Kulkarni
Regular Advisor

Re: Sendmail process hung

Thanks for the kind help comrades......

Regards
DK