• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    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.

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