How can I block particular extension emails on ISP Config?

Procédure

Why block certain extensions?

Spam is a nuisance and there are many ways of countering it. However, spammers are getting smarter and trying to get round the filters. What's more, ICANN has recently approved large gTLDs (generic top-level domains), such as .biz, .info, etc. Some of these gTLDs are used exclusively by the Internet. Some of these gTLDs are used exclusively by spammers.

ISPConfig offers some global filters and they can be used to block emails from certain extensions. We will see how to configure this.

How do I configure the global filters on ISP Config?

1. Connect to your ISP Config Panel

2. Go to the global filters configuration.

To do this, click on the "E-mail" tab in the navigation menu at the top of the page.

How can I block particular extension emails on ISP Config?


Then, in the left-hand menu, under "Global filters", click on "Content filter".

How can I block particular extension emails on ISP Config?

3. Configuring the content filter

Click on the green "Add a new content filter" button. This takes you to the content filter configuration form.

How can I block particular extension emails on ISP Config?


Server field: Indicate your server

Filter field: Select "Header Filter".

Regexp Schema field:

This is used to check whether the header of an e-mail contains an unwanted domain extension.

For example, if you want to prevent emails from a domain with the extension .xyz, you will need to enter the following in this field

/<.+?@.+?\.xyz>/

Simply replace "xyz" with the extension you want.

Data field: This is where you can enter a message to find out why the email has been rejected. For example, in the case of an email with a .xyz extension, you could indicate: "We do not accept email from a .xyz domain".


Action field: Here you can indicate the action you would like to take if an email with an unwanted extension arrives. In our case, we can either choose Discard for simple deletion of the email, or Reject which refuses the email sent and gives the reason (indicated in the Data field) to the server sending the email.

To activate your filter, simply tick the box next to atif and then save. You will need to repeat this procedure for each extension you wish to reject.

Procedure in video

Rate this article :

5/5 | 1 opinion

This article was useful to you ?

Article utileYes

Article non utileNo

Vous souhaitez nous laisser un commentaire concernant cet article ?

Si cela concerne une erreur dans la documentation ou un manque d'informations, n'hésitez pas à nous en faire part depuis le formulaire.

Pour toute question non liée à cette documentation ou problème technique sur l'un de vos services, contactez le support commercial ou le support technique

MerciMerci ! N'hésitez pas à poser des questions sur nos documentations si vous souhaitez plus d'informations et nous aider à les améliorer.


Vous avez noté 0 étoile(s)

Similar articles

1mn reading

How do I create an email address on a dedicated VPS server?

5mn reading

Optimise the way you send your emails

2mn reading

How do I create a DKIM key on ispconfig?

0mn reading

How to change the VPS/ISPCONFIG email password


Ask the LWS team and its community a question