  | |  | Notifications email failure - SOLVED | Notifications email failure - SOLVED 2005-09-08 - By Jeff Boyce
Back 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.
|
|
 |