• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

How to block all emails except from one IP

Félix1

New Pleskian
Hello,

I use a spam protection service. It works as following :
-My DNS are configured to point to a server (sever A) which is configured to filter spams.
-If an email is not a spam, the first server send it to my mail server (server B).

But some spammers found a way to bypass the protection : They send directly their email to my mail server (server A).
So, i want to allow only emails coming from the server A IP.

How can i do this?

Thank you
 
For Mail Filter Server
On your main mail server, you need to block all incoming traffic to your incoming public smtp port such as 25 and 465 but allow access from your spam filter email server ip addresses and your ip addresses hosting websites to access those incoming public smtp port.

For Your Customers
On your main mail server, create the public incoming smtp port on your main mail server to allow your customers to use that port to send out mails.
like route port xxx to port 25 or 465...etc.
 
Thank you for your answer, and sorry for my late reply... I had not the time to work on this problem.

I am not sure to understand how to do... it seems to your solution is to block outbound emails, right ? My problem is for incoming mails : I want to block spam arriving in the mailboxes of my users.

I can't configure anything on the mail filter server : its not my server.
But i can fully manage the mail server (server B), it uses plesk panel.

Can you tell me exactly what i need to do in plesk?
 
Back
Top