CentOS 5 :: Would Like A Proftpd Log To Trigger Logwatch To Send Email?

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


ADVERTISEMENT

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

CentOS 5 Server :: Cannot Send Email - Bad Address

May 5, 2010

I've come across a strange issue where any email address that I email with mail returns an error "Bad Address"

Fairly new Centos 5.4 Install, sendmail is the MTA.
Linux 2.6.18-164.el5 #1 SMP Thu Sep 3 03:28:30 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux
DNS is working fine so there isn't a problem.
[root@hn1 /]# host -t mx iol.co.za
iol.co.za mail is handled by 10 mg1.iol.co.za.
iol.co.za mail is handled by 10 mg2.iol.co.za.
iol.co.za mail is handled by 30 vulpix.iol.co.za.

Yet when I try to use mail it fails:
[root@hn1 /]# which mail
/bin/mail
[root@hn1 /]# ls -lrth /bin/mail
-rwxr-xr-x 1 root mail 83K Jan 7 2007 /bin/mail
[root@hn1 /]# mail -s "test" bob@mydomain.co.za
Bad address
Nothing in the maillog.

View 1 Replies View Related

CentOS 5 :: How Send Email Of PHP Code From CLI Mode

Nov 30, 2010

i m using code for sending email through GMAIL SMTP as given below... can any one tell me that how i can send EMAIL through Centos 5 CLI mode.... i which folder places i save my PHP files or any other supporting files etc.in graphical mode we use webbrowser but in Command line how i can use this project....
and also please tell me how i can run firefox in CLI mode

View 1 Replies View Related

CentOS 5 Server :: How To Send Email Outside LAN Using Postfix

Jun 2, 2011

How can I send email outside my LAN using postfix? Actually, I can received email from outside like yahoo. hotmail etc.. But when I am trying to send outside in my mail server here is the error I got..

Jun 2 21:19:51 microtontech postfix/smtp[4434]: connect to k.mx.mail.yahoo.com[98.139.54.60]: Connection timed out (port 25)
Jun 2 21:20:10 microtontech postfix/smtp[4435]: connect to

[code]....

I try to telnet yahoo.com and smtp.pldtdsl.net 25 here are the result, but when I try to telnet smtp.pldtdsl.net its showing trying only.. I checked if my ISP is blocking port 25 isn't. (I forgot what is the website I used to check if my ISP port 25 is block) I try already to used in my relayhost the [URL] but the email I sent still bouncing..But I remember last time when I was installed Hmailserver in my Win2K3 machine I sent email outside but I cannot received..

[code]....

View 3 Replies View Related

CentOS 5 :: How To Config Sendmail So Can Use Mail To Send Email

Aug 11, 2011

I'm trying to setup notification function for the Nagios Core which use Mail to send notification.I got an account from Rogers. I have SMTP server, email account with authentication information.My Nagios server is in a workgroup, there is now domain assigned to it, I just use nagiosserver.localdomain in /etc/hosts.I added Rogers SMTP server in /etc/mail/sendmail.mc and Future (AuthInfo) I created an /etc/mail/AuthInfo and add AuthoInfo:smtpserver "U:user" " P: pwd" "M:Plain"I added smtp server in /etc/mail/access for RelayI added root@nagiosserver.localdomain on /etc/mail/virtusertableI regenerated sendmail.cf by user m4 commandrestart sendmail service.When I ran: Mial -s test nagios4ccs@rogers.comIt did not prompt any error message , in the maillog it says the message is queued but It can not be sent out

View 3 Replies View Related

CentOS 5 Server :: Configure (which File) To Be Able To Send Email Out - From 5.3 Distro?

Jun 3, 2009

I'm not trying to setup a email server. ;) Firewall is set to disabled. SELinux is set to disabled.. How can i configure (which file?) the server to be able to send email out? When I try "mail -s testmail myemail@[URL]" and enter some text and then CTRL+D.. and return, I get command prompt again..

[Code]...

View 3 Replies View Related

CentOS 5 :: Check Directory For New Files And Send Email Alert

Sep 12, 2009

i have CentOS 5.2 based server running openssh, which gives sftp service to the outside users(from internet), the users from some public ip-addresses uploads and download files from sftp-server directories. I want that whenever a user uploads a new file in certain directory of server, the server should send me an email alert

View 1 Replies View Related

Server :: Can't Get Logwatch To Email A Daily Summary?

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

CentOS 5 :: Send An Email To A Local Mail Server For System Monitoring

Dec 27, 2009

I have a CentOS 5.4 nas box that I want to monitor.

I believe I can setup mdadm to mail me when there are issues by addin the following line to /etc/mdadm.cong Quote:MAILADDR root

View 1 Replies View Related

CentOS 5 Server :: Way To Allow Certain Email Address / Local Network To Send Out Without Authentication?

Mar 4, 2010

i have a small issue, to make our network more secure, i now require outgoing email to require authentication. Now the problem..i have a automated mailer that does not have the option to authenticate. is there a way to allow a certain email address or the local network to send out without authentication? If i cannot do this for a single email user to allow them through with authentication, how would i remove the authentication paramaters in the postfix smtp..

View 2 Replies View Related

Software :: Secure Way To Handle Logwatch Reports / Rather Than Using Email?

Oct 13, 2009

Is their a more secure way to handle logwatch reports, rather than using email?

View 5 Replies View Related

General :: Logwatch Configure To Use SSH Tunnel Into Mail Server To Send Log Reports

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

General :: Command Based Email Client To Send Email Through Secure Smtp?

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

Server :: Allow Unsubscribed Email Address To Send Email To Mailman List?

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

Software :: Apache Virtual Host Send Email Without Email Server?

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

OpenSUSE :: Sending Email Using PHP / Application Fails To Send An Email?

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

Server :: Email Notification - Heartbeat To Send Email When The Slave Server Becomes The Master?

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

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 View Related

Security :: Centos 5.5 / Rkhunter Result In Logwatch Mail

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

CentOS 5 Server :: Read Sendmail Log In Logwatch (what Is Arg1 And Arg2)?

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

CentOS 5 Server :: Sending Logwatch To External Mail Address?

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

Red Hat / Fedora :: How Send Email Via CLI

Nov 30, 2010

i m using code for sending email through GMAIL SMTP as given below... can any one tell me that how i can send EMAIL through Centos 5 CLI mode...in graphical mode we use webbrowser but in Command line how i can use this project.

View 1 Replies View Related

CentOS 5 :: Trying To Get ProFTPD With ClamAV Working?

Sep 16, 2010

I am trying to install proftpd from source with the mod_clamav-0.10. I am using CentOS 5.5. I would love to get proftpd with clamav working. I had it installed previously through yum and uninstalled it before trying to do reinstall it through source.
yum erase proftpd

View 7 Replies View Related

Ubuntu :: Send An Email To More People?

Dec 21, 2010

i need to send a list of tasks each morning from a document to my team and i wanna do this from home; the thing is that i can only access my pc via ssh and i have to type the command for each person and takes to damn long. What i want is to send the document to a list of emails using only one command or a script.

View 2 Replies View Related

General :: Cannot Send Email Via Mutt?

Mar 24, 2010

I use CentOS 5.3 and I am trying to send a simple email through mutt.My command is:echo "test" | mutt -s "test email" myemail addressI have no errors displayed but the email never goes out of the machine. Also the /var/log/maillog is empty.I can see the queued email with:sendmail -bpSo emails never go out.This PC is connected to a network which the gateway is another Linux machine which is configured to be the default gateway in my /etc/resolv.conf as nameserver.

View 2 Replies View Related

General :: How To Send Email From /usr/bin/mail

Jan 15, 2011

I use gmail for all of my emailing needs but stumbled upon linux counter at counter.li.org. Now I registered on the site and downloaded the machine-update script from the site. So I ran it and it collected the required data. But when I run ./machine-update -m as they have told, I guess no mail gets sent as I have to configure the mail program. How do I configure it so that it sends mail from my gmail address using stmp?

View 1 Replies View Related

General :: Send All Email Remain?

May 29, 2010

how do i send out all email remain in linux to gmail?OS: CentOS 5

View 4 Replies View Related

General :: Configure For Email To Send?

Apr 18, 2011

how to configure linux for email to send andplz alos guide me what will be the command for
sending? am using oracle linux version 5.5.19 enterprise edition.

View 4 Replies View Related

General :: PHP Script To Send Email In OS?

Apr 16, 2010

I want a php example script to send email in linux.I know that it could be done using mail() function but i dont know how to use it.

View 3 Replies View Related







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