Managing Quota Limits in SmarterMail Enterprise 9.4

A common problem that many email users may face without even knowing it is running out of email disk space.  Many users panic when they stop receiving email, and automatically assume there is something wrong at their mail provider’s end which may not be the case.  Many email hosting providers still put quota restrictions on email because let’s face it, disk storage systems still incur a business cost.  You can’t compare other email systems to say, Gmail, because frankly, Google has more money and resources to throw at the problem which makes it seem like you have an unlimited amount of email disk space.  In the earlier days of computing, running out of disk space was more prevalent.  Usually, a message is sent to the postmaster account of a domain notifying the mail administrator of the shortage allowing them to pinpoint the problem, however, sometimes, these system notifications won’t reach them.  Why?  Because I’ve seen users who sometimes use the postmaster account like a regular email account or change the Primary Domain Administrator (effectively postmaster) to one of their regular email accounts.  When the system tries to send a notification about a quota limit being reached, it bounces because it is full.  Fortunately, for those who have administrative access to manage email accounts in their domain, there is a reporting tool they can use to help them identify the problem quickly if the aforementioned scenario occurs.  To access this report:

  • Log into SmarterMail with a Primary Domain Administrator account (usually postmaster)
  • Click on the Reports icon (looks like 3 bars) on the menu to your left.
  • Expand the Domain Summary Reports folder.
  • Expand the Traffic Reports folder.
  • Click on Disk Usage.

SmarterMail Disk Usage Summary Report

And this is how you read the report.  The number under Total Disk actually represents how much disk space the email account is currently using.  The Max Disk column represents the quota limit for the account.  The Total in bold under the Total Disk column represents the total amount of space used in the domain.  This Total is usually the one you need to pay attention to because it’s the one your email hosting provider limits, but you should contact your email hosting provider to verify if they are provisioning your email based on the total amount for the domain or for each email account.  You now have several options to resolve the problem:

1) You can delete your email messages within SmarterMail to free up space or setup a POP3 email client program to download your messages to remove them off the server.

2) You can purchase more email disk space if your hosting provider offers that service.

3) If you’re not actually out of email disk space and have just hit a quota, then you can increase the quota limit within SmarterMail.

Adjusting Spam Settings in SmarterMail Enterprise 9.4

Every day, millions of unwanted spam messages are sent throughout the Internet.  I would venture to say that most people find them annoying but may not know that they can do something about it.  Fortunately, most email software available now come with some sort of spam filtering mechanism.  In this tutorial, I am only going to cover how to tweak the settings in SmarterMail Enterprise 9.4 because each spam filtering software works differently.

First of all, you’ll need to understand that there are three levels (server, domain, user) of spam filtering within SmarterMail.  If you are using SmarterMail from a hosting provider, you will probably not have access to adjust the settings at the server level, but you should have access to adjust the settings at the domain and user levels.  When you adjust the settings at the domain level, they will apply to all new email accounts created from the point you changed the settings.  If you change it at the user level, it should take effect immediately on that email account.  To adjust the settings at the domain level, you’ll need to log into SmarterMail with an email account that has Administrator access (usually postmaster).  Let’s start by logging into SmarterMail.  On the menu to your left, click on the Settings icon (looks like 2 cogs) which will bring up a Settings menu like the one below.

SmarterMail Spam Filtering Options

To adjust the settings at the user level, make sure you click on the Spam Filtering link under My Settings -> Filtering -> Spam Filtering.  To adjust the settings at the domain level, make sure you click the Spam Filtering link under Domain Settings -> Filtering -> Spam Filtering.  (Note that this option will not be available if you did not log in with an email account that has Administrator privileges.)  In the Spam Filtering window on your right, click on the Options tab and select Override spam settings for the domain.  Now, click on the Current Weights tab, and you should see this screen.

SmarterMail Spam Filtering Current Weights

On this page is a list of the criteria SmarterMail will use to score an email message and flag it as spam.  This will make more sense if you review the headers of an email message.  To review a header, click on the Email icon (looks like an envelope) on the menu to your left.  (Make sure you do this before making adjustments, otherwise, click on the Save button to save your current changes.)  Then click on the Inbox and select an email message.  All the way on the bottom right hand corner, click on the Header tab which should bring up a screen like the one below.

SmarterMail Email Headers

These are the two tags you want to pay attention to:

