LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 04-09-2004, 12:49 PM   #1
htm
Member
 
Registered: Mar 2004
Posts: 162

Rep: Reputation: 30
local email sending/receiving problem


On Redhat 9.0 server, I use sendmail to sedn email, and it just works fine.
But when I send email from root@localhost to guest@localhost, and su guest,
then do a mail to check email, th system says:

guest@localhost mail]$ mail
/var/spool/mail/root: Permission denied

Why?

I wanna fix this problem since I am gathering if someone else needs to send email
to guest instead of root from outside, that would create a problem for me.

Thx,
HTM
 
Old 04-09-2004, 01:16 PM   #2
coolamit78
Member
 
Registered: Aug 2003
Location: New Delhi, India
Distribution: RHEL AS 3/4, Windows XP
Posts: 546

Rep: Reputation: 31
Well, when you log in as guest and give the command mail, the system checks that u r signed in as a normal user and the mail command tries to access root's mailbox for which it dosent have permission. Hence I guess the permission denied error.

You should in fact use a new terminal session ( tty 1 to 6) and log in as guest to find out if u arent able to access mail.

Regards,

amit
 
Old 04-10-2004, 12:06 AM   #3
htm
Member
 
Registered: Mar 2004
Posts: 162

Original Poster
Rep: Reputation: 30
receiving problem fixed but got sedning problem

By commenting 127.0.0.1 line in sendmail.mc and recompile (thx to a friend's help in this forum), I fixed the email receiving problem, but
unfortunately I cannot send email out anymore (locally it still wokrs), why?
How to fix that while still keeping my email receiving capability working?

Thx,
HTM
 
  


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 Divert Email While Receiving And Sending? kiranprashant Programming 2 09-14-2005 06:21 AM
How To Divert Email While Receiving And Sending? kiranprashant Linux - Newbie 2 09-13-2005 02:51 PM
problem receiving email King4lex Slackware 1 09-20-2004 04:52 PM
Problem receiving email from email server sharon Linux - Newbie 3 07-11-2003 04:57 AM
Red hat 7.2 receiving email problem MiB_24 Linux - General 20 01-08-2002 11:05 PM


All times are GMT -5. The time now is 04:38 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration