Send Mail

Hi

I want to send email from unix box. I tried below code

sendmail -s Hello cnrj@mail.com

It has given Warning as below
WARNING: RunAsUser for MSP ignored, check group ids (egid=33064, want=25)
can not chdir(/var/spool/clientmqueue/): Permission denied
Program mode requires special privileges, e.g., root or TrustedUser.

Could some one let me know what are all the things i need to check before using 'Sendmail'.

Thanks

Check the permissions and other info, try:

stat /usr/sbin/sendmail

And also your UserID needs to be the part of root user group or any trusted user group with sendmail permission.