X-SmarterMail-Spam
X-SmarterMail-TotalSpamWeight

And here is an example of the complete lines from the header:

X-SmarterMail-Spam: SPF_None, SpamAssassin 5 [raw: 1], DK_None, DKIM_None
X-SmarterMail-TotalSpamWeight: 5

You’ll notice that these tags correlate directly with the criteria and values under Current Weights.  The total spam weight is determined by the sum of the criteria checked and values assigned to each criteria.  For example:

SPF_None (value 0)  + SpamAssassin 5 [raw: 1] (value 5) + DK_None (value 0) + DKIM_None (value 0) or 0 + 5 + 0 + 0 which equals 5.

You may notice that a criteria may be missing from your list such as SpamAssassin in this case.  That’s because it’s a criteria set by your mail server administrator at the server level which has not been delegated to you to adjust but will still affect the final calculation of the spam score.  It allows mail server administrators to configure a minimum thresh hold for spam filtering because turning it off completely could put too much of a burden on a server to process all the messages sent and flood users’ Inboxes with unwanted spam.  Note that DK_None actually corresponds to DomainKeys None and is just abbreviated. If you want to change the score of a message, then you need to assign different values to the criteria under Current Weights to change the outcome of the total spam weight.  (You can enter negative numbers which implies a positive scoring.)  Ultimately, the number you need to pay attention to is X-SmarterMail-TotalSpamWeight.  Now, let’s go back to the Spam Filtering settings page and click on the Actions tab.

SmarterMail Actions

On this page, you can direct SmarterMail to take one of three actions if the total spam weight equals or exceeds the values listed:

Delete Message
Move to Junk E-mail Folder
Add Text to Subject

Since we know the total spam weight of a message by viewing the headers, we can adjust the values here and select actions that will process the messages accordingly.  By changing the values under the Current Weights and Actions tabs, you can control the flow of spam messages into your email account so that they will at least not clutter up your Inbox. Make sure you also remember to click on the Save button to apply the changes you made, otherwise, they will not take effect.  There may be a lot of trial and error to get the settings just right to your liking.  Since no system is perfect, I would recommend not using the Delete Message action in case the filtering system flags a legitimate email incorrectly.  Even if you are confident that you have finally adjusted the settings correctly, I would still recommend that you don’t use the Delete Message action in case your mail server administrator decides to make tweaks at the server level which may throw off your own settings later.  Don’t worry, good mail server administrators won’t do this arbitrarily.  Remember, they are on your side.  They make these adjustments if they see an increase of spam activity on the server.  Their server level adjustments form a “baseline” for filtering spam messages, and their job is more difficult since they have to balance trying to capture a majority of the spam that reaches the server while allowing legitimate email messages through.  This is where further refinement must be done by you at the domain and user levels.

I also mentioned before that if you made the adjustments at the domain level, the settings will only be applied to new email accounts that are created.  Fortunately, there is a tool within SmarterMail that you can use to apply the changes you made at the domain level to existing email accounts.  Click on the Settings icon and navigate to Domain Settings -> Advanced Settings -> User Propagation by expanding the folders.  In the Options tab, select All Users or the individual email account in the drop down box next to Propagate To.  When you’re ready, click on the Propagate Now button to apply the changes to other existing email accounts.  Please note that the changes are not retroactive (i.e. they will not apply to existing email, only new incoming email).

SmarterMail User Propagation

That’s it.  You are now equipped and ready to deal with spam on your own terms.

My Two Cents on Where to Add Google Analytics in WordPress

There are already enough blogs out there with tutorials on how you can add Google Analytics to your WordPress site.  I won’t bother repeating that information here, but I wanted to add my 2 cents to the discussion.  If you plan to add the tracking code manually, Google actually instructs you to place it right before the HTML header closing tag (i.e. </head>), but I recommend you place it right before the HTML body closing tag (i.e </body>).  Why?  Because while hand coding another website and using Google’s own PageSpeed tool which provides optimization recommendations, it says I should defer the parsing of JavaScript in order to improve performance (i.e load time).  And that’s really easy to do if you’re using one of the default themes.  Just go to Appearance -> Editor and click on the Footer link (i.e. footer.php) on your right.  Scroll all the way to the bottom and place the Google Analytics tracking code right in between the <?php wp_footer(); ?> and </body> tags.  Then click on the Update File button.

WP-Footer