Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
It could be automatic log reports or some other services trying to send information to root.
The bold section would be my guess, I often get e-mails from the system with the title "Logwatch for <hostname> (Linux)" I suspect it will be a similar service that is running in cron or the such that you have been hit by. Mine sends directly to root@<domainname> however, so I suspect at some point I had reconfigured it.
Last edited by r3sistance; 08-10-2010 at 01:50 AM.
Reason: showing what I am responding too
Oh okay, thats not from Nagios. Is from deamon (cron) to root user..
But why do they need to send to root user?
thank you
Hello,
There are various system services and daemons that mail errors or warnings to the system user that runs them. Most of them just write to log files and it's up to you to check your logs, but there are some that mail to the local user. Since you have set up your system to relay all mail to your gmail account it's best to include also the system mails.
Oh i see.
For a minute i thought something had gone wrong with my postfix again :X
Because Nagios have stopped sending email notifications to my gmail..
But i guess they have sent finish the mails so thats why they stopped sending..
Oh i see.
For a minute i thought something had gone wrong with my postfix again :X
Because Nagios have stopped sending email notifications to my gmail..
But i guess they have sent finish the mails so thats why they stopped sending..
Hi,
If you doubt that postfix is functioning just look at the log for errors, send a test mail from the command line:
Code:
mail -s "Testmail from your server" yourname@gmail.com
press CTRL-D and enter to send the mail, and check the logs again to see if any problems arise.
Now, for your question. That's the way Postfix works with queues, hold
incoming
active
deferred
and the qmgr daemon takes care of those queues, moving the messages from one to another if undeliverable to try later, moving them to hold if you tell the qmgr to do so using the postqueue command, and so on.
Better description from the man page of qmgr:
Code:
MAIL QUEUES
The qmgr(8) daemon maintains the following queues:
incoming
Inbound mail from the network, or mail picked up by the local pickup(8) daemon from the maildrop directory.
active Messages that the queue manager has opened for delivery. Only a limited number of messages is allowed to enter the active queue (leaky
bucket strategy, for a fixed delivery rate).
deferred
Mail that could not be delivered upon the first attempt. The queue manager implements exponential backoff by doubling the time between
delivery attempts.
corrupt
Unreadable or damaged queue files are moved here for inspection.
hold Messages that are kept "on hold" are kept here until someone sets them free.
everytime i saw the 'removed from queue', i thought it was something bad, like the send email couldn't be sent etc. haha(:
this:
Code:
Aug 10 19:22:49 ubuntu postfix/smtp[2752]: certificate verification failed for smtp.gmail.com[74.125.53.109]:587: untrusted issuer /C=US/O=Equifax/OU=Equifax Secure Certificate Authority
is nothing important i suppose? sorry keep asking questions >.< but i'm just doubtful..kept saw this everytime i sent a test mail. :X
in Nagios, once all notifications of downed services/hosts have been sent, it would stop sending right? because in my gmail i no longer receives any email notifications from nagios, even though those services are still down.
everytime i saw the 'removed from queue', i thought it was something bad, like the send email couldn't be sent etc. haha(:
this:
Code:
Aug 10 19:22:49 ubuntu postfix/smtp[2752]: certificate verification failed for smtp.gmail.com[74.125.53.109]:587: untrusted issuer /C=US/O=Equifax/OU=Equifax Secure Certificate Authority
is nothing important i suppose? sorry keep asking questions >.< but i'm just doubtful..kept saw this everytime i sent a test mail. :X
in Nagios, once all notifications of downed services/hosts have been sent, it would stop sending right? because in my gmail i no longer receives any email notifications from nagios, even though those services are still down.
thank you once again!
Hello,
I wouldn't say that the certification error is not important. If you receive mails from your system then you can solve that error without any pressure. I'm not sure however why you get that error.
About the Nagios notifications not going out, if the services are down then you should receive the notifications. If you don't then that's bad.
Is Nagios running OK? To what address and as what user do you send the notifications? Force a notification and check the log right after that to see if it gets send out by postfix.
I don't think Nagios is running OK? Because most of the services are still down, and i no longer receives email notifications from nagios. I wonder why. They simply just sent once and after that stopped?
It's been some time since I used the 'plain' version of Nagios (I have Groundwork installed which is build around Nagios since my coworkers don't have Linux experience) so I'm not sure how to force notifications with it.
Are you sure you set your notification and check periods correctly so that checks are performed at regular intervals?
I believe you can check if Nagios is running with:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.