WinDeveloper Software
Innovation. The seed to our Solutions
Follow us on Twitter WinDeveloper on Facebook WinDeveloper YouTube Channel WinDeveloper Updates
HomeDownloadOrderSupportPartnersCompanyContact
IMF Tune v7.1 - Bringing Back the Exchange Connection Filter
IMF Tune v7.1 - Bringing Back the Exchange Connection Filter

Blocking Spam Spoofing Our Own Domain

Are you receiving spam claiming to be from your domain? Today we see how we can counter such spam, turning spoofing to our advantage.

A number of technologies blocking email sender spoofing are available. Exchange 2003 and 2007 include the Sender ID filter for this purpose. Querying SPF DNS records, Sender ID is able to block some of the spoofed emails.

Despite the usefulness of Sender ID, we observed that a much simpler and lightweight filtering technique could be employed without involving any time consuming DNS queries. Note that here we are not dealing with all possible types of email spoofing. Instead our focus is on emails that spoof our own domain, where we appear to be both the sender and recipient of the spam email.

Spam Email

Blacklisting Your Own Domain

A very simple but powerful filter that could be employed is sender blacklisting. In IMF Tune we can simply enter our domain in the sender blacklist as follows:
*@domain.com

Sender Blacklist

This will block all emails claiming to be from our domain. Such a filter may be readily employed at many organizations with zero false positives. This is due to the simple reason that very often there exists no legitimate reason for an internet originating email to claim to be from our own domain. This is especially true when considering that IMF Tune by default only processes emails originating from the internet over anonymous (un-authenticated) connections. Such a filter does not affect users sending outbound emails or anyone accessing emails over authenticated connections.

More Selective Blacklisting Using Advanced SCL Rules

Although the simple blacklist might do the job, sometimes we have to cater for exceptions. There might be some legitimate hosts that use our domain at the sender to submit inbound emails over anonymous connections. For example an organization might be running applications that generate such emails for reporting purposes. Typical applications include monitoring, accounting and fax-to-email gateways.

In addition there might also be some senders that specifically need to be excluded from such a blacklist. In these cases instead of the simple blacklist, we employ an Advanced SCL Rule to build a more selective filter.

  1. From the Configuration, open SCL Rules | Advanced SCL Rules

    Advanced SCL Rules

  2. Enable the rules list by setting 'Apply advanced SCL Rules'

  3. Click on Add to create a new Rule.

  4. Specify a rule name and click Next to move to the Conditions selection step.

  5. Select the condition named: 'Received from addresses or domains'

    Received from addresses or domains

  6. Click the addresses or domains link, enter your domain and click OK.

    addresses or domains

  7. Click Next to move to the Actions step and select Blacklist.

    Blacklist Action

  8. Click Next to move to the Exception selection. Here we need to specify when the blacklist is NOT to be applied.

    NOTE: If multiple exceptions are configured, we only need to match one exception for the email NOT to be blacklisted.

    Let say we don't want to apply the rule if the email is originating from a machine within our local subnet. In this case we select the exception type 'Sending host matches IPs or subnets'.

    Sending host matches IPs or subnets

  9. Click the IPs or subnets link and enter the IPs for hosts whose emails are to be excluded from the filter. Here as an example we enter the local subnet and a foreign IP (1.1.1.1):

    IPs or subnets

  10. We may also want to exclude some sender addresses from this filter. In that case we also choose the exception type 'Received from addresses or domains'.

    Received from addresses or domains'

  11. Click addresses or domains to specify the sender addresses to be excluded.

    addresses or domains

  12. Complete the wizard to save the new Rule.

 

Copyright © 2004 - 2017 WinDeveloper Software Ltd. All rights reserved.