In this article we'll go over how you can find the number of times BoxTrapper is running for your users on your VPS or dedicated server.

Using BoxTrapper can be a good way to help limit the amount of spam you receive on an account. However in some cases it can also lead to elevated server usage if one particular user on your server is getting heavily spammed from a wide variety of email addresses.

If you've read my article on advanced server load monitoring and see that your server's load is spiking, or if you setup a server load monitoring bash script to alert you via email during load spikes, BoxTrapper could be a possible culprit of these issues that you might want to look into.

To find the number of times BoxTrapper is running you'll need root access to your VPS or dedicated server, so that you have access to the Exim mail logs.

Find users with the most BoxTrapper deliveries

  1. Login to your server via SSH as the root user.
  2. Run the following command:

    grep "T=virtual_boxtrapper_userdelivery" /var/log/exim_mainlog | awk '{print $6}' | sort | uniq -c | sort -n

    Code breakdown:

    grep "T=virtual_boxtrapper_userdelivery" /var/log/exim_mainlog Locate mentions of T=virtual_boxtrapper_userdelivery in the Exim mail log.
    awk '{print $6}' Use the awk command to print the $6th column of data which is the email address the BoxTrapper message was delivered to.
    sort | uniq -c | sort -n Sort that data by user, then uniquely count it, and finally sort it from lowest to highest occurences.

    You should get back something like:

    331 <info@example.com>
    367 <support@example.com>
    422 <test@example.com>
    3243 <user@example.com>

    Now we know that the user@example.com user has had BoxTrapper manage at least 3,243 emails.

You should now be able to to figure out which users on your server have an excessive amount of BoxTrapper verfications being used. If you've been having issues with your server's load you might want to consider disabling BoxTrapper for these users and have them seek alternative methods for reducing spam.

Like this Article?

Login to comment.

Your Opinion Matters

... but we need to know what you're thinking!

I'm Jacob Nicholson, your friendly Community Support technician, and I wrote the article you're looking at now. I like to think it's perfect, but I'm sure you have some suggestions. Please, let me know what they are!

Feedback
Your Email Address
Because we'd like to talk with you!

Latest Questions

If you need some help, submit your question to our Community!
We guarantee a response within 60 minutes (8am - 9pm EST, Monday - Friday)
Ask a Question!
Recent Questions
  1. Configuring Mandrill SFP / DKIM settings
  2. Why can't I access the admin page?
  3. ftp application

Need more Help?

Search

Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail: support@InMotionHosting.com
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!