How do I stop email coming from a certain email address or domain?

How do I stop email coming from a certain email address or domain?

If there is a certain email address, or even an entire domain, that you don't want to receive emails from, you can add them to what's known as a 'blacklist' for your account in SecurityGateway.

Once your account in SecurityGateway has been setup, log into it from your web-browser. If you do not know what address to use, check with your server-administrator or IT department.

Once you are logged in, you will see a number of options in the middle of the screen, along with some links on the left. Click on My Blacklist to go to your blacklist, or 'Block email from a specific sender or domain'.

The blacklist is simple: when entries are present, you'll see all the email addresses, or entire domains, that you're blocking, along with any comments you have listed as for why you've added them. Click on the Add button up along the top (with the green plus-sign icon) to add a new entry to the list.

Note that you can block an entire domain if you wish by simply adding a '*' in front of the domain. For example, if you want to block everyone at, then you'd put in '*' for the email address after clicking the Add button.

If you want to edit an entry that's already on there, click on it so it's selected, then click on the Edit button along the top, with the icon that looks like a little notepad with a pencil. You can then change the email address, or the comment for that address.

If you want to remove an entry completely, click on it to select it and click on Delete along the top, with the red X icon. If you select more than one entry, either by holding down the Shift key or the Control key before clicking the mouse, you can delete out more than one entry at a time.

Finally, you can either import a list of addresses or domains you wish to allow or block from a CSV (Comma-Separated Value) file, or export the list to the same type of file if you wish to have a backup. Most email clients allow you to export information to this type of file, or you can create one using most spreadsheet programs, like Excel. Make sure it follows the right format, though, with the following titles along the top row:

    Domain, 'User', 'IP', 'Value', 'Type', 'Comments'

Put each title in its own spot along the top, starting from the left, then fill in the information underneath:

  • Domain

    This will always be the domain of your account, or the part after the '@' character in your email address.

  • 'User'

    This will always be your email address.

  • 'IP'

    You do not need to put in any information under this column.

  • 'Value'

    This is where you put in the email address, or entire domain, you wish to either allow or block.

  • 'Type'

    Put down either 'WhiteListUser' for addresses or domains you wish to allow, or 'BlackListUser' for ones you wish to block.

  • Comments

    Put down any comments you wish to record regarding why you are allowing, or blocking this address, though it is not required.


Once you have the CSV file prepared, Click on the Import button and a window will pop up, prompting you to choose the file you wish to import. Click the Browse button, and point it to the file on your computer, then click on Import along the top of the pop-up window. It will then give you a report about how many addresses it imported, and how many failed.

If you wish to save all the addresses and domains that you've recorded, click on the Export button, and SecurityGateway will send you a copy of the list in the above CSV format, giving you a chance to save it on your computer.

Additional Comments

Note that, in regards to importing information, you don't need to make a separate file for your whitelist and your blacklist. Simply put all the addresses you wish to record, and put in which type they are under the 'Type' column, and SecurityGateway will put them in the proper list.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

(FAQ) How to configure Office 365 to route outbound mail through SecurityGateway

Follow the steps below to configure Office 365 to route outbound mail through SecurityGateway....

How to change what directories are used by SecurityGateway

This article explains how to change which directories SecurityGateway uses to store various...

How to view a list of all messages in SecurityGateway

This article explains how to review the messages SecurityGateway has quarantined for review, or...

How do I start and stop SecurityGateway?

How do I start and stop SecurityGateway?   There are three methods to shut down, or start up,...

Upgrading SecurityGateway

his article explains how to upgrade an existing version of SecurityGateway to the current release...