1833589 Members
3749 Online
110061 Solutions
New Discussion

mailx command

 
Waqar Razi
Regular Advisor

mailx command

We have a script which includes mailx command. But it mailx is not working, Can some one please let me know what (application or package) do we need to have on server to make it work? The server is BL860c running HPUX 11.23.
5 REPLIES 5
Autocross.US
Trusted Contributor

Re: mailx command

What is not working about it? Can you post an error message?
I drive way too fast to worry about calories.
Dennis Handly
Acclaimed Contributor

Re: mailx command

As Autocross asked, can you provide the output from /var/adm/syslog/mail.log during this time?

Has mail ever worked? Have you configured /etc/mail/sendmail.cf and have you started sendmail?
mrk_1
Frequent Advisor

Re: mailx command

check whether the sendmail daemon is up or not.
ps -ef | grep sendmail

If it is not up. try to start

/sbin/init.d/sendmail start
Kapil Jha
Honored Contributor

Re: mailx command

may be recreating alias.db by newaliases command would help , but we need to know exact error for going any further,

THanks,
Kapil+
I am in this small bowl, I wane see the real world......
David G. Douthitt
Regular Advisor

Re: mailx command

Without further details, there is nothing anyone can do.

You might want to read this document:

http://catb.org/~esr/faqs/smart-questions.html

This will help you get quicker answers and help you resolve your problems faster.