• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Issue PHP Mail log

mazaamahesh

Basic Pleskian
My server sending spam emails. I have already enabled SMTP authentication for all domains. but still, there is a spambot on the server or php script which is sending spam emails.

there is no log in smartermail because script is not using smartermail to send email.

how can i create a php mail log to track the script?
 
Hello,

If I understand correctly, one of your domains uses scripts to open direct SMTP connections to external servers and send some emails avoiding your local SmarterMail. Right?
In this case, you will not see anything in SmarterMail logs, of course, because there is no SMTP activity through local mail server.

If you want to track such activity you can try to use utility Process Monitor from Microsoft (former sysinternals.com) - Process Monitor

After it is started, you need to select in toolbar which activity you want to monitor: please turn off disk and registry activity and leave only "Network activity".
upload_2017-10-4_9-47-53.png
After that go to "Filter -> Filter..." and configure the following rule:
upload_2017-10-4_9-49-12.png
Add it.

Now, you should see only SMTP activity on your server.

If you will see some processes that are trying to connect to external servers using SMTP, you can select such line, open Event properties and try to discover what is that process. For example, if this is PHP process, then probably you can found user launched this process, after that it is possible to understand which subscription it belongs to.

I hope this can help you.
 
Dear Pavel,

Thanks, for the reply. I already using the Process Monitor with exact steps and I found many spam scripts and removed it from the server, using the following source as you told me.

How to identify source / script of spam IIS 7

but process monitor eats virtual memory very fast and my server gets down shortly with 30 to 45 minutes.

so is there any other way? like php mail log?
 
Back
Top