• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

Question Prevent spam send directly to the server IP / Postfix configuration

Flux24

New Pleskian
Hello,

we have some problems with spam, that is directly send to the server IP, bypassing the external mailfilter specified in the MX. Whats the best way to prevent this?

There are some methods to prevent spam directly send to the server, like changing port 25 to an alternative port and then close port 25, or set the firewall to restrict access to the mailserver to the IPs of the external mailfilter. The problem with this is, as far as I see, that we would lock out the users, that have mailboxes/accounts on our servers and send emails by connecting to SMTP, often from dynamic IPs.

Is there a way to solve this problem by configuring Postfix, for example using "smtpd_client_restrictions" to restrict access to the external mailfilter, or would this cause the same problem with users on the server, trying to send emails by their accounts? Is it possible for Postfix to distinguish this, so we could restrict access to accept mails only from the external mailfilter, but still allow users with mail-accounts on our servers to connect and send emails?

Thank you,
Flux24
 
Back
Top