• 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

urgent help needed

A

atomicmak

Guest
here is my smtp_psa file which i made.

but somehow i am still getting spam from china IP : 222.149.139.114

not working properly as i have mentioned
========================================


service smtp
{
socket_type = stream
protocol = tcp
wait = no
no_access = 222.128.0.0/12
no_access = 222.144.0.0/13
no_access = 222.156.0.0/15
no_access = 222.158.0.0/15
no_access = 222.16.0.0/12
no_access = 222.160.0.0/14
no_access = 222.164.0.0/16
no_access = 222.165.0.0/17
no_access = 222.165.0.0/17
no_access = 222.166.0.0/15
no_access = 222.166.0.0/15
no_access = 222.168.0.0/13
no_access = 222.176.0.0/12
no_access = 222.192.0.0/11
no_access = 222.224.0.0/14
no_access = 222.228.0.0/16
no_access = 222.229.0.0/18

log_on_failure = HOST
disable = no
user = root
instances = UNLIMITED
server = /var/qmail/bin/tcp-env
server_args = -Rt0 /var/qmail/bin/relaylock /var/qmail/bin/qmail-smtpd /var/qmail/bin/smtp_auth /var/qmail/bin/true /var/qmail/bin/cmd5checkpw /var/qmail/bin/true
per_source = 20
}

========================================

can someone help me how can i block set of ip and some ip blocks?

As i am still receiving china spam daily i want to block it.
 
Back
Top