LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-22-2010, 04:27 AM   #1
shibu_sp
Member
 
Registered: Aug 2007
Posts: 57

Rep: Reputation: 15
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
 
Old 05-22-2010, 05:20 AM   #2
fruttenboel
Member
 
Registered: Jul 2008
Location: Tilburg NL
Distribution: Slackware 14.2 ciurrent, kernel 3.18.11
Posts: 270

Rep: Reputation: 48
Quote:
Originally Posted by shibu_sp View Post
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.


Thanks in Advance

Shibu
try once more as root user
 
Old 05-22-2010, 05:33 AM   #3
smoker
Senior Member
 
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

Rep: Reputation: 249Reputation: 249Reputation: 249
@fruttenboel

Which part of
Quote:
[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 ~]#
did you not understand ?

Last edited by smoker; 05-22-2010 at 05:45 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to e-mail from a terminal vdogvictor Linux - General 5 05-04-2004 04:34 PM
Linux mail from the Terminal scottpioso Linux - General 5 03-05-2003 06:33 AM
Mail in terminal TazLinux Linux - General 1 02-23-2003 07:59 AM


All times are GMT -5. The time now is 07:52 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration