I am wanting to receive cron job mails. I noticed that cron jobs were trying to send mail to sendmail. I had installed ssmtp so I could send mail using gmail from the command line which also installed bsd-mailx. OOPS! I think this really messed up configurations. After further research, I purged ssmtp and reinstalled bsd-mailx which has postfix as a dependency.
Now, root doesn't get mail (via mail command), but root can send mail to users ok. Users can send and receive mail from user to user.
I think a side effect of this problem is that it messes up cron, as this is the only significant difference between this and other systems I have and they don't have this problem. Now cron processes hangs (the cron job itself completes) and becomes a zombie. Only restarting the cron service fixes it.
Any ideas how to resolve this short of restalling (which I'd rather not do)?
Thanks,
Narnie
---------- Post updated at 06:04 PM ---------- Previous update was at 12:29 PM ----------
More scrounging around showed :
I think we are on to something here.
No aliases for root to woodnt, but sendmail is sending to woodnt.
BTW, tried sending mail to root from another user not woodnt and neither woodnt nor root got the mail. See this for the results:
Any ideas where to go from here?
Last edited by Narnie; 02-10-2010 at 08:03 PM..
Reason: error correction
Double check you don't have a a different file as the alias file in your config (which mean you may think root mail isn't suppose to go to woodnt but in some other file, it's set that way).
Check your mail logs - /var/log/mail.err, /var/log/mail.info, /var/log/mail.log, and /var/log/mail.warn - there are probably clues in there.
Whats the difference between mail and mailx?
I'm trying to troubleshoot a problem where I can send mail from server A with this `echo $MESSAGE | mail -s "$SUBJECT" -r $FROM $RECIPIENTS` command but executing the same command from server B throws me this error (Both servers are RHEL)
... (1 Reply)
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
root: mintSince you can't log into the mint... (0 Replies)
Hi,
I am facing a (for me and coworkers) strange behaviour. When I stop sendmail on a plain AIX 5.3 testing box (there is definetly no sendmail process left running anymore), I am still able to send mails to remote addresses via the mail command. I tried that on another box which is not a... (6 Replies)
hardware = raq550 running on strongbolt2.
my sendmail log is littered with this entry all through the day:
localhost did not issue MAIL/EXPN/VRFY/ETRN during connection to MTA
it occurrs every 15 minutes. I don't have any problem sending or receiving mail. I did a search on google but couldn't... (0 Replies)
Hi All,
I have setup a non root user on AIX 5.3, using smit. When I try logging on as that user my login screen just disappears. I am using PUTTY. I login to the same box as root no problems. I have tried re-creating several different usernames but get the same effect I have also telneted from a... (2 Replies)
So when I log in as root on my eMac (running tiger, 10.4.11), some things don't work or reluctantly work. Examples:
Computer:/Users/mat/Desktop root# pico test.doc
Error opening terminal: network.
Computer:/Users/mat/Desktop root# emacs test.doc
Error opening terminal: network.
... (3 Replies)
Dear friends,
exec 0<$SuppFile
while read LINE
do
echo $LINE
gatewayArchive=`ssh root@mrp-gateway "cd /usr/local/apache/data/PLAT/MIMUS/upload/PROD/archive && ls $LINE"`
echo "gateway files :"$gatewayArchive
done
this loop is not repeating when i use ssh root@mrp-gateway line of code.... (1 Reply)
Hello!
I'm going through security checklist for AIX 5.3 and i just can't disable remote login for root through ssh.
What i did:
- in /etc/security/user i added a line:
rlogin = false
which works fine when i try to login through telnet
- after installation of openSSH i edited... (3 Replies)
Hello I am new user on solaris...
I need to configure my solaris to be able to send mails...
I know mailx command
mailx -s hello address@address.com
but I get an error...
you have mail in /var/mail/root
# hello... User unknown
/dead.letter... Saved message in /dead.letter
what... (10 Replies)