SupraNet Mailguard

From SupraWiki
Jump to: navigation, search

Mailguard Information

SupraNet's Mailguard system offers users a way for email users to manage spam. Detailed information is shown below on how to navigate through the system. In most cases, you would log in to rescue something that was captured as spam but is actually non-spam (ham).

The simple steps for this are:

  • Log in
  • Choose "Report/Rescue" from the welcome page
  • View the contents and rescue items as necessary.

Full details are below!

Logging In

The login page can be found at


Rescuing Mail

The quarantine is where Spam is held.

  • From the main page, choose the Report/Rescue link next to your spam cache.


  • You will be given a list of messages that were caught as spam. You can sort them by clicking on Score, Received, From, Subject across the top of the screen. The example below is sorted by subject.


  • You may set the radio buttons to Spam, Non-Spam, or Delete to manage several items at a time. Once you are sure, you may click "Confirm the status of these messages".


  • If you need to see more details of a message, click on the subject line of the message to view the full message, and details as to why it was considered spam.


  • Choose "Confirm this Non-Spam" to have the item immediately delivered to you. This will also whitelist the sending e-mail address!



Profile Options


  • Change Password - Change your password.
  • Send Quarantine Reminder e-mail? - Send monthly reminder that you should look at your quarantine.
  • Display graphical charts? - Display charts in the Statistics Area.
  • Add senders of rescued mail to your whitelist? - If an email is rescued from the spam quarantine, should it be auto-whitelisted?
  • Mail items to be displayed on each page - How many lines of spam to show when you're viewing the quarantine.
  • Email Digest Interval? - Set to 1440 if you'd like to receive daily emails that show you what's in your quarantine. This is recommended! You will not have to manually log in to report and rescue spam!

All other options should generally be left alone.

Spam Settings

Mailguard settings.png

  • Virus Scanning - On or Off.
  • Deteced Viruses should be.. - Discarded is recommended. There are rarely/never false positives for Virus detection.
  • Spam Filtering - On or Off.
  • Detected spam should be.. - Labeled is to label all spam and still deliver. Quarantined is to keep the message in the system, a user must log in to rescue/view.
  • Add prefix to the subjects of spam? - Only used if Labeled is chosen above. This adds ***SPAM*** to the beginning of the subject line of Spam messages.
  • Add X-Spam: Headers - Adds debugging information to the headers of email messages. The contents of the message are unchanged. This should be left as-is.
  • Consider mail 'Spam' when score is - Threshold at which the system considers a message spam. The lower the number, the more the spam will be captured. The higher this number, more messages are let through.
  • Quarantine Spam when score is - This is locked with the above setting.
  • Attachment Type Filtering - Blindly filter based on unwanted attachment types, such as .exe, .pif, .com, etc.
  • Mail with dangerous attachments should be.. - What to do if a bad attachment is found.
  • Mail with bad headers should be.. - What to do if a bad header is found.


Choose Stats from the left navigation bar. You will be taken to your personal statistics first. To view system wide stats (shown below) choose View Systemwide Statistics at the bottom.

Much of this information is copied from the author's website:


Non-Spam (yellow)

Currently the Non-Spam area is disabled. This is used to train the system into learning what is spam and what is not. It is frequnetly mis-trained, so it is not enabled.

  • Unconfirmed Non-spam - For users using the Ham-Cache, how many items were left unconfirmed.
  • Cofirmed Non-spam - For users using the Ham-Cache, how many items were confirmed.
  • False Positives - For users using the Ham-Cache, how many items the system did *NOT* catch as spam.

Spam (Red)

  • Suspected Spam - Email that the system considers to be spam.
  • Confirmed Spam - Email that the system considers to be spam, and a user has manually confirmed it via the Quarantine.
  • False Negatives - Email that the system considers to be spam, but a user has manually rescued it from the quarantine area.


  • Whitelisted Items - Email that hit users whitelists.
  • BlacklistedItems - Email that hit users blacklists.
  • Viruses/Malware - Email that had viruses in them.
  • Banned Attachments - Email that had banned attachmeent types, such as .exe, .com, .pif, etc.
  • Invalid Mail Headers - Email that had headers that do not conform to RFC's.
  • Oversized Items - Emails that are larger than the system limit to keep them in a cache (10MB).


  • [False Positive Rate = FP / (ham + spam + FP + FN)] - A False Positive in our case is a non-spam item that was mistakenly classified by SpamAssassin as spam. SpamAssassin's tests told us the item was spam, when in fact it was non-spam. With a spam filter, this is generally considered to be the worst kind of failure, since it can result in legitimate mail being quarantined, delaying its delivery.
  • [False Negative Rate = FN / (ham + spam + FP + FN)] - A False Negative is the reverse--a spam item that was classified mistakenly as non-spam, and allowed to slip through the filter. SpamAssassin's tests suggested the item was non-spam, but it turned out to be spam. The practical impact of a false negative error is more spam in your mailbox.
  • [Sensitivity = spam / (spam + FN)] - Sensitivity is the "true positive" rate. If it's actually spam, how likely is SpamAssassin to say it's spam? How much of the spam gets correctly identified as such? This is a measure of how accurately SpamAssassin identifies spam, but ignores its performance with regard to non-spam.
  • [Specificity = ham / (ham + FP)] - Specificity is the "true negative" rate. If it's actually non-spam, how likely is SpamAssassin to say it's non-spam? How much of the non-spam gets correctly identified as such? This measures how well SpamAssassin identifies non-spam, ignoring its performance with regard to spam.
  • [PPV = spam / (spam + FP)] - PPV is the Positive Predictive Value. If SpamAssassin says it's spam, how likely is it to actually be spam? If we only look at cases where SpamAssassin predicted spam, how often was it right? The more specific the test, the higher the PPV.
  • [NPV = ham / (ham + FN)] - NPV is the Negative Predictive Value. If SpamAssassin says it's non-spam, how likely is it to actually be non-spam? If we only look at cases where SpamAssassin predicted non-spam, how often was it right? The more sensitive the test, the higher the NPV.
  • [Efficiency = (spam + ham) / (spam + ham + FP + FN)] - Efficiency is the ratio of true positives and true negatives to total mail items processed--that is, the percentage of mail that was correctly classified. This is the best "overall" measure of a spam filter's performance, and it's what most people expect a vendor's claim to represent.

Administrator Account

If you are logging in as an administrator, or any username that is not in the form of an email address, there are a few extra steps you need to take to use the system. You must become the user you wish to view spam for. This may be an actual email address, or the catch-all account, such as

  • Choose Admin on the left:


  • Simply click the Find Users button. This will show you any email accounts and domains that are associated with your account. If you have a lot of users, you may type in something more specific than the default asterisk symbol:


  • The resulting page will look similar to below. If you have no user accounts, you will only see the domain account, which is below:


  • When you choose the default domain account, you will see that on the left hand side, it now says Default User for Domain


You have now become the user. You may navigate the system like a normal user, editing white/blacklists, and rescuing spam. You may reset back to the administrator by clicking on Admin again.

Mailguard Technology

SupraNet's Mailguard is a powerful spam fighting system. It uses the following open source technology to fight spam: