Not able to send mails

Hi,

I am not able to send mails to the recipents.
I am using AIX 5.3 Version and using the below command.

cat test.log|mail -s "TestMail" user1@mail.com

Can you please tell me is there any configurations to be done or is the above command wrong?

Thanks & Regards
Sheshadri

Your syntax seems correct, what is the error message that you see ? Try mailx instead of mail, although I have them both on AIX 5.3.

Hi Thanks for the reply.
I tried with mailx but still not able to solve.

I am not getting any error. After execution of the command, I am getting the prompt.
If I type mail here I am getting msg No mails for the user.
And the mail is not coming to the sent address either.

Thanks & Regards
Sheshadri

Is the sendmail running ? If yes, you are not able to send mails locally or remote ? If remote, it's possible that the remote user cannot receive this mail, or being rejected at mail firewall level, for example, for not having FQDN or correct SPF records.