View the Most Wanted LQ Wiki articles.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 04-09-2004, 12:49 PM   #1
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


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.

Old 04-09-2004, 01:16 PM   #2
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.


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

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

By commenting line in 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?



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 02:13 AM.

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