shibu_sp |
05-22-2010 03:27 AM |
mail from linux terminal
Dear All
We are using RHEL 4 and sendmail version -8.13.8-2. We are using sendmail service for mail transcation. But we are not able to mail from terminal.
Quote:
[systems@localhost ~]$ echo hello|mail -s "Hi dere" systems@localhost
[systems@localhost ~]$ collect: Cannot write ./dfo4M8OIMh014372 (bfcommit, uid=5 14, gid=51): Permission denied
queueup: cannot create queue file ./qfo4M8OIMh014372, euid=514, fd=-1, fp=0x0: P ermission denied
[systems@localhost ~]$ su -
Password:
[root@localhost ~]# echo hello|mail -s "Hi dere" systems@localhost
[root@localhost ~]# collect: Cannot write ./dfo4M8R4C3014796 (bfcommit, uid=51, gid=51): Permission denied
queueup: cannot create queue file ./qfo4M8R4C3014796, euid=51, fd=-1, fp=0x0: Permission denied
[root@localhost ~]#
|
Thanks in Advance
Shibu
|