CyberHosting

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 "[email protected]"
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 <[email protected]>: Recipient address rejected: Server configuration error; from=<[email protected]> to=<[email protected]> 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.

Comments

  • i recommend you to use:
    https://improvmx.com/
    or
    https://forwardemail.net/en [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?
  • ModSec should have no implications for mail server. It would only affect mail systems in scripts IE if you are sending mail through Wordpress for example.
    Cyberpanel Managed & Unmanaged Shared & VPS Hosting by Cyberpanel Experts.

    https://www.cyberhosting.org
  • 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
  • Type your comment> @r9host said:
    > 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

    That means you are not using SSL correctly. Instead of removal setup your mail server correctly.
    Cyberpanel Managed & Unmanaged Shared & VPS Hosting by Cyberpanel Experts.

    https://www.cyberhosting.org
Sign In or Register to comment.
CyberPanel Discord

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!