• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Please beaware of a breaking change in the REST API on the next Plesk release (18.0.62).
    Starting from Plesk Obsidian 18.0.62, requests to REST API containing the Content-Type header with a media-type directive other than “application/json” will result in the HTTP “415 Unsupported Media Type” client error response code. Read more here

Question allow MTA smtpd from only specific IP address

Vic

New Pleskian
Hi all,

I run mail service on one domain with spamfiter (spamexpert), and other domains without.
For the domain with spam expert, I'd like to limit incoming MTA and allow only from the spam fiter server.
I filter IP address now in the firewall, but that will make the domains without spam filter service unusable.
How to make the configuration per domain?
Thanks

Vic
 
/usr/local/psa/admin/sbin/mail_handlers_control --add --priority=5
--name=check-quota-permanent
--queue=before-queue
--type=global
--mailname=spam_protected_domain
--executable=/usr/local/psa/handlers/hooks/check-quota
--context=permanent
--enabled

looks like the I have to write a executable for that, please correct me if I am wrong. Any document on that?
 
Last edited:
If I change postfix configuration directly, is it ok with Plesk? will it last after reboot, software update and etc? If so, I can use postfix per domain access control. Thanks guys, I switched from direct admin to plesk just 2 weeks ago. takes more time and coffee for me to get familiar.
 
What if I change postfix configuration directly, is it ok with Plesk? will it last after reboot, software update and etc? If so, I can use postfix per domain access control. I switched from direct admin to plesk just 2 weeks ago. takes some time and coffee for me to get familiar.
 
Back
Top