Sponsored Content
Top Forums UNIX for Dummies Questions & Answers MTA problems; root gets no mail Post 302394125 by Narnie on Wednesday 10th of February 2010 07:04:53 PM
Old 02-10-2010
MTA problems; root gets no mail

Hello,

I am afraid that I goofed up my mailing system.

I have an Ubuntu 9.10 system

Code:
$ uname -smor
Linux 2.6.31-14-generic x86_64 GNU/Linux

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 :

Code:
$ cat /etc/aliases
# See man 5 aliases for format
postmaster:    root

Code:
$ echo "Howdy" | sendmail -v root@localhost
Mail Delivery Status Report will be mailed to <woodnt>.

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:

Code:
woodnt@toshiba-laptop ~/.xchat2/downloads $ su luke
Password: 
luke@toshiba-laptop /home/woodnt/.xchat2/downloads $ mail root
Subject: Hello
root
Cc: 
luke@toshiba-laptop /home/woodnt/.xchat2/downloads $ exit
exit
woodnt@toshiba-laptop ~/.xchat2/downloads $ mail
No mail for woodnt
woodnt@toshiba-laptop ~/.xchat2/downloads $ sudo su
toshiba-laptop downloads # mail
No mail for root
toshiba-laptop downloads # exit
exit

Any ideas where to go from here?

Last edited by Narnie; 02-10-2010 at 08:03 PM.. Reason: error correction
 

10 More Discussions You Might Find Interesting

1. Solaris

mail problems - how to send mail on solaris

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)
Discussion started by: amon
10 Replies

2. AIX

Problems with disabling remote root login

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)
Discussion started by: veccinho
3 Replies

3. Shell Programming and Scripting

ssh root@mrp-gateway problems

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)
Discussion started by: kittusri9
1 Replies

4. UNIX for Dummies Questions & Answers

Root problems??

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)
Discussion started by: razordp
3 Replies

5. UNIX for Dummies Questions & Answers

Non root login problems in AIX

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)
Discussion started by: hansul
2 Replies

6. UNIX for Dummies Questions & Answers

localhost [127.0.0.1] did not issue MAIL/EXPN/VRFY/ETRN during connection to MTA

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)
Discussion started by: tonj
0 Replies

7. AIX

Able to send mail without running MTA (sendmail)?

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)
Discussion started by: zaxxon
6 Replies

8. What is on Your Mind?

Most popular mail server(MTA)

Which among the following is most popular choice as a mail server - 1)Sendmail 2)Postfix 3)Qmail Which is the industry preferred one? (2 Replies)
Discussion started by: proactiveaditya
2 Replies

9. UNIX for Advanced & Expert Users

[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 root: mintSince you can't log into the mint... (0 Replies)
Discussion started by: Narnie
0 Replies

10. Red Hat

Problems sending mail: Difference between Mail and Mailx?

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)
Discussion started by: RedSpyder
1 Replies
ppmtosixel(1)						      General Commands Manual						     ppmtosixel(1)

NAME
ppmtosixel - convert a portable pixmap into DEC sixel format SYNOPSIS
ppmtosixel [-raw] [-margin] [ppmfile] DESCRIPTION
Reads a portable pixmap as input. Produces sixel commands (SIX) as output. The output is formatted for color printing, e.g. for a DEC LJ250 color inkjet printer. If RGB values from the PPM file do not have maxval=100, the RGB values are rescaled. A printer control header and a color assignment table begin the SIX file. Image data is written in a compressed format by default. A printer control footer ends the image file. OPTIONS
-raw If specified, each pixel will be explicitly described in the image file. If -raw is not specified, output will default to com- pressed format in which identical adjacent pixels are replaced by "repeat pixel" commands. A raw file is often an order of magni- tude larger than a compressed file and prints much slower. -margin If -margin is not specified, the image will be start at the left margin (of the window, paper, or whatever). If -margin is speci- fied, a 1.5 inch left margin will offset the image. PRINTING
Generally, sixel files must reach the printer unfiltered. Use the lpr -x option or cat filename > /dev/tty0?. BUGS
Upon rescaling, truncation of the least significant bits of RGB values may result in poor color conversion. If the original PPM maxval was greater than 100, rescaling also reduces the image depth. While the actual RGB values from the ppm file are more or less retained, the color palette of the LJ250 may not match the colors on your screen. This seems to be a printer limitation. SEE ALSO
ppm(5) AUTHOR
Copyright (C) 1991 by Rick Vinci. 26 April 1991 ppmtosixel(1)
All times are GMT -4. The time now is 06:04 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy