Mailing List
Home
Forum Home
Linux - General Red Hat Linux discussion list
Installation - Getting started with Red Hat Linux
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
X Windows problem (xauth)
Upgrading openoffice 1 1 rpm
FTP: connection refused
FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
broadcom network interface
make mrproper
sendmail configuration on redhat
Couldn 't open PID file /var/run/named/named pid Permission denied
Promise 378 controller
kernel 2 6 and /dev/sound/mixer not found
Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
Lotus Notes under Wine
/etc/security/limits conf question
Intel E/1000 driver
Command stream end of file while reading
rpm database corrupt
qla2300 modules
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
Notifications email failure - SOLVED

Notifications email failure - SOLVED

2005-09-08       - By Jeff Boyce

 Back
Reply:     1     2     3     4     5  

Original Post (solution below)

>I am a novice network manager for a small office network running a RHEL 3
>server on a Dell PE2600.  The server is used primarily as a Samba server
>for
>about 10 Windows clients.  It is not used as a mail server or web server
>(our mail is delivered via POP3 from a 3rd party provider).  I am aware
>that
>several of the administrative programs (e.g., tape backup, Dell OMSA, UPS
>battery management tool, etc.) on my server send email notifications to
>root
>when conditional events occur.  I have root's email set up to be redirected
>to my email address, yet since I have not received any emails I am assuming
>that I don't have something properly configured.  I generally have most
>services turned off that are not necessary for our local network.  The
>maillog
>file indicates that it is unable to resolve where the email is to be sent.
>When I
>check running processes on our server it shows that Named is currently
>running, but checking the BindDNS service through Webmin gives the
>following
>message.
>
>The primary configuration file for BIND /var/named/chroot/etc/named.conf
>does not exist, or is not valid. Create it?
>
>Below are the messages from the /var/log/maillog file indicating the
>attempts to send the email notifications.
>
>Aug 17 01:38:01 bison sendmail[20314]: My unqualified host name (bison)
>unknown; sleeping for retry
>
>Aug 17 01:39:01 bison sendmail[20314]: unable to qualify my own domain name
>(bison) -- using short name
>
>Aug 17 01:39:02 bison sendmail[20314]: j7H8d1XK020314: from=root,
>size=1337,
>class=0, nrcpts=1, msgid=<200508170839.j7H8d1XK020314@(protected)>,
>relay=root@(protected)
>
>Aug 17 01:39:02 bison sendmail[20314]: j7H8d1XK020314:
>to=jboyce@(protected), ctladdr=root (0/0), delay=00:00:01,
>xdelay=00:00:00, mailer=relay, pri=31337, relay=[127.0.0.1] [127.0.0.1],
>dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
>
>Aug 17 04:02:03 bison sendmail[20584]: My unqualified host name (bison)
>unknown; sleeping for retry
>
>Aug 17 04:03:03 bison sendmail[20584]: unable to qualify my own domain name
>(bison) -- using short name
>
>Aug 17 04:03:03 bison sendmail[20584]: j7HB33cm020584: from=root,
>size=5002,
>class=0, nrcpts=1, msgid=<200508171103.j7HB33cm020584@(protected)>,
>relay=root@(protected)
>
>Aug 17 04:03:03 bison sendmail[20584]: j7HB33cm020584: to=root,
>ctladdr=root
>(0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=35002,
>relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused
>by [127.0.0.1]
>
>My /etc/hosts file shows the following information.  Workstations 105 and
>100 are listed for proper operation of a network tape backup.
>
>127.0.0.1           localhost.localdomain     localhost
>192.168.112.1    bison
>192.168.112.105            jeff
>192.168.112.100            pamk
>
>I am assuming that there is probably a simple solution to this problem, but
>I am not sure how to interpret the maillog messages.  What additional
>configuration changes do I need to make to receive the notification emails?
>
>
Solution:
This is a two part solution.  First I changed my /etc/hosts file by adding
bison to the local host line, which now reads:
127.0.0.1     bison     localhost.localdomain     localhost

I then restarted named, network, and sendmail (in this order, although not
sure all of this was entirely necessary).  This resulted in releasing a
flood of emails from the spool that had been sent from the Arkeia backup
software to jboyce@(protected)  (Arkeia had been set up to send
directly to me instead of to root, although this has been changed now.)
Although I was still seeing error messages for emails that were being
directed to root@(protected)

The second part of the solution was to change my /etc/aliases file by
changing the line that redirects roots email.  It was initially being
directed to my network account user name (jeffb).  It now reads as:
root:     jboyce@(protected)

I then re-ran the newaliases macro and then restarted sendmail.  Now I
receive the logwatch files that are sent to root daily.

For mail that had been accumulating in /var/spool/mail/root I manually
forwarded this file to my email account to review the history.  Thanks for
all the assistance that everyone provided.

Jeff Boyce
www.meridianenv.com

--
Taroon-list mailing list
Taroon-list@(protected)
http://www.redhat.com/mailman/listinfo/taroon-list

Earn $52 per hosting referral at Lunarpages.