• 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

Allow incoming emails only from one IP address

Félix1

New Pleskian
Hello,

On my plesk server, i have several emails account.
These email addresses should receive only emails send by a specific server.
But for now, they can receive any email, including spam.

So, i would like to block all emails that are not coming from the allowed server.

How can i do this in plesk ?
As i am not a very good server admin, can you tell me exactly what i need to do in plesk?

Thank you.
 
Unfortunately you can't block all domains/ips except one with Black List because it is not support regexps.
I think that it would be better to write iptables rule for blocking all ips except one for your specific mail port.
 
Thank you for your help. I thought that i had to do something like that.
But which port must i block?
 
Back
Top