Postfix cannot receive email

Hello,

I am unable to receive email sent to any address configured in CyberPanel. I have used journalctl to see what happens when connection is received. Below is the log during the connection.

May 16 19:52:14 srv1.r9host.com postfix/smtpd[31014]: connect from mail-il1-f180.google.com[209.85.166.180]
May 16 19:52:14 srv1.r9host.com postfix/smtpd[31014]: TLS SNI mail.shetabrayan.com from mail-il1-f180.google.com[209.85.166.180] not matched, using default chain
May 16 19:52:14 srv1.r9host.com postfix/smtpd[31014]: warning: hash:/etc/postfix/script_filter is unavailable. open database /etc/postfix/script_filter.db: No such file or directory
May 16 19:52:14 srv1.r9host.com postfix/smtpd[31014]: warning: hash:/etc/postfix/script_filter lookup error for “domains@shetabrayan.com
May 16 19:52:14 srv1.r9host.com postfix/smtpd[31014]: NOQUEUE: reject: RCPT from mail-il1-f180.google.com[209.85.166.180]: 451 4.3.5 domains@shetabrayan.com: Recipient address rejected: Server configuration error; from=mdvlinquest@gmail.com to=domains@shetabrayan.com proto=ESMTP helo=<mail-il1-f180.google.com>
May 16 19:52:15 srv1.r9host.com postfix/smtpd[31014]: disconnect from mail-il1-f180.google.com[209.85.166.180] ehlo=2 starttls=1 mail=1 rcpt=0/1 bdat=0/1 quit=1 commands=5/7

How do I fix this issue?

Thanks.

i recommend you to use:

or
The Best Free Email Forwarding Service for Custom Domains | Forward Email [recommended]

and take control of your email via GMAIL…
instead of cyberpanel…
Ease the workload from CP :smile:

By handling email via different server reduces the Risk of Blackisting YOUR VPS IP

Good Luck!

For several reasons, we need to handle mails on our own server. The postfix has missconfigured but I’m not sure how to fix it. Please help me.

Thanks.

Any idea how to fix this issue?

Same trouble here :\

Did you recently activated ModSecurity @r9host?

I have checked postfix config and don’t see any reference to /etc/postfix/script_filter.db. Any idea?

I have fixed it by modifying the /etc/postfix/main.cf. I removed “check_recipient_access hash:/etc/postfix/script_filter” from line 55. Then restarted postfix: systemctl restart postfix