• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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