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:
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
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
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
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
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
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
Apr 30, 2010
in Lucid ive been trying to get the mail applet to light up green by sending myself mail. Does this applet only light up when IMs r received or does this also work with evolution and if so what might i have done wrong in evolution, ive tried it with evolution open and evolution closed.
View 8 Replies
View Related
Jan 18, 2010
i'm not a techie but have tried my best to solve the issue without success. I have a static IP from local ISP and my computer is configured with 192.168.1.2 (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
Jun 21, 2010
i've got Evolution as an email client in Fedora 12.ve got only one IMAP account configured, which seems to be working OK. However, temporarily it is not sending emails. I write an email and hit send/receive and get error. "Error while sending message" ir seems that it is downloading messages, but not sending. There is a quick, but annoying solution to it: restart Evolution. As soon as it is restarted (close and ope the application) it is working OK for some time.
View 2 Replies
View Related
Jan 18, 2010
I have a static IP from local ISP and my computer is configured with 192.168.1.2 (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
Feb 25, 2010
I have an rsync backup job scripted and run by cron at 12:00 every day. It emails me the log from rsync. The problem is that it sends the same email every minute starting at 12:00 and ending at 1:00. I can't figure out what I did to cause this. It is not happening on my other ubuntu server.
Code:
# m h dom mon dow command
* 12 * * 1,2,3,4,5 /home/barry/bin/backup.sh > /dev/null
Code:
#!/bin/sh
rsync -aut /usr/share/library /mnt/backup/WordPress > /home/barry/backup.log
[Code]....
View 2 Replies
View Related
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
Sep 14, 2010
I have sendmail setup and it works fine sending emails to outside email addresses. When I try and send email to our internal groupwise server the mail never gets there and I get an error message in the log user unknown.
View 1 Replies
View Related
Nov 2, 2010
I have installed Ubuntu onto a machine and am trying to get it to receive fax's and email them to me! After spending days on this I have installed efax-gtk and have successfully set it up to receive fax's and email them to me!
Everything is working, I can send and receive fax's ok, But when I set it with the 'mail_fax' script, I dont get an attached file, All I get is a directory location of the temp file, Witch is obviously deleted by the 'mail_fax' script! No Attachment is in the email.
/home/dell/efax-gtk-20101103135335.pdf
Fax 20101103135335 received by efax-gtk attached
All I want is the attachment to be attached!
View 3 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
Apr 27, 2011
When I am using Mailutils to send messages to myself as a test, I get them but they are from <"ryandward@ryandward"@gmail.com> which is not a valid email address and I have no idea why my system is configured to send them from this address. This is indicative of some problem there is going on in my system.
View 9 Replies
View Related
Dec 13, 2010
I am using the Postfix SMTP server for sending emails. However I just did a default installation and subsequently someone is sending spam using my SMTP server. I would like some help on securing my Postfix server and to block these mischievous emails being sent from my server.
View 2 Replies
View Related
Jun 20, 2009
i have problem in sending emails using outlook on my client machines i.e XP i am getting the error Relay access denied. i am using fedora 9 as our server. with dovecot and postfix and fetchmail.it was working fine previously .
View 1 Replies
View Related
Jan 21, 2010
One of our postfix servers is for sending/receiving internal emails only. When a user entered a wrong recipient address, it will take almost an hour for the user to get the "Recipient address rejected" email. What can be done to let the user get the "Recipient address rejected" email quickier.
View 7 Replies
View Related
Apr 23, 2011
I have installed an SMTP server using ...
sudo apt-get install postfix
but I sill cannot send emails from my local machine to my yahoo account using ...
echo "Hi Steve que tal ?" | mail -s "test message" steven_matthews_uk@yahoo.co.uk
View 8 Replies
View Related
Jun 13, 2011
I just got control over a server that was hacked several months back. The other day we started receiving rejected emails sent from my server to a yahoo email address that is no longer active that contained users login information. I am trying to find the process that is sending these emails. So far its been like finding a needle in a haystack. The email that is being sent is appending the login information each time it is sent so there must be a local file that contains this information. I have tried using grep and find without any luck.
View 2 Replies
View Related
Jan 7, 2010
I have a 64bit linux server with 5 virtual hosts on it. When someone fills out a contact form on one of the sites...I get 15-20 copies of the same email. At first I thought it was the kids clicking send multiple times because the first emails were coming from the children's ministry "Email The Cast" section. But then I started getting multiples from the adult sites too. All contact forms are set to come to me.
What's stranger is that my registration section for one of the sites uses the SAME php script (different file) to email me a notification that someone has registered but I only get 1 copy of that.
View 1 Replies
View Related
Sep 5, 2011
Since we switched our server to Squeeze, I'm receiving emails from the cron about a mysql error (...can't use locks with log tables). But this is not the issue I want to talk about here. The issue is that since the executed command is: /usr/bin/mysqlcheck -uroot -pmypassword --all-databases --check-only-changed --silent which is a command that was automatically added to the cron by the mysql package (I believe), the password is sent in clear text in the email's subject. In my sense, this is a serious security issue (sending root password in email subject...)
I don't know at what level it should be corrected, but it seems to me like it should be corrected in the Debian distrib, shouldn't it ?
And for now, how can I hide the password in the emails I receive ?
View 1 Replies
View Related
Jul 1, 2011
I have two servers relavant here: mail.domain.com (1.1.1.1) - which is the nameserver and the mail server for domain.com. www.domain.com (2.2.2.2) - which is the www subdomain for domain.com domain.com (cname www.domain.com) - an alias for www.
The zone file for domain.com lists mail.domain.com as the MX server for domain.com. 2.2.2.2 is actually being served web pages as a virtual host. It's real hostname is www.anotherdomain.com. Mail for domain.com works pretty well, in general. However, if I attempt to send mail from www.domain.com (or its alias domain.com), I get "mail for domain.com loops back to myself" in the postfix logs. On 2.2.2.2 /etc/postfix/mail.cf has mydestination = www.anotherdomain.com, localhost. How do I tell postfix on 2.2.2.2 that mail for domain.com needs to be delivered to mail.domain.com?
View 1 Replies
View Related
Apr 25, 2011
I run Ubuntu with Unity. I see a Mail Notification applet in the tray that announces unread mail (from Evolution) and incoming IMs from Empathy. I uninstalled both programs, and replaced the IM program with Pidgin. (I don't have a preferred email client yet.)
Now Pidgin lets me know whether I have received new email messages from the services it is connected to. These notifications show up in the Buddy List window. Is there a way to get Pidgin to use the Mail Notification applet instead? I read in their site that "Pidgin was not designed to be an email client" but it would seem that all the pieces are in place to reroute those notifications to the mail notification applet.
Optionally, it would also be cool if when I clicked on those notifications, a browser window would open up to the webmail account the notification came from. (I have both Windows Live and Gmail accounts.)
View 1 Replies
View Related
Sep 29, 2010
How can one bring 'Windows Mail' emails into Thunderbird ? Both are on the same computer (Dual Boot)
View 14 Replies
View Related
Jan 10, 2010
I'm simply just having trouble sending mail with postfix. I have all my hostnames, rdns setup properly. I also have iptables open on port 25.
View 9 Replies
View Related
Dec 8, 2010
l to a group in Linux? for example, I want to send a notification mail to 20 people and I want to create a group of these 20 people and want to send them the notification
View 5 Replies
View Related
Jun 11, 2009
I am using Ferdora 6 OS on which I installed CVS. So whenever I make any changes in CVS, notification mail must be sent to few users.
View 2 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