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
ADVERTISEMENT
Oct 12, 2010
I have a squid proxy server (which I am very new too) which all traffic from my office goes through. The proxy itself is working fine, but I can not get logwatch to email me a daily summary. logrotate seems to be throwing an error:
# logrotate /etc/logrotate.conf
error: squid:1 duplicate log entry for /var/log/squid/access.log
My /etc/logrotate.d/squid file is below... My access logs are in /logs/squid not in /var/log/squid.
[Code]...
View 1 Replies
View Related
May 8, 2010
I have CentOS 5.4 running my file server. I finally got proftpd to work. I configured logwatch to send me email on a daily basis however I would like to be sent an email immediately when the proftpd log file changes. Is this possible?
View 5 Replies
View Related
Jun 16, 2010
I host a webpage from my PC, and I was having all kinds of issues trying to get it to send emails. These steps send and receive the email through a gmail account. This page saved me.
Here are the simple steps
0. get a gmail account
1. install pear
Code:
sudo apt-get install php-pear
2. Install pear packages:
(I'm not really sure what this does, but I did it, and everything is working)
Code:
sudo pear install -o Mail
sudo pear install -o Net_SMTP
3. run php script to send email.
Code:
<?php
// Include the Mail package
require "Mail.php";
// Identify the sender, recipient, mail subject, and body .....
View 4 Replies
View Related
Mar 14, 2009
How to sending email from command line? Im just try send email look at below:
Code:
[root@fedora sniper]# echo "test" | mail -v -s test tazmanic76@hotmail.com
tazmanic76@hotmail.com... Connecting to [127.0.0.1] via relay...
220 localhost.localdomain ESMTP Sendmail 8.14.3/8.14.3; Sat, 14 Mar 2009 15:50:43 +0800
>>> EHLO localhost.localdomain
250-localhost.localdomain Hello localhost.localdomain [127.0.0.1], pleased to meet you
250-ENHANCEDSTATUSCODES
250-PIPELINING
[Code]....
View 4 Replies
View Related
Jan 9, 2010
I've set up a mail server using Postfix + dovecot. It works just fine sending email to users in my domain. However, I can't send email to external domains (like gmail, yahoo, etc) different than mine. I've tried sending from a remote connection using Evolution and I get the following message on mail.log
Jan 8 10:45:20 mail postfix/smtpd[14911]: connect from unknown[]
Jan 8 10:45:21 mail postfix/smtpd[14911]: NOQUEUE: reject: RCPT from unknown[]: 550 5.1.1 <lobomacz@gmail.com>: Recipient address rejected: User unknown in local recipient table; from=<user@mydomain.com> to=<lobomacz@gmail.com> proto=ESMTP helo=<[10.24.4.230]>
[Code].....
View 2 Replies
View Related
Nov 24, 2010
I can only use plain text to send email via my postfix, how can I use html type to send email, is it something wrong?
View 4 Replies
View Related
May 3, 2011
I used this tutorial to setup to setup iSpconfig postfix courier: [URL] but i cannot send or receive email:
[Code]....
Basically when i create users in ISPconfig, something goes wrong, mysql is running and i have postfix-mysql installed and running too.
[Code]...
View 2 Replies
View Related
Jul 1, 2011
Is there a way to send an email from a batch script. I want to send the output from a script to an email address, possibly a couple of email addresses depending on the output.
View 3 Replies
View Related
Sep 8, 2010
After a reboot of my VPS, I keep getting the following error when sending email to my domain (hosted on Google Email). I can send to other email addresses but my own. So it seems like postfix thinks all mydomain.co.nz is to be sent internally?
Sep 9 09:25:05 mydomain postfix/pickup[20784]: 0316C3CC68: uid=1000 from=<sidb>
Sep 9 09:25:05 mydomain postfix/cleanup[20806]: 0316C3CC68: message-id=<20100908212505.0316C3CC68@mydomain.co.nz>
Sep 9 09:25:05 mydomain postfix/qmgr[20783]: 0316C3CC68: from=<sidb@mydomain.co.nz>, size=326, nrcpt=1 (queue active)[code].....
How do I tell postfix that mydomain.co.nz is to be sent to Google email server?
View 2 Replies
View Related
Oct 2, 2010
I want to setup an email client in order to send/receive emails, but since i am experiencing some issues with my ISP, i decided to setup an SMTP server with Postfix on my machine.The problem is that i can receive emails but i can not send.I read almost every thread in here refering to Postfix, but i could not find the problem on my configuration.So here it is..
Code:
# See /usr/share/postfix/main.cf.dist for a commented, more complete version
# Debian specific: Specifying a file name will cause the first
[code]....
View 6 Replies
View Related
Oct 13, 2009
Is their a more secure way to handle logwatch reports, rather than using email?
View 5 Replies
View Related
Jan 27, 2011
Can anyone tell me what the pros and cons are between heirloom-mailx vs mailutils? This is for ubuntu 10.04 LTS. AT this point my only purpose is to use the mail command line program to occasionally send log output to email aliases.
View 2 Replies
View Related
Feb 28, 2011
We have following setup,
1. Webserver (Centos 5.5)
2. Mail server (Centos 5.5)
We have configured autossh successfully to create/manage the ssh tunnel into mail server in order to dump all emails to localhost port.
To auto start autossh in boot time we have included following into /etc/rc.d/rc.local,
Quote:
So whenever our web application wants to send out emails it dump all emails to localhost:33465 port, easy piecy, all are working great
Now we have a requirement that logwatch reports should get delivered via the same ssh tunnel rather than installing postfix and configuring as a relay.
In logwatch is there a way to achieve that?
View 4 Replies
View Related
Jul 26, 2010
In my Windows environment, I use email client such as Microsoft Outlook to connect to our email server to send email with the following configuration:
Incoming server (POP3): 995 - (requires with SSL)
Outgoing server (SMTP): 465 - (use encrypted connection SSL)
[code]....
And the mail server requires user ID login and password.how do I setup a text command based email client in my Linux (Centos 5.1) to send out email through the existing email server above, which is in another machine? The email client has to be text command based because I need to use command line to send notification email from anothar application installed in my Linux (Centos 5.1) Since the email client will only be used to send email notification, I don't require setting up of an email server in my linux.
View 2 Replies
View Related
Jul 1, 2010
is there a way to allow unsubscribed email address to send emails to mailman list without having to manually set a filter for that email address?
View 1 Replies
View Related
Jun 3, 2009
Debian 5, apache 2.2 I've got Apache up and hosting multiple sites. Each site will have a php contact me page that will simply dump an email to a fixed address. What program should i be using to accomplish this? I've used nullmailer before but that assumes you have a fixed smarthost somewhere which I don't.
View 6 Replies
View Related
Feb 23, 2010
I'm attempting to send email used a textbook PHP application. The application fails to send an email.Do I need to setup an email server to get the ap to work?Right now, I'm getting email through Kontact via my web host, Yahoo mail and Google mail.
View 2 Replies
View Related
Oct 25, 2010
I use the following code to send make-up file dialy via sftp with expect. When I run it from command line, it has no problem sending to the remoteSERVER side, but when it is running via crontab task, it did not do the put, so did not execute the batch file defined in -b option.
#!/bin/bash
#!/usr/bin/expect
curDate=`date +%Y%m%d`
filename="$RESULTS/make-up.${curDate}.001"
newname="make-up.${curDate}.001"
remoteDirName="/Inbound/PPP"
tempcmd="$RESULTS/tempcmdFiles"
[Code]...
View 1 Replies
View Related
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
May 3, 2010
Have someone used Linux heartbeat to send email when the Slave server becomes the Master? I've read I can configure the MailTo under.
But I really don't know how to do it. I basically need my primary server to send an email when it becomes inactive and all the activities are manage by the secondary node.
View 7 Replies
View Related
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
May 31, 2011
I am running on a laptop and cron.daily is set to run at 0625 So I wonder what happens if my machine is not turned on at that time.. At that rate it could also be off for the other periods as well (weekly, monthly) Is there solution that will allow them to run once they are online after the appointed time? using a cron entry that runs every 15 or 5 or 1 minute.
View 2 Replies
View Related
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
View Related
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
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:
vsftpd:
Unknown Entries:
authentication failure; logname= uid=0 euid=0 tty=ftp ruser=a-specific-user
[code]....
View 2 Replies
View Related
Dec 31, 2009
I have an email setup where all of the emails from our email host is downloaded to our Linux server using Fetchmail. Then some of the incoming emails are sent to an MS exchange server (server1.domain.com) using Postfix. What i want to do is to send a copy of all emails to Another server (server2.domain.com) for redundancy.Can postfix be configured to send copies out to both?
View 1 Replies
View Related
Dec 21, 2009
I have recently setup a new mail server and have simulated sending and receiving on the new email server. The new email server will replace the primary one.I would like to setup the new email server in parallel with the existing one.This way i can observe issues that might occur and be aware of what could go wrong. I want to received mail to be delivered to both mail servers at the same time.I would like to use postfix, exim i find a bit to difficult to understand.I have thought of using transport maps, the only problem is that you can only forward mail to one server at a time using transport maps.I think recipient_bcc_maps and sender_bcc_maps could work, i would just like ideas of how i can do this.
View 5 Replies
View Related
Feb 21, 2011
I'm with Ubuntu server 10.10. I created a script and put it in /etc/cron.daily. But looks it doesn't run (it didn't generate any log). The following is all I did.
Code:
root@chonseng1:/var/log# cat /etc/crontab
# /etc/crontab: system-wide crontab
# Unlike any other crontab you don't have to run the `crontab' command to install the new version when you edit this file and files in /etc/cron.d. These files also have username fields, that none of the other crontabs do.
SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
# m h dom mon dow user command
17 * * * * root cd / && run-parts --report /etc/cron.hourly
25 6 * * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )
47 6 * * 7 root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.weekly )
52 6 1 * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.monthly )
#
root@chonseng1:/var/log# ls -l /etc/cron.daily/ntpdate
-rwxr-xr-x 1 root root 52 2011-02-18 13:22 /etc/cron.daily/ntpdate
root@chonseng1:/var/log# cat /etc/cron.daily/ntpdate
ntpdate ntp.ubuntu.com >>/var/log/ntpdate.log 2>&1
View 7 Replies
View Related
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 :
Quote:
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