Tracking down spamming in Plesk – 2

This post will help you to track down spamming from a Plesk server, if its employed using PHP scripts in any of the domains. – Use this one to view the folders which have mail PHP scripts enabled and running. # vi /var/qmail/bin/sendmail-wrapper #!/bin/sh (echo...

Tracking down spamming in Plesk – 1

Finding the source of spamming in a server provisioned with Plesk is a tough job. Some of the useful commands which might help you are given down. Find the number of mails hung in the queue : # /var/qmail/bin/qmail-qstat To get an idea about the the message headers of...

Clearing huge eximstats db !

The eximstats database might tend to grow in size if there is high amount of mailing from your server. Check if the following value from WHM is set to a higher interval : Home »Server Configuration »Tweak Settings >> “The interval, in days, to retain Exim...

Clear Qmail queue – Plesk

In order to clear the Qmail queue, initiate the following commands from shell : # service qmail stop # find /var/qmail/queue/mess -type f -exec rm {} \; # find /var/qmail/queue/info -type f -exec rm {} \; # find /var/qmail/queue/local -type f -exec rm {} \; # find...

Changing the Exim interface IP

In order to change the exim interface IP, do the following : -SSH to your server and edit the file – /etc/mailips : This file controls the IP address from which each domains are allowed to send the mails. If the file is not present, create it. Open the file for...

Exim cheatlist

# /var/log/exim_paniclog : info abt the exim program itself. # /var/log/exim_mainlog : logs every single mail transaction. # /var/log/exim_rejectlog : This logs delivery rejections. # exim -bp : shows mails on the queue # exim -bpc :This option counts the number of...