CentOS 5 :: Logwatch Not Sending Reports?
Aug 31, 2010
When I installed Cent before I got my logwatch messages sent to me. for somreason this new server I built I am not getting them. can mail off the server and there is no mail in the Q or in root. I also put in a .forward file in my root to mail to my external account and it works fine. I get mail from fail2ban and denyhosts but not the logwatch.Thoughts on what I could be missing? I check the link and the files are all there. I changed the config file to give me a High level of detail. Thats about it. If I use the command line for logwatch it sends mail fine. logwatch --detail high --logfile messages --mailto yourname@domain.com
View 6 Replies
ADVERTISEMENT
Nov 4, 2009
My ISP blocks outgoing email if it does not login properly with a valid account. I successfully configured sendmail to use SMART_HOST and confAUTH_OPTIONS with confAUTH_MECHANISM set to LOGIN PLAIN.
It successfully sends email because I tested it with evolution sending through 127.0.0.1, but I need to specify myacount@mydomain.com as the email address for root.
But it doesn't work for logwatch because it sends as from root@localhost.localdomain, and my ISP's smtp server rejects it. The message I get back in root@localhost account is the following:
----- Transcript of session follows -----
... while talking to smtp.mydomain.com.:
>>> MAIL From:<root@localhost.localdomain> SIZE=581 AUTH=<>
<<< 550 5.7.1 Client does not have permissions to send as this sender
554 5.0.0 Service unavailable
I thought that I should masquerade all emails from this domain, so I configured sendmail as specified in [1] section "24.3.1.4. Masquerading", but it doesn't work. It seems that masquerading in sendmail is broken or something is wrong in the documentation.
[1] [URL]
I have sendmail 8.13.8-2 and centos-release-5-4.el5.centos.1.
Is there a way to specify the "From:myacount@mydomain.com" in logwatch ? or Is there a way to make it work the masquerading in sendmail so I can masquerade everything as coming from a specific account?
View 4 Replies
View Related
Apr 10, 2010
I've installed Logwatch 7.3.6 via the rpm on my CentOS 5.4 server. The issue is I'm getting basically empty reports from logwatch. The only two sections which have any information are samba and diskspace.
The only default options in the config file I've modified are: Code: print = No output = html I'm suspecting the issue has to do with the fact that the as-logged host name doesn't match my current host name. However, I've tried manually changing this on a few entries so they match but they didn't show up in the report. According to the config file, the default for option HostLimit is "No" -- so Logwatch should not care what hostname it sees in a log file, right?
View 1 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
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
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:
Code:
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
Apr 20, 2011
I have a server, running Centos 5.5. It runs daily rkhunter and logwatch. From both I get a daily mail.
I have a desktop computer, running Fedora 13 (almost 14...). It runs also a daily rkhunter and logwatch. But I get ONE mail from logwatch, which contains the result of rkhunter.
On the server, I want also only mail from logwatch, containing the rkhunter results. But so far, no luck.
How can I get the rkhunter results in the logwatch mail on my Centos server?
View 2 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 6, 2009
how do I decipher the following entries from sendmail log:ruleset=check_relay, arg1=[120.2.197.187], arg2=127.0.0.11, relay=[120.2.197.187], reject=553 5.3.0 Rejected - your IP is blacklisted by http://www.spamhaus.org: 1 Time(s)
View 3 Replies
View Related
May 9, 2011
I got the following task from my boss. I have to find out if there is some alternative tool for create reports from Squid except SARG. Now, we use SARG, but my boss told to me, that the main problem of SARG is, that SARG generate huge amount files, which cause problems during migration our servers. He told to me the following condition for change of current tool (SARG):
* standard package of Debian
* generate less amount of files, optimal is to save reports to the database
So I would like to ask you if you know about some tool (I can not find some by google)... and the best would be if you told to me some practical experiences.
View 1 Replies
View Related
Jul 24, 2009
I've got an odd one, running the CentOS 5.3 kernel, I'm experiencing lost packets on one of the two NICs when tested with ping. In this particular case, it's the internal NIC that causes the problem, pings from the CentOS machine to the public network over the external NIC never loses packets.(internet)<-->CentOS<--> (LAN) <--> desktop
- CentOS can ping the internet with no packet loss
- CentOS loses packets when pinging the desktop(s)
- Desktops lose packets when pinging the CentOS box
- Taking the LAN switch out of the equation still results in lost packets
- When the LAN NIC on the CentOS box "acts up", all desktops start losing packets
I've swapped out the NIC a few times for different makes/models, and I'm still getting lost packets to/from the internal network. So, I'm thinking that there's something squirrely going on higher up in the network stack. But evidently, not enough to log anything to the console or into the log files.At the moment, I'm leaning towards it being an issue with the nForce 750a SLI chipset. But it's odd that it only affects the LAN card and not the WAN card. I've even swapped the positions of the two NICs, and the problem persists on the LAN card.The other possibility is that iptables is eating packets silently, but in a random fashion.
View 1 Replies
View Related
Aug 3, 2011
I am using CentOS 5 and have Jasper Reports installed and working with Apache ANT and Java JDK. Everything is building/running successfully, but when I do an "ant pdf" on one of the sample reports, it says "pdf BUILD SUCCESSFUL", but I can't find where it outputted to! I have tried the find command on everything under my /home/ directory.
View 1 Replies
View Related
Aug 24, 2009
cannot find what should I do, which conf should I edit to make it work. I cant send email from command line.
Is it necesary to have mail server setup? Hope not, just want simple txt mail sent. I tried MUTT and MAIL.
View 1 Replies
View Related
Feb 13, 2010
I want to send mail to potential customers from my localhost server in my SOHO. I have a web site hosted with a company called geek hosting [URL], so I have access to the mail services through them... I want to their mail server to push things out to the world form my localhost server.
I do have a registered domain name which the hosted site runs under
the domain name for my centos 5.4 server is localhosthost.localdomain.
View 2 Replies
View Related
Dec 23, 2010
I am very new to CentOS and running a server in general. I managed to get a server setup with CentOS, and it's running a wordpress driven social networking site. Everything is fine except sometimes my server won't send registration/activation emails to some email addresses. This is a huge problem because people signup but then can't activate their account. I don't understand why its sending some and not sending others based on the email domain? The guys at wordpress said "it's that your server does not support SMTP or at least wp_mail() in its normal form" but that doesn't mean much to me.
View 3 Replies
View Related
Apr 30, 2011
It's my first post and think not last here. I'm new to Linux system ( had a bit of unix programming at school but forgot already ). Please, take a good care of nooby me Now, let's get to the point
I have CentOS installed on one of my machnce, its my PHP development server. I also wanted to run a Minecraft server on it. I would like to skip autostart with init.d thing and be able to control it's run manually, but remotely. Thing is, when i log via putty to server and start server the server output is in terminal. When I close puty, ran application closes also. So I need to have putty window ran all the time.
So, since many programs can be run as background task (like httpd). Is there a way to log via putty. Start application and send it to process... log out of putty ( and application doesn't shut down with putty)?
Also, would be nice if I was possible to log to putty and switch to that application, so i could see server output, info and Issue commands. Basically, I want to start a service and be able to manage it via putty. and not close it when i terminate putty.
PS: I have installed Windows on CentOS server. Is there a way to issue a system start without loading whole GUI thing? When I was installing it I thought it would be easier to manage it with GUI, but now loading it only eats system resources and i unplugged monitor and mouse nad manage it only from Putty
View 9 Replies
View Related
Jul 23, 2009
I have postfix sort of working correctly. postfix can send email to the internet but it doesn't want to send email to my local exchange server. What I need is for postfix to send emails directed to @xyz.com to my exchange server instead of itself.
My setup
mail.xyz.com - exchange 2003 server
www.xyz.com - centos 5.3 server with postfix
www.xyz.com can send emails to my hotmail.com account so that part works correctly. www.xyz.com can't send email to username@xyz.com. postfix seems to be delivering the email to itself and not the exchange server.
How can I tell postfix to send the @xyz.com emails to my exchange server?
Here is a sample of my /var/log/maillog
Jul 22 15:43:43 list postfix/smtpd[9802]: D63168604A3: client=localhost.localdomain[127.0.0.1]
Jul 22 15:43:53 list postfix/cleanup[9805]: D63168604A3: message-id=<20090722204343.D63168604A3@www.xyz.com>
[Code].....
View 3 Replies
View Related
Mar 27, 2009
I'd like to have anything that tries to send mail locally on my machine (including crontab reports for instance) to be handled by my ISP's smtp server instead of my machine acting like it's own SMTP server. I've spent around 15 hours trying to figure out how to do this and I keep either getting into things that I don't understand, or hitting brick walls (for instance, I found nullmailer, but after installing it, it seemed like it would only work on Unix) Is there an application like nullmailer which I can use as my MTA to forward all internal mail to a different SMTP?
View 3 Replies
View Related
Jan 7, 2010
One of my mailservers running postfix has suddenly stopped sending mail and has been generating the following errors:
Jan 7 12:03:08 postfix/sendmail[3560]: warning: premature end-of-input on /usr/sbin/postdrop -r while reading input attribute name
Jan 7 12:03:08 postfix/sendmail[3560]: fatal: root(0): unable to execute /usr/sbin/postdrop -r: Success
[Code].....
Things I have tried to fix this problem, but didn't work.
1) Stopped postfix, uninstalled and reinstalled.
2) Did a complete filesystem relabel with a touch /.autorelabel and reboot.
3) Did a restorecon -F -R on /etc/postfix, /var/spool/postfix and /usr/sbin/post*
Nothing above has worked and have no idea why with selinux disabled postfix works and with it on it fails.
View 6 Replies
View Related
Jul 3, 2010
i am using centos 5.4 (5.5?) gnome on multiple machines in a local network.is there a program available that does the following:you type a message in a 'note'screen on one computer and can send it to one (to choose) or all machines in the local network that are online, so you can read the message on these other machines screens.
View 6 Replies
View Related
Dec 30, 2010
We have two Sangoma U100 products connected to our Acer Aspire Revo 360 (runs on Atom board). The Sangoma USB units provide connectivity to PSTN. Occassionaly and probably in a pattern they have failed every monday for the past month or so.
This is the OS version of CentOS I am running: Linux pbx.local 2.6.18-194.8.1.el5 #1 SMP Thu Jul 1 19:07:06 EDT 2010 i686 i686 i386 GNU/Linux I am wondering if this is a driver issue, ACPI sending computer or ports to sleep, or if it's something else? Any pointers would be appreciated. Following is some portions of dmesg output:
sdlausb: Attaching sdlausb on 2 (BusId 2-1)
sdla-2-1: USB device is connected!
sdla-2-1: USB device is disconnected!
sdla-2-1: USB device is connected!
[code].....
View 4 Replies
View Related
May 23, 2011
i have centos 5.5 and qmail installed in it this qmail is used for internal mail , we are not send mail from internal to external ids i.e gmail, yahoo etc, this qmail intalled on 192.x.x.x ip server this ip is not live ip but my problem is that from few days mail are sending from internal to external like indiatimes ,yahoo etc
View 1 Replies
View Related
Oct 29, 2010
I set up a DNS server, and it works fine when being queried from other hosts.But if I query it from localhost (by using nslookup), it reports error:
======================================
** server can't find www.example.com: NXDOMAIN
======================================
[code]....
View 5 Replies
View Related
Oct 9, 2009
this is sasidhar. we are getting problems with sendmail. we have a site, when user registers we are sending a confirmation mail to user. The problem is some times it is not sending mails to users. The user accounts are valid.This is what I am getting reply to my mail
[Code]...
View 1 Replies
View Related
Jan 23, 2010
i'm using James on Cent OS 5.4. NOw we figured out, that our firewall changes the signed mails on the signing gateway, which is the Cent OS Server with James. So... the question ist, how do i configure James to send mails out directly... not passing it to the firewall?
View 3 Replies
View Related
Jan 18, 2011
I have configured mail server with postfix with dovecot with no encryption:
When connecting with Thunderbird imap is working fine. When sending email from another domain to this domain again it is fine. But when I want to send mail from my domain to another it gives me error and this is /var/log/maillog:
Quote:Jan 18 18:23:09 srv1 postfix/smtpd[3991]: NOQUEUE: reject: RCPT from unknown[95.81.67.120]: 554 5.7.1 <Recipient email>: Relay access denied; from=<Sender> to=<Recipient email> proto=ESMTP helo=<[127.0.0.1]>
View 1 Replies
View Related
Mar 4, 2010
how to configure Logwatch? where can I find its config file? I never configure it but I received email everyday from Logwatch@mydomain.com..
View 1 Replies
View Related
Jun 16, 2009
Does logwatch run automatically, or do I need to make a cron entry for it? How can I reset logwatch? When I run logwatch from the command line twice, it sends the same email twice.
View 4 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
Aug 11, 2009
I am receving emails from logwatch but when I setup my own mail script using mutt, the script succeeds but no email is received.Any ideas what the difference is between the two mail methods?
View 14 Replies
View Related