How Can I Monitor Emails From Php/asp Sites
Mar 29, 2007
I have an MSWIN 2003 hosting server with 350 working domains.
The problem is that I receive hundreds of failures of emails that get sent from my server..to some random email addresses.
I try to find a way to locate the website with the script, that spams but logs dont help at all.
The mail server is Mail Enable.
The messaged I get back wont help either..
they are something like this:
Message contents follow:
Received: from win12 ([127.0.0.1]) by myserver.tld with MailEnable ESMTP; Thu, 29 Mar 2007 01:51:11 +0300
Date: Thu, 29 Mar 2007 01:51:11 �0200
Subject: Verify Your Account Details
To: deeandra@aol.com
From: U.S. Bank <internetbanking@usbank.com>
Reply-To:
If I try to search or grep all the files hosted in the server that include some word like "Account Details" it will not find anything...
View 3 Replies
Apr 30, 2015
Started after last update 12.0.18 Update #44 (on CloudLinux): I can send mail wia created mailboxes, but sites can not send mail, contact forms say "Failed to send your message." maillog file also do not indicate sending any messages from domains. Wordpress restore password claims:
"The e-mail could not be sent.
Possible reason: your host may have disabled the mail() function."
php.ini is default:
safe_mode = Off
disable_functions = is empty
The issue about not sending mail from domains was - old versions of LVE anf CageFS are incompatible with latest plesk update, updating them caused all sites in Cagefs to throw error 500 with log string: "SecureLVE jail error Invalid regexps: no match for path to base home directory". It was fixed by changing cagefs.base.home.dirs regexp to the real sites folder location. Enabling cagefs back removed one of the files it shouldn't:
"Removed file /var/cagefs/81/xxx/etc/php.d/soap.ini"
So be carefull to place necesssary files back.
For now everything works.
Click to expand...
Click for original message
View 8 Replies
View Related
Sep 4, 2007
Since Jan 07, one of our servers has been sending thousands of emails to ne.jp hosts.
Eg from logs:
Code:
Sep 4 19:11:11 debian sm-mta[25383]: l84FY9ME016602: to=, ctladdr= (2001/2001), delay=01:37:02, xdelay=00:00:00, mailer=esmtp, pri=930403, relay=lsean.ezweb.ne.jp., dsn=4.0.0, stat=Deferred: Connection timed out with lsean.ezweb.ne.jp.
Sep 4 19:11:11 debian sm-mta[25383]: l84FYB7d016734: to=, ctladdr= (2001/2001), delay=01:37:00, xdelay=00:00:00, mailer=esmtp, pri=930403, relay=lsean.ezweb.ne.jp., dsn=4.0.0, stat=Deferred: Connection timed out with lsean.ezweb.ne.jp.
Sep 4 19:11:11 debian sm-mta[25383]: l84FY9A4016629: to=, ctladdr= (2001/2001), delay=01:37:02, xdelay=00:00:00, mailer=esmtp, pri=930403, relay=lsean.ezweb.ne.jp., dsn=4.0.0, stat=Deferred: Connection timed out with lsean.ezweb.ne.jp.
Sep 4 19:11:11 debian sm-mta[25383]: l84FY9la016616: to=, ctladdr= (2001/2001), delay=01:37:02, xdelay=00:00:00, mailer=esmtp, pri=930403, relay=lsean.ezweb.ne.jp., dsn=4.0.0, stat=Deferred: Connection timed out with lsean.ezweb.ne.jp.
Sep 4 19:11:11 debian sm-mta[25383]: l84FYCkO016807: to=, ctladdr= (2001/2001), delay=01:36:58, xdelay=00:00:00, mailer=esmtp, pri=930403, relay=lsean.ezweb.ne.jp., dsn=4.0.0, stat=Deferred: Connection timed out with lsean.ezweb.ne.jp.
Sep 4 19:11:11 debian sm-mta[25383]: l84FYB7B016730: to=, ctladdr= (2001/2001), delay=01:37:00, xdelay=00:00:00, mailer=esmtp, pri=930403, relay=lsean.ezweb.ne.jp., dsn=4.0.0, stat=Deferred: Connection timed out with lsean.ezweb.ne.jp.
Sep 4 19:11:11 debian sm-mta[25383]: l84FYCO0016757: to=, ctladdr= (2001/2001), delay=01:36:59, xdelay=00:00:00, mailer=esmtp, pri=930403, relay=lsean.ezweb.ne.jp., dsn=4.0.0, stat=Deferred: Connection timed out with lsean.ezweb.ne.jp.
Sep 4 19:11:11 debian sm-mta[25383]: l84FYDjq016819: to=, ctladdr= (2001/2001), delay=01:36:58, xdelay=00:00:00, mailer=esmtp, pri=930403, relay=lsean.ezweb.ne.jp., dsn=4.0.0, stat=Deferred: Connection timed out with lsean.ezweb.ne.jp.
Sep 4 19:11:11 debian sm-mta[25383]: l84FYBhL016751: to=, ctladdr= (2001/2001), delay=01:37:00, xdelay=00:00:00, mailer=esmtp, pri=930403, relay=lsean.ezweb.ne.jp., dsn=4.0.0, stat=Deferred: Connection timed out with lsean.ezweb.ne.jp.
Sep 4 19:11:11 debian sm-mta[25383]: l84FYDPw016811: to=, ctladdr= (2001/2001), delay=01:36:58, xdelay=00:00:00, mailer=esmtp, pri=930403, relay=lsean.ezweb.ne.jp., dsn=4.0.0, stat=Deferred: Connection timed out with lsean.ezweb.ne.jp.
We're absolutely unable to track or find out who is sending it or how to stop this.
So I'm wondering if it is possible to prevent sendmail from sending to:
lsean.ezweb.ne.jp, OR
docomo.ne.jp, OR
softbank.ne.jp
/var/mail/vhostswww logs are not showing helpful info at all. Eg:
Code:
--l84GRnX5029819.1188924137/debian--
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=ISO-2022-JP
Mime-Version: 1.0
From: hanako.@docomo.ne.jp
Subject:
To: a_j.n-y_bluespider-tattoo@softbank.ne.jp
Message-Id: <200709041410.l84EA0Fh007971@debian>
Date: Tue, 4 Sep 2007 16:10:00 +0200
Tue, 4 Sep 2007 16:10:00 +0200
by debian (8.13.4/8.13.4/Submit) id l84EA0Fh007971;
Received: (from vhostswww@localhost)
for ; Tue, 4 Sep 2007 16:10:00 +0200
by debian (8.13.4/8.13.4/Debian-3sarge3) with ESMTP id l84EA0jk007973
Received: from debian (localhost [127.0.0.1])
Return-Path:
Content-Type: text/rfc822-headers
--l84GRnX5029819.1188924137/debian
Last-Attempt-Date: Tue, 4 Sep 2007 18:42:16 +0200
Diagnostic-Code: SMTP; 550 Invalid recipient:
Remote-MTA: DNS; mx.softbank.ne.jp
Status: 5.1.1
Action: failed
Final-Recipient: RFC822; a_j.n-y_bluespider-tattoo@softbank.ne.jp
Arrival-Date: Tue, 4 Sep 2007 16:10:00 +0200
Reporting-MTA: dns; debian
Content-Type: message/delivery-status
--l84GRnX5029819.1188924137/debian
<<< 503 No recipients specified
550 5.1.1 ... User unknown
<<< 550 Invalid recipient:
>>> DATA
... while talking to mx.softbank.ne.jp.:
----- Transcript of session follows -----
(reason: 550 Invalid recipient: )
----- The following addresses had permanent fatal errors -----
from localhost [127.0.0.1]
The original message was received at Tue, 4 Sep 2007 16:10:00 +0200
--l84GRnX5029819.1188924137/debian
This is a MIME-encapsulated message
Auto-Submitted: auto-generated (failure)
Subject: Returned mail: see transcript for details
boundary="l84GRnX5029819.1188924137/debian"
Content-Type: multipart/report; report-type=delivery-status;
MIME-Version: 1.0
To:
Message-Id: <200709041642.l84GRnX5029819@debian>
From: Mail Delivery Subsystem
Date: Tue, 4 Sep 2007 18:42:17 +0200
Tue, 4 Sep 2007 18:42:17 +0200
by debian (8.13.4/8.13.4/Debian-3sarge3) id l84GRnX5029819;
Received: from localhost (localhost)
Return-Path:
From MAILER-DAEMON Tue Sep 4 18:42:17 2007
--l84GRnX4029819.1188924135/debian--
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=ISO-2022-JP
Mime-Version: 1.0
From: hanako.@docomo.ne.jp
Subject:
To: a_j.n-y_bluespider-tattoo@softbank.ne.jp
Message-Id: <200709041411.l84EB8CS011861@debian>
Date: Tue, 4 Sep 2007 16:11:08 +0200
Tue, 4 Sep 2007 16:11:08 +0200
by debian (8.13.4/8.13.4/Submit) id l84EB8CS011861;
Received: (from vhostswww@localhost)
for ; Tue, 4 Sep 2007 16:11:09 +0200
by debian (8.13.4/8.13.4/Debian-3sarge3) with ESMTP id l84EB8f6011862
Received: from debian (localhost [127.0.0.1])
Return-Path:
Content-Type: text/rfc822-headers
--l84GRnX4029819.1188924135/debian
Last-Attempt-Date: Tue, 4 Sep 2007 18:42:15 +0200
Diagnostic-Code: SMTP; 550 Invalid recipient:
Remote-MTA: DNS; mx.softbank.ne.jp
Status: 5.1.1
Action: failed
Final-Recipient: RFC822; a_j.n-y_bluespider-tattoo@softbank.ne.jp
Arrival-Date: Tue, 4 Sep 2007 16:11:09 +0200
Reporting-MTA: dns; debian
Content-Type: message/delivery-status
--l84GRnX4029819.1188924135/debian
<<< 503 No recipients specified
550 5.1.1 ... User unknown
<<< 550 Invalid recipient:
>>> DATA
... while talking to mx.softbank.ne.jp.:
----- Transcript of session follows -----
(reason: 550 Invalid recipient: )
----- The following addresses had permanent fatal errors -----
from localhost [127.0.0.1]
The original message was received at Tue, 4 Sep 2007 16:11:09 +0200
--l84GRnX4029819.1188924135/debian
This is a MIME-encapsulated message
Auto-Submitted: auto-generated (failure)
Subject: Returned mail: see transcript for details
boundary="l84GRnX4029819.1188924135/debian"
Content-Type: multipart/report; report-type=delivery-status;
MIME-Version: 1.0
To:
Message-Id: <200709041642.l84GRnX4029819@debian>
From: Mail Delivery Subsystem
Date: Tue, 4 Sep 2007 18:42:15 +0200
Tue, 4 Sep 2007 18:42:15 +0200
by debian (8.13.4/8.13.4/Debian-3sarge3) id l84GRnX4029819;
Received: from localhost (localhost)
Return-Path:
From MAILER-DAEMON Tue Sep 4 18:42:15 2007
--l84GRnX3029819.1188924134/debian--
How would I solve this problem as it's making our server load skyhigh 24/7.
Additional info about system:
> Debian Linux, latest kernel
> Sendmail (we've tried postfix, exim, with same results)
> Non cPanel system.
View 6 Replies
View Related
Jan 7, 2009
I want to monitor my application to make sure it is 24x7 uptime, if there is anything interrupt, I will be notified by email/SMS right away. There are several web monitoring service, but they all monitor ports, not application. I have bad experience, like, althoguh the web server is alive, but the application is already dead.
So, I want to monitor application instead of monitor a port. Anybody knows where I may find this kind of service?
View 2 Replies
View Related
Jun 30, 2008
I want to be able to monitor (with statistic) and cap traffic on 3+ servers.
how is this done best?
I was thinking of somekind of switch or server set inbetween the servers and the internet monitoring and keeping data on the traffic use etc.
but what do you do?
and how to make such a monitor redundant so if it fails the network is not cut off from the world?
View 12 Replies
View Related
Dec 2, 2007
I see a lot of web hosts that link to webhostingstuff.com which tracks the uptime of their main page. i would like to offer a similar service, where i track and list the uptime of hosts. can anyone point me in the proper direction for this? is there a particular script that I can purchase? how is this done?
View 9 Replies
View Related
Apr 2, 2007
Don't know if this is the right place to ask for this but here goes.
I have a 20U rack space and i use 4U of this space (1U + 2U servers and a 1U switch).
There is a 20Mbit internet connection on a 100Mbit network.
But here comes my problem, some friends have there servers in my rack space to, There is 12 servers that are my friends and i want to know how much traffic they use.
I want to know how many GB traffic they use to i can charge them (they don't pay right now).
2 of my friends servers must max take 50gb traffic!
Is there a switch that can do theys two things?
Show traffic and limit traffic?
View 7 Replies
View Related
Aug 25, 2007
My server has a tyan thunder 8kse (s2892) motherboard, and i'm looking for some script to monitor it. Unfortunately, tyan only offers such applications for windows. So, how can i monitor the motherboard in linux? Or preferably, webbased.
View 1 Replies
View Related
May 26, 2007
I just setup my own LAMP server.
It is only used for my own domains so I want to be able to watch all mail that gets sent from my server, via php or otherwise.
Basically I just want to be able to personally monitor what mail is getting sent from my server so that I can watch for possible spammer activity.
I am using postfix and webmin.. I have sendmail installed to, but I don't think it is getting used..
I guess theres got to be a log somwhere... but I am not sure where it is?
I have postfix set to CC me of all mail that gets sent but, it doesnt seem to work all the time.. just for certain things..
View 3 Replies
View Related
Oct 23, 2009
I am wondering what services it is best to monitor with Nagios which I've installed on my Centos 5.3 VPS. I wish to monitor and understand all essential services of the VPS itself at this stage but, generally, to make the best possible use of Nagios as an analytical tool as well as basic monitoring notifications, etc.
I already have a rough idea based on the main services being run. But I imagine there may be more to this than meets the eye, in particular, in view of any potential performance cost, etc.
I am especially keen to obtain as detailed a picture as possible concerning performance related criteria with a mind to indicating possible improvements that could be made.
View 8 Replies
View Related
Mar 2, 2009
We have a website that uses php include. It is specified in .htaccess to parse all html file to parse for php so php include can be executed.
We don't know the exact cause but our Addhandler line in .htaccess gets keep commented by someone or something and include file (footer) does not show up from time to time. I was told cpanel update inserts the comment but I am not sure.
My question is:
1. How can I prevent this from happening?
2. If it gets modified, how can I get notification?
View 9 Replies
View Related
Jun 12, 2009
I need a script that check the service sql, php-pfm and nginx if working fine and if is start. So if is stop, the script do automatic restart the service.
i have cron a restart each houar of php but same time, in the houar of much visits of my sites php crash and stop..
View 8 Replies
View Related
May 2, 2008
we've got our new machine up and running smoothly. It's a core2duo running CentOS with Plesk 8.3. We have 2 drives in a RAID 1 configuration for reliability sake, and I'm looking for something to help me monitor the status of the disks in the array. Since RAID is pretty useless unless you know if one of the disks has died.
Is there some open source utility that will monitor this and email me if something is wrong? Perhaps something with a nice web interface?
Even better... is there some addon to plesk that will help with this?
View 3 Replies
View Related
Mar 23, 2008
Since upgrading to Apache 2 I am no longer able to tell which domains are the busiest using CPU/Memory/MySQL Usage. Now Apache processes are all lumped together and individual domains only show cron, mail and FTP usage. I opened a ticket with cPanel and they know of the problem but there is still no solution. Is there another way I can tell which of my sites is using the most resources until this bug is fixed?
View 2 Replies
View Related
Jun 21, 2007
Is there any way I can monitor the activity on my shared host?
I'd like to know at what times resources are being used by other sites on the server so I can plan accordingly. Also, is there a way to test the capabilities of my server without bringing it down? I'm developing an image gallery and I'd like to know how many users can upload images at the same time etc. before it slows to a crawl.
View 11 Replies
View Related