[SOLVED] Root mail going to user "mail" instead of root
I running Linux Mint Debian Edition tracking testing and have started a cron job that will send something to the root mailbox. Mint has heirloom and exim4 installed. However, mail was getting nothing. I realized that in /etc/aliases, there was a line
Since you can't log into the mint user (and /var/mail had no mint file), I commented out the root: mint line and did a:
Now, mail is going to the user mail not root. Roots mail can be found in /var/mail/mail.
For some reason, it is not going to the root user. As root, I can
But this is inconvenient. I would like root's mail to go to root.
Can someone let me know how to have root's mail actually go to root's mailbox?
There is no /root/.forward file, either.
Thanks,
Narnie
---------- Post updated at 07:54 PM ---------- Previous update was at 12:21 AM ----------
I had done a:
And didn't see anything interesting.
I decided to do a:
And got an interesting hit that fits. In /etc/exim4/conf.d/mmm_mail4root (which should have giving me a hint but was among many other files so I couldn't see the forest for the trees) I found this:
That was the smoking gun I needed. Now I know what was going on.
Last edited by Narnie; 03-26-2012 at 09:55 PM..
Reason: Change to solved
I am looking t run root level command on multiple servers, but all servers have only "su - " permission available in sudoers.
please help me if any way that I can run command using help of "su -"
My script
for hosts in `cat hosts.txt`;
do
echo "###########################Server Name-... (5 Replies)
Our AIX servers send e-mails which have the "from" address set to "root@company.com" for our root user ("C{M}company.com" in /etc/sendmail.cf). The problem is that when bad e-mails are sent out or rejected by remote servers, they are being returned and delivered to e-mail box of "Mary Root".
... (2 Replies)
I am getting the following error in the cron log:
! bad user (root) Wed Sep 22 14:30:00 2010
< root 8989 c Wed Sep 22 14:30:00 2010 rc=1
What does this mean? (5 Replies)
I am trying to install openmotif22-2.2.3-18.src.rpm,
after I typed in " rpm -i openmotif22-2.2.3-18.src.rpm"
the following message comes out:
warning: user owen does not exist - using root
warning: group owen does not exist - using root
I am install openmotif under root account.
Do... (2 Replies)
Hi,
I'm brand new here and looking for a solution:
I'm using mail or mailx. The default reply address is «myshortusername@mylongusername.local» which makes absolutely no sense for anybody receiving my emails.
But how do I change it? There seem to be many solutions but none for Mac OS X.... (0 Replies)
Does anyone know if this is possible?
I want to give some users access to root's crontab but only with a read privilege.
Is this possible to do or can only root or people with full root sudo view root's cron? (4 Replies)
I'm running sendmail (8.13.8+Sun/8.13.8/Submit) solaris 10.
When I send mail to root at the command line (whether I use a full-qualified address or just root), I get the error message
root... User address required.
Sending mail to root (either at the command line or in a cron job),... (10 Replies)
Hello All,
I work as a system admin at a company of about 600 users on a HP-UX server. We have an IT department of about 15. My problem is that we give out the root password to the majority of them, they are phone support techs, as they need to get in to kill processes and setup users and... (4 Replies)