LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 04-01-2007, 11:42 AM   #1
rednuht
Member
 
Registered: Aug 2005
Posts: 239
Blog Entries: 1

Rep: Reputation: 30
Unhappy Mail for root is dead.letter


I do not run my own mail server so my regular users system mail goes to ~/dead.letter which is fine, as it is mostly output from my own badly written shell scripts being run from cron.
I use Kmail to get my ISP mail via pop3, so far so good.
But for system mail to root it goes to /root/dead.letter and I miss important things and I have just lost my dyndns account because I did not see all the failure messages

So, how can I setup Kmail to get the root system mail when I am logged on as my regular user ?

I am running Gentoo.
 
Old 04-02-2007, 07:29 AM   #2
bsdunix
Senior Member
 
Registered: May 2006
Distribution: Caldera, CTOS, Debian, FreeBSD, Mac OS X, Mandrake, Minix, OpenBSD, Slackware, SuSE
Posts: 1,757

Rep: Reputation: 78
Quote:
how can I setup Kmail to get the root system mail when I am logged on as my regular user ?
I'm using Slackware and Sendmail, don't know if Gentoo will be similar. Make an email alias for root.
Code:
# vi /etc/mail/aliases
If not listed, make an entry like:
Code:
# Who gets root's mail.
root:  username
Update the file and send the username a test message.
Code:
# newaliases
# echo "test message" | mail root -s "test"
Check user's email for test message.
 
Old 04-09-2007, 03:56 PM   #3
rednuht
Member
 
Registered: Aug 2005
Posts: 239
Blog Entries: 1

Original Poster
Rep: Reputation: 30
thanks, that was a major peice of the puzzle for me, the other one being I needed to install postfix.
works perfectly now.
 
  


Reply

Tags
administration, mail, root


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Script to move directories based on first letter to a new directory of that letter tworkemon Linux - Newbie 8 01-30-2007 07:18 PM
sendmail automatically goes to dead.letter kaplan71 Linux - Software 1 09-17-2005 02:00 AM
Sendmail mail goes to dead.letter rutman Linux - General 1 06-18-2004 12:14 AM
dead.letter ? shanenin Linux - Software 0 06-04-2004 11:04 PM
Is Root Dead? phekno Linux - Software 5 09-26-2003 03:25 PM


All times are GMT -5. The time now is 08:28 PM.

Main Menu
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