Hi

Recently I had some complains about the ammount of SPAM received.

After some searches I found this page:

https://www.linuxbabe.com/mail-server/configure-postscreen-in-postfix-to-block-spambots

Since it looked like a good idea I decided to give it a try

when I enabled postscreen in the server I did a test sending a email to see if things where working

the logs showed that the smtp process was not resolving domains

postfix/smtpd[14919]: NOQUEUE: reject: RCPT from unknown[209.85.128.45]: 450 4.1.8 <****@gmail.com>: Sender address rejected: Domain not found; from=<*****@gmail.com> to=<*******> proto=ESMTP helo=<mail-wm1-f45.google.com>

When I deactivated postscreen everything went back to normal.

Now the question:

In the page that I mentioned earlier there is a note about CentOS 7 (the distribution that I am using) that tells to

mkdir /var/spool/postfix/lib64
cp -vl /usr/lib64/libnss_* /var/spool/postfix/lib64

in adition to that I also copied libresolv

and the dns resolving failure persisted.

Am I missing something? I did some searches in google and didn't found anything relevant, since CentOS 7 is very used maybe somebody can point me in the right direction.

Thanks

Reply via email to