Ubuntu Servers :: Logwatch Emails Not Sent If Named Logs Are Included?

Jun 15, 2011

I've suddenly stopped getting emails from logwatch which runs on an Ubuntu server daily using cron.After a good day or so of troubleshooting, I was able to establish that it was the 'Service = named' line in my logwatch.conf file, which was stopping the emails from coming through. If I commented out this line, the logwatch emails come through with no issues, uncomment, and I don't get an email. I don't get any error from logwatch itself when I run it, even with '--debug high', leading me to think that my email configuration is setup ok, at least. Furthermore, I tried running logwatch with '--output file --format html' and logwatch produces a valid html file.

I then thought: "Could I have a entry in my Bind/named log files which could be rejected by my ISP's smtp server?". So, (to the best of my knowledge) I cleared out the log files in /var/log that contained messages from named. I then ran logwatch (including the named service in my logwatch.conf file) and I got an email through, with a pretty much empty named section, which is exactly what I anticipated. Great! - it's fixed.

So, the cron.daily ran early this morning, but still no email in my inbox when I got up. I then tried to run 'logwatch --Range today' and lo and behold, I got a logwatch report email, which included a named section, with log entries in there. So it seems that something that's been logged by named overnight to my logfiles (i.e. '--Range yesterday') has caused issues again with logwatch's ability to send reports through my ISP's smtp servers.

View 1 Replies


Software :: Logwatch Not Sending Emails - No Mail

Jun 8, 2010

I'm trying to get logwatch to email me. I think my logwatch.conf file is okay. I have postfix installed. The mailer as far as I can tell is set correctly ("usr/bin/mail"). When I run logwatch - I get "no mail for aubrey"

Heres my logwatch.conf file:
linux-qwkb:/home/aubrey # edit /usr/share/logwatch/default.conf/logwatch.conf
# This was written and is maintained by:
# Kirk Bauer <kirk@kaybee.org>
# Please send all comments, suggestions, bug reports,
# etc, to kirk@kaybee.org.
######################################################## .....

View 13 Replies View Related

Server :: Getting Logwatch Working With Shorewall Logs?

Sep 9, 2010

How to get logwatch working with shorewall logs. I tried fwlogwatch but could not get that working.

View 1 Replies View Related

Software :: When Save Emails To Disk The Full Headers Are Included ?

Jan 12, 2011

I am running Thunderbird version 3.1.7 on LinuxMint10 (Julia) and when I save emails to disk the full headers are included, which is annoying. Other distros like PCLinuxOS running the same version of TB exclude headers.

View 4 Replies View Related

Ubuntu :: Building Raid Array Causing An IRQ Error, Logs Included?

Dec 4, 2010

I've been trying to create a RAID5 array with 4x1TB disks.

I'm using Ubuntu 10.10, uname output:


Linux dynamips 2.6.35-22-server #33-Ubuntu SMP Sun Sep 19 20:48:58 UTC 2010 x86_64 GNU/Linux

I have two of them connected to the on board ICH7 SATA controller (sdb and sdc), and two of them connected to an external Silicon Image SiI 3132 controller (sdd and sde). sda is my boot disk split into several partitions and is also connected to the onboard SATA.

Everything is working fine before I create the array, here are my hdparm outputs:


Timing cached reads: 2958 MB in 2.00 seconds = 1478.89 MB/sec
Timing buffered disk reads: 360 MB in 3.02 seconds = 119.35 MB/sec
Timing cached reads: 2940 MB in 2.00 seconds = 1469.77 MB/sec

View 2 Replies View Related

CentOS 5 Server :: Rotating Named Logs Via Syslog.conf?

Mar 1, 2010

OS CentOS 5.4 I have a DNS server that is logging all named and dns requests to the chrooted named directory. By default named logs to /var/log/messages but I want to isolate all the dns queries and requests to separate files. I know I can add entries to /etc/syslog.conf to "roll" the logs and logrotate should pick them up but fuzzy as to the syntax. I don't know what "tag" to use in the first fieild. for example

# Log anything (except mail) of level info or higher.
# Don't log private authentication messages!

Here is the logging section of my named.conf

# pwd
# /var/named/chroot/etc


View 5 Replies View Related

Server :: Redirecting Boot Logs To Emails?

Nov 15, 2010

I am done with installing cron jobs for performing rebboting operations, now my requirement is sending the bootlogs to an email address.

View 1 Replies View Related

Ubuntu Servers :: Logwatch On 10.04 Dhcp?

Jun 16, 2010

i was wondering if there is anybody out there who has logwatch running and configured to just grab dhcp leases only

View 3 Replies View Related

Ubuntu Servers :: Make Logwatch (Postfix) Less Chatty?

Mar 12, 2010

Does anyone know the trick to getting Logwatch to make its entries a little less chatty and leave out the "Detailed" section of the Postfix report? I can't seem to tone it down and the daily reports I get include every recipient, host, etc., which is too much info to make a summary report useful.The first portion I get looks like this:

****** Summary *************************************************

9 *Warning: Pre-queue content-filter connection overload
2 SASL authentication failed
432 Miscellaneous warnings[code]....

This would be fine for a quick review that I do first thing. However,the "Detailed" portion that follows is over 2,800 lines long!

View 2 Replies View Related

Red Hat :: Servers Don't Send Out A Daily Logwatch Email?

May 9, 2010

Gidday, for some reason some of my RHEL servers don't send out a daily logwatch email (most do, but two don't) - and sadly I have no idea how to troubleshoot this.

Can anybody give some help/hints as to where/how I may troubleshoot this. I should add that these servers can/do send emails (I have some cronjobs that fire off emails upon completion of their jobs, so I know its not a sendmail config issue).

View 8 Replies View Related

Server :: Logwatch On Multiple Servers, Need Only Short/critical Output?

Apr 27, 2010

I have currently 7 servers that report logwatch every day.Fact is that it's lot of information to process every day, I would like to have as short as possible overview of events happened in last 24h is only critical/warning information . It would be + if all servers output could be gathered in 1 email

View 2 Replies View Related

Fedora Servers :: See Messages In Logwatch Report Then Cannot Find The Actual Log Entry?

Jan 23, 2010

I occasionally see messages in my logwatch report then cannot find the actual log entry. Is there any way I can have logwatch give a clearer report?an example:

Unknown Entries:
authentication failure; logname= uid=0 euid=0 tty=ftp ruser=a-specific-user


View 2 Replies View Related

Ubuntu Servers :: Logwatch / Sendmail - Error (grandchild 27612 Failed With Exit Status 127)?

Dec 14, 2010

I am using ubuntu server 10.10. Tried to create a cronjob for logwatch/sendmail, but without sucess.
I followed the instructions : URL

When I type :


sudo grep CRON /var/log/syslog

I get the result :

CRON[27611]: (CRON) error (grandchild #27612 failed with exit status 127)

View 4 Replies View Related

Software :: File /var/lib/named/var/named/reverse/named.zero Failed: File Not Found

Mar 14, 2009

Mandriva 2009, BIND 9.5.0-P2. Named will start however I'm getting the above error as well as these:

14-Mar-2009 15:45:37.084 general: error: zone 0.in-addr.arpa/IN: loading from master file /var/lib/named/var/named/reverse/named.zero failed: file not found
14-Mar-2009 15:45:37.084 general: error: zone 0.0.127.in-addr.arpa/IN: loading from master file /var/lib/named/var/named/reverse/named.local failed: file not found


Named shows to be running but with the errors above I know it's not running correctly. I also copied the above dir's over to /var/lib/named/var/lib/named which is where I 'believe' it's chroot'd at, though I could be wrong since I'm unfamiliar with chroot.

View 14 Replies View Related

Ubuntu Servers :: Getting Servers To Be Able To Send Emails?

Oct 28, 2010

I'm going to be setting up a couple of servers for some friends. I'd like them to be able to email me some information after they do some maintenance scripts via cron. I got my own server to send email using a tutorial I found but that involved using my personal gmail account. getting email sending working on ubuntu server with minimal fuss and account credential exposure?

View 2 Replies View Related

Ubuntu Servers :: What Is The Folder Named Enwiki In Hadoop

Jan 4, 2010

I download a gz pack from hadoop's official website. It's only 30MB. But my friend give me another package.It's more than 3GB...after decompressing,it's 11.3GB! and I found that the folder enwiki is about 11GB!! but I didn't find this folder in offical package. I wonder what this folder is used for? Is it indispensable?? 3Q~

View 2 Replies View Related

Ubuntu Servers :: Named Is Listening On The Wrong Port?

Jul 11, 2010


luke@media:~$ sudo service bind9 restart
* Stopping domain name service...


View 4 Replies View Related

Server :: /etc/named.conf:57: Open: /etc/named.root.hints: File Not Found

Apr 1, 2011

I am using Cent OS 5.5 and i want configure DNS, but while configuring bind i am getting below error.

#/etc/init.d/named restart Stopping named: [ OK ]
Starting named:
Error in named configuration:
/etc/named.conf:57: open: /etc/named.root.hints: file not found[FAILED]

View 2 Replies View Related

Ubuntu Servers :: Backup MySQL To A Date Named File?

Sep 23, 2010

I am manually backing up my server now with mysqldump and that works but I was wondering about mechanizing the process.

Nirvana would be to dump to a file named with the date

This way I have backups going back over time

View 9 Replies View Related

Fedora Servers :: Named Service Not Shutting Down

Mar 31, 2011

I am running named as a caching name server (package bind-9.7.3-1.fc14.x86_64 with config files exactly as supplied), and sometimes it does not shut down cleanly when I shut down the machine.The script /etc/ init.d/named tries to issue a "stop" command with rndc and that seems to fail most of the time; then it next uses the function killproc (defined in /etc/init.d/functions) which fails sometimes.I've hacked the named service script for now so that error messages are not hidden, but there is nothing reported.

View 2 Replies View Related

Ubuntu Servers :: Save All Of The Mail Sendmail Processes To A Named Pipe?

Apr 12, 2010

how I could save all of the mail sendmail processes to a named pipe?

View 5 Replies View Related

Ubuntu Servers :: Postfix Not Sending Emails?

Jan 18, 2010

I have a static IP from local ISP and my computer is configured with (LAN IP).

I have installed ubuntu server 9.04 and want to send emails from my server for which I've configured postfix. But I dont know what to do next.

My questions are:

1. Do i need to install DNS server for using postfix? If not, what should I install to send emails from this server?

2. Do I need to forward any particular port in my router?

3. If I dont have a fully qualified domain, what are the configurations I need to do to send emails?

View 1 Replies View Related

Ubuntu Servers :: Redirect All Outgoing Emails?

May 10, 2010

Here's what I'm trying to do to complete my rocking development server.

I would like all outgoing email on my Ubuntu server to be redirected to one email address (internal or external). I don't have any mail server installed yet (I'll probably use postfix unless you have another suggestion).

The reason I would like this to work is because I'm a web developer working on multiple projects. When I start working on a new project I would like to be able to test some of the forms and features in the web application (PHP) without having emails sent to the email address configured in the application. I can always change configurations but having my development server forward the emails would save me lots of trouble.

If one of my php application sends an email to: user1@domain.com, user3@domain4.com... I would like all of them to forward to myemail@domain.com

View 3 Replies View Related

Ubuntu Servers :: 10.04.1 Server Not Sending Out Emails

Oct 12, 2010

I have wordpress installed on my VPS, which is running 10.04.1 LTS. I appear to be having an issue whereby the server isn't sending out emails to new users, nor to myself when I get comments on the blog.I'm at a dead end for where to look next, because the settings are exactly the same as they were with my previous VPS (and they were always pretty generic), but yet it doesn't work.

View 5 Replies View Related

Ubuntu Servers :: Secondary Box To Receive Sent Emails?

Nov 23, 2010

Our main DNS resolves to a windows 2008 server box. What I want to do is have a secondary box with Ubuntu to receive sent emails (our@our.com). The problem my brain cannot get around is the DNS resolves to the windows server 2008 box(which host the website as well), how can we allow the email (ours@ours.com) to go to the Ubuntu email server even though the DNS name resolves to the windows server? We need the Windows Server but just Don't want it hosting our mail.

View 1 Replies View Related

Ubuntu Servers :: Postfix Config To Catch ALL Emails?

Jul 20, 2010

We have a number of servers at work, some production and some non-production. We run some java applications on these servers. At present these java applications send emails via an SMTP connection to our live email servers.

In production all is well, the java apps send emails to customers. However, in the non-production environments all emails must not be sent out. Instead they must end up in some kind of generic inbox.

We don't want to mess with the production setup at all and it isn't an option to lose the non-prod emails altogether. So on non-prod we can reference another SMTP server and send all emails there. So far I've set up a postfix, dovecot, squirrelmail email server which appears to work.

how do I config my new email server so that any emails sent from our non-prod server to fred@hotmail.com, bill@yahoo.com, jenny@gmail.com etc all end up in one inbox?

View 5 Replies View Related

Ubuntu Servers :: Sign Emails With OpenDkim - Postfix - 10.04 64x

Sep 30, 2010

Sign emails with OpenDkim + Postfix + Ubuntu 10.04 64x. How-to implement a domain key signature using Postfix Ubuntu based email server. Implementing a domain key will help your outgoing email not being marked as SPAM by the receiving servers that implement DKIM signatures verification., i.e. Yahoo, Gmail, etc.

View 9 Replies View Related

Ubuntu Servers :: Fail To Receive Emails From Other Domains?

Oct 7, 2010

My email server (Postfix + Courier + virtual dropboxes) can receive internal emails, but if the email is sent from the exterior (like Gmail or Hotmail) this email is returned to the 3?rovider (like Gmail):Delivery to the following recipient failed permanently:xxxx@xxxxxxx.xxxTechnical details of permanent failure:Google tried to deliver your message, but it was rejected by the recipient domain. We recommend contacting the other email provider for further information about the cause of this error. The error that the other server returned was: 550 550 sorry, no mailbox here by that name (#5.1.1) (state 14).

----- Original message -----MIME-Version: 1.0I've tried a lot of things, I've used this guide:http://flurdy.com/docs/postfix/My Ubuntu Server is 10.4 (Lucid), I had the same configuration with a previous Ubuntu version and everything was right.

View 1 Replies View Related

Ubuntu Servers :: Getting Emails From Failed Cron Jobs?

Jan 16, 2011

I recently set up exim so that I could test emails sent from my php sites. I have now been getting daily emails that either report errors from cron jobs or report a failure to send emails to root@cory-laptop or cory@cory-laptop about cron errors.I first of all don't want mail sent to the above addresses, because they are obviously not actual email addresses. Second, I'd really prefer not to get emails when an email failed to send to these addresses.

View 4 Replies View Related

Ubuntu Servers :: Delete Emails On Server Via Terminal?

Jun 13, 2011

We have a load of undeliverable emails backed up on the server. The problem we have is that the server we purchased from a well known host is rubbish. It does not matter how many times we use outlook to get the emails off the server, it just keeps timing out.Question I want to ask is:1) How can I view the number of emails on the server via the terminal2) How do I then delete these directly off the server via the terminal

View 1 Replies View Related

Copyrights 2005-15 www.BigResource.com, All rights reserved