• 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.

spammer problems

G

gizmo_24

Guest
Hi,

I've got someone on my system doing massive spamming to aol ..
The qmail logs doesn't show any useful information .. it all looks like the following:

Feb 5 09:07:36 ws01 qmail: 1139126856.416743 status: local 0/25 remote 24/25
Feb 5 09:07:36 ws01 qmail: 1139126856.416795 starting delivery 12457: msg 11647100 to remote xxx@aol.com

The spammer always uses admin@<mydomain> and anonymous@<mydomain> to send the spam:

qmail-remote aol.com admin@<mydomain> xxx@aol.com

Does anyone know how to solve this???
 
open one of the emails and look at the header of the email. Find the sender ip in angular brackets [x.x.x.x] and add it to the firewall to block it.
 
You need to find one of the spam emails in the email queue. Try using qmail-read to see the messages in the queue and their numbers.

Then use find to find the location of the message usings its number.

Lastly less <message no> to see the full message + email header (with source ip)
 
Thx for your help ..

What I ask myself is, how these guys are using my server to mail ..

My guess is that they use php scripts or similar, does anyone have an idea how to find these?
 
I got this from another thread here, sorry, I didn't record the thread number, just the solution to tracking php script email:

Actually this is fairly easy to sort.

You will need to do it for all your domains (i beleive someone posted a script at one point)

But in vhost.conf add this:

<Directory /usr/local/psa/home/vhosts/DOMAIN/httpdocs>
php_admin_value sendmail_path "/usr/sbin/sendmail -t -i -fXXXX"
</Directory>

Change the path if you are not on FreeBSD.

the XXXX is a unique code - use the domain if you wish thats up to you - but as most spamming is not your own customer i think its best to add this as some random code that means nothing to anyone but yourself

Once that has been done each mail sent by php will have a unique per domain code in the Return-Path: using a tool such as qmHandle to view the mailqueue you can see this return-path and consequently go straight to the hosting account and disable the relevant script

Hope this helps you.
 
Back
Top