• 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 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