Externail emails do not reach inbox. Postfix

Hello,

I have a Hostinger VPS with CyberPanel.
When I try to send email from Yahoo, I get an undelivered mail returned to sender email.

Here’s an example:

Received: from 127.0.0.1
 by atlas-production.v2-mail-prod1-gq1.omega.yahoo.com pod-id atlas--production-gq1-69c878588f-ttrpt.gq1.yahoo.com with HTTP; Wed, 28 Dec 2022 16:14:03 +0000
Return-Path: <>
X-Originating-Ip: [151.106.112.100]
Received-SPF: none (domain of mail.harisongenerators.com does not designate permitted sender hosts)
Authentication-Results: atlas-production.v2-mail-prod1-gq1.omega.yahoo.com;
 dkim=unknown;
 spf=none smtp.mailfrom=mail.harisongenerators.com;
 dmarc=fail(p=NONE) header.from=mail.harisongenerators.com;
X-Apparently-To: preetindersodhi@yahoo.com; Wed, 28 Dec 2022 16:14:03 +0000
Received: from 151.106.112.100 (EHLO mail.harisongenerators.com)
 by 10.253.230.155 with SMTPs
 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256);
 Wed, 28 Dec 2022 16:14:03 +0000
Received: by mail.harisongenerators.com (Postfix)
	id 37B7C80F29; Wed, 28 Dec 2022 16:13:59 +0000 (UTC)
Date: Wed, 28 Dec 2022 16:13:59 +0000 (UTC)
From: Mail Delivery System <MAILER-DAEMON@mail.harisongenerators.com>
Subject: Undelivered Mail Returned to Sender
To: preetindersodhi@yahoo.com
Auto-Submitted: auto-replied
MIME-Version: 1.0
Content-Type: multipart/report; report-type=delivery-status;
	boundary="54A2880245.1672244039/mail.harisongenerators.com"
Message-Id: <20221228161359.37B7C80F29@mail.harisongenerators.com>
Content-Length: 13758

This is a MIME-encapsulated message.

--54A2880245.1672244039/mail.harisongenerators.com
Content-Description: Notification
Content-Type: text/plain; charset=us-ascii

This is the mail system at host mail.harisongenerators.com.

I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.

For further assistance, please send mail to postmaster.

If you do so, please include this problem report. You can
delete your own text from the attached returned message.

                   The mail system

<admin@engineeringcivil.com>: service unavailable

--54A2880245.1672244039/mail.harisongenerators.com
Content-Description: Delivery report
Content-Type: message/delivery-status

Reporting-MTA: dns; mail.harisongenerators.com
X-Postfix-Queue-ID: 54A2880245
X-Postfix-Sender: rfc822; preetindersodhi@yahoo.com
Arrival-Date: Wed, 28 Dec 2022 16:12:35 +0000 (UTC)

Final-Recipient: rfc822; admin@engineeringcivil.com
Original-Recipient: rfc822;admin@engineeringcivil.com
Action: failed
Status: 5.3.0
Diagnostic-Code: x-unix; service unavailable

--54A2880245.1672244039/mail.harisongenerators.com
Content-Description: Undelivered Message
Content-Type: message/rfc822

Return-Path: <preetindersodhi@yahoo.com>
Received: from vps.engineeringcivil.com (localhost [127.0.0.1])
	by mail.harisongenerators.com (Postfix) with ESMTPS id 50A0C80FB8
	for <admin@engineeringcivil.com>; Wed, 28 Dec 2022 16:12:35 +0000 (UTC)
DKIM-Filter: OpenDKIM Filter v2.11.0 mail.harisongenerators.com 50A0C80FB8
Authentication-Results: mail.harisongenerators.com;
	dkim=pass (2048-bit key) header.d=yahoo.com header.i=@yahoo.com header.b="m0eJoiJg"
Received: (from spamd@localhost)
	by vps.engineeringcivil.com (8.14.7/8.14.7/Submit) id 2BSGCYqE785945
	for admin@engineeringcivil.com; Wed, 28 Dec 2022 16:12:34 GMT
X-Authentication-Warning: vps.engineeringcivil.com: spamd set sender to preetindersodhi@yahoo.com using -f
Received: from vps.engineeringcivil.com (localhost [127.0.0.1])
	by mail.harisongenerators.com (Postfix) with ESMTPS id 3983480F80
	for <admin@engineeringcivil.com>; Wed, 28 Dec 2022 16:11:59 +0000 (UTC)
DKIM-Filter: OpenDKIM Filter v2.11.0 mail.harisongenerators.com 3983480F80
Received: (from spamd@localhost)
	by vps.engineeringcivil.com (8.14.7/8.14.7/Submit) id 2BSGBw93785423
	for admin@engineeringcivil.com; Wed, 28 Dec 2022 16:11:58 GMT
X-Authentication-Warning: vps.engineeringcivil.com: spamd set sender to preetindersodhi@yahoo.com using -f
X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on
	vps.engineeringcivil.com
X-Spam-Level: 
X-Spam-Status: No, score=-0.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID,
	DKIM_VALID_AU,FREEMAIL_FROM,HTML_MESSAGE,SPF_HELO_NONE,TVD_SPACE_RATIO
	autolearn=unavailable autolearn_force=no version=3.4.0, No, No
Received: from vps.engineeringcivil.com (localhost [127.0.0.1])
	by mail.harisongenerators.com (Postfix) with ESMTPS id 9AB10812E2
	for <admin@engineeringcivil.com>; Wed, 28 Dec 2022 16:11:05 +0000 (UTC)
DKIM-Filter: OpenDKIM Filter v2.11.0 mail.harisongenerators.com 9AB10812E2
Received: (from spamd@localhost)
	by vps.engineeringcivil.com (8.14.7/8.14.7/Submit) id 2BSGB4ND784383
	for admin@engineeringcivil.com; Wed, 28 Dec 2022 16:11:04 GMT
X-Authentication-Warning: vps.engineeringcivil.com: spamd set sender to preetindersodhi@yahoo.com using -f
Received: from vps.engineeringcivil.com (localhost [127.0.0.1])
	by mail.harisongenerators.com (Postfix) with ESMTPS id 2A94C80F1D
	for <admin@engineeringcivil.com>; Wed, 28 Dec 2022 16:10:27 +0000 (UTC)
DKIM-Filter: OpenDKIM Filter v2.11.0 mail.harisongenerators.com 2A94C80F1D
Received: (from spamd@localhost)
	by vps.engineeringcivil.com (8.14.7/8.14.7/Submit) id 2BSGARPn784113
	for admin@engineeringcivil.com; Wed, 28 Dec 2022 16:10:27 GMT
X-Authentication-Warning: vps.engineeringcivil.com: spamd set sender to preetindersodhi@yahoo.com using -f
Received: from vps.engineeringcivil.com (localhost [127.0.0.1])
	by mail.harisongenerators.com (Postfix) with ESMTPS id 2654D80F86
	for <admin@engineeringcivil.com>; Wed, 28 Dec 2022 16:09:34 +0000 (UTC)
DKIM-Filter: OpenDKIM Filter v2.11.0 mail.harisongenerators.com 2654D80F86
Received: (from spamd@localhost)
	by vps.engineeringcivil.com (8.14.7/8.14.7/Submit) id 2BSG9XpN784005
	for admin@engineeringcivil.com; Wed, 28 Dec 2022 16:09:33 GMT
X-Authentication-Warning: vps.engineeringcivil.com: spamd set sender to preetindersodhi@yahoo.com using -f
Received: from vps.engineeringcivil.com (localhost [127.0.0.1])
	by mail.harisongenerators.com (Postfix) with ESMTPS id 90D8881001
	for <admin@engineeringcivil.com>; Wed, 28 Dec 2022 16:08:03 +0000 (UTC)
DKIM-Filter: OpenDKIM Filter v2.11.0 mail.harisongenerators.com 90D8881001
Received: (from spamd@localhost)
	by vps.engineeringcivil.com (8.14.7/8.14.7/Submit) id 2BSG83ER782899
	for admin@engineeringcivil.com; Wed, 28 Dec 2022 16:08:03 GMT
X-Authentication-Warning: vps.engineeringcivil.com: spamd set sender to preetindersodhi@yahoo.com using -f
Received: from vps.engineeringcivil.com (localhost [127.0.0.1])
	by mail.harisongenerators.com (Postfix) with ESMTPS id 98DED80244
	for <admin@engineeringcivil.com>; Wed, 28 Dec 2022 16:07:55 +0000 (UTC)
DKIM-Filter: OpenDKIM Filter v2.11.0 mail.harisongenerators.com 98DED80244
Received: (from spamd@localhost)
	by vps.engineeringcivil.com (8.14.7/8.14.7/Submit) id 2BSG7tNr782345
	for admin@engineeringcivil.com; Wed, 28 Dec 2022 16:07:55 GMT
X-Authentication-Warning: vps.engineeringcivil.com: spamd set sender to preetindersodhi@yahoo.com using -f
Received: from vps.engineeringcivil.com (localhost [127.0.0.1])
	by mail.harisongenerators.com (Postfix) with ESMTPS id 094C88117F
	for <admin@engineeringcivil.com>; Wed, 28 Dec 2022 16:06:33 +0000 (UTC)
DKIM-Filter: OpenDKIM Filter v2.11.0 mail.harisongenerators.com 094C88117F
Received: (from spamd@localhost)
	by vps.engineeringcivil.com (8.14.7/8.14.7/Submit) id 2BSG6WGC781823
	for admin@engineeringcivil.com; Wed, 28 Dec 2022 16:06:32 GMT
X-Authentication-Warning: vps.engineeringcivil.com: spamd set sender to preetindersodhi@yahoo.com using -f
Received: from vps.engineeringcivil.com (localhost [127.0.0.1])
	by mail.harisongenerators.com (Postfix) with ESMTPS id 87EBD80AC1
	for <admin@engineeringcivil.com>; Wed, 28 Dec 2022 16:06:27 +0000 (UTC)
DKIM-Filter: OpenDKIM Filter v2.11.0 mail.harisongenerators.com 87EBD80AC1
Received: (from spamd@localhost)
	by vps.engineeringcivil.com (8.14.7/8.14.7/Submit) id 2BSG6RKu781246
	for admin@engineeringcivil.com; Wed, 28 Dec 2022 16:06:27 GMT
X-Authentication-Warning: vps.engineeringcivil.com: spamd set sender to preetindersodhi@yahoo.com using -f
Received: from vps.engineeringcivil.com (localhost [127.0.0.1])
	by mail.harisongenerators.com (Postfix) with ESMTPS id 0A48780F7C
	for <admin@engineeringcivil.com>; Wed, 28 Dec 2022 16:05:02 +0000 (UTC)
DKIM-Filter: OpenDKIM Filter v2.11.0 mail.harisongenerators.com 0A48780F7C
Received: (from spamd@localhost)
	by vps.engineeringcivil.com (8.14.7/8.14.7/Submit) id 2BSG51Ld780274
	for admin@engineeringcivil.com; Wed, 28 Dec 2022 16:05:02 GMT
X-Authentication-Warning: vps.engineeringcivil.com: spamd set sender to preetindersodhi@yahoo.com using -f
Received: from vps.engineeringcivil.com (localhost [127.0.0.1])
	by mail.harisongenerators.com (Postfix) with ESMTPS id 3509980F66
	for <admin@engineeringcivil.com>; Wed, 28 Dec 2022 16:04:33 +0000 (UTC)
DKIM-Filter: OpenDKIM Filter v2.11.0 mail.harisongenerators.com 3509980F66
Received: (from spamd@localhost)
	by vps.engineeringcivil.com (8.14.7/8.14.7/Submit) id 2BSG4Xat779727
	for admin@engineeringcivil.com; Wed, 28 Dec 2022 16:04:33 GMT
X-Authentication-Warning: vps.engineeringcivil.com: spamd set sender to preetindersodhi@yahoo.com using -f
Received: from vps.engineeringcivil.com (localhost [127.0.0.1])
	by mail.harisongenerators.com (Postfix) with ESMTPS id CEAD680F4C
	for <admin@engineeringcivil.com>; Wed, 28 Dec 2022 16:04:05 +0000 (UTC)
DKIM-Filter: OpenDKIM Filter v2.11.0 mail.harisongenerators.com CEAD680F4C
Received: (from spamd@localhost)
	by vps.engineeringcivil.com (8.14.7/8.14.7/Submit) id 2BSG45mt779336
	for admin@engineeringcivil.com; Wed, 28 Dec 2022 16:04:05 GMT
X-Authentication-Warning: vps.engineeringcivil.com: spamd set sender to preetindersodhi@yahoo.com using -f
Received: from sonic318-26.consmr.mail.bf2.yahoo.com (sonic318-26.consmr.mail.bf2.yahoo.com [74.6.135.81])
	by mail.harisongenerators.com (Postfix) with ESMTPS id 8E23F80F29
	for <admin@engineeringcivil.com>; Wed, 28 Dec 2022 16:03:42 +0000 (UTC)
DKIM-Filter: OpenDKIM Filter v2.11.0 mail.harisongenerators.com 8E23F80F29
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1672243417; bh=2zI2UmoSfqZ558xh1ajohZyMOFcvphgIxFvtxeIWQZI=; h=Date:From:To:Subject:References:From:Subject:Reply-To; 

X-Sonic-MF: <preetindersodhi@yahoo.com>
Received: from sonic.gate.mail.ne1.yahoo.com by sonic318.consmr.mail.bf2.yahoo.com with HTTP; Wed, 28 Dec 2022 16:03:37 +0000
Date: Wed, 28 Dec 2022 16:03:36 +0000 (UTC)
From: Preetinder Singh <preetindersodhi@yahoo.com>
To: "admin@engineeringcivil.com" <admin@engineeringcivil.com>
Message-ID: <1444538105.1636258.1672243416437@mail.yahoo.com>
Subject: hello
MIME-Version: 1.0
Content-Type: multipart/alternative; 
	boundary="----=_Part_1636257_1232512061.1672243416436"
References: <1444538105.1636258.1672243416437.ref@mail.yahoo.com>
X-Mailer: WebService/1.1.20982 YMailNorrin
X-yoursite-MailScanner: Found to be clean, Found to be clean, Found to be clean, Found to be clean, Found to be clean, Found to be clean, Found to be clean, Found to be clean, Found to be clean, Found to be clean, Found to be clean, Found to be clean, Found to be clean
X-yoursite-MailScanner-Information: Please contact the ISP for more information
X-yoursite-MailScanner-ID: 50A0C80FB8.A6690
X-yoursite-MailScanner-From: preetindersodhi@yahoo.com

------=_Part_1636257_1232512061.1672243416436
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit

test3

------=_Part_1636257_1232512061.1672243416436
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 7bit

<html><head></head><body><div class="yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><div dir="ltr" data-setdir="false">test3<br></div></div></body></html>
------=_Part_1636257_1232512061.1672243416436--

--54A2880245.1672244039/mail.harisongenerators.com--

How do I fix it?

Also, I think there is an issue of infinite loop.

postcat: name_mask: ipv4
postcat: inet_addr_local: configured 3 IPv4 addresses
*** ENVELOPE RECORDS active/46E8D80FEC ***
message_size:           43535             789               1               0           43479               0
message_arrival_time: Wed Dec 28 19:20:44 2022
sender: mailer-daemon@vps.engineeringcivil.com
create_time: Wed Dec 28 19:20:44 2022
content_filter: spamassassin
named_attribute: log_ident=C9A4983574
named_attribute: rewrite_context=local
named_attribute: log_client_name=localhost
named_attribute: log_client_address=127.0.0.1
named_attribute: log_client_port=54224
named_attribute: log_message_origin=localhost[127.0.0.1]
named_attribute: log_helo_name=vps.engineeringcivil.com
named_attribute: log_protocol_name=ESMTP
named_attribute: client_name=localhost
named_attribute: reverse_client_name=localhost
named_attribute: client_address=127.0.0.1
named_attribute: client_port=54224
named_attribute: server_address=127.0.0.1
named_attribute: server_port=25
named_attribute: helo_name=vps.engineeringcivil.com
named_attribute: protocol_name=ESMTP
named_attribute: client_address_type=2
named_attribute: dsn_orig_rcpt=rfc822;mailer-daemon@vps.engineeringcivil.com
original_recipient: mailer-daemon@vps.engineeringcivil.com
recipient: mailer-daemon@vps.engineeringcivil.com
*** MESSAGE CONTENTS active/46E8D80FEC ***
regular_text: Received: from vps.engineeringcivil.com (localhost [127.0.0.1])
regular_text: 	by mail.harisongenerators.com (Postfix) with ESMTPS id C9A4983574
regular_text: 	for <mailer-daemon@vps.engineeringcivil.com>; Wed, 28 Dec 2022 19:20:44 +0000 (UTC)
regular_text: DKIM-Filter: OpenDKIM Filter v2.11.0 mail.harisongenerators.com C9A4983574
regular_text: Received: (from spamd@localhost)
regular_text: 	by vps.engineeringcivil.com (8.14.7/8.14.7/Submit) id 2BSJKikr139741
regular_text: 	for mailer-daemon@vps.engineeringcivil.com; Wed, 28 Dec 2022 19:20:44 GMT
regular_text: X-Authentication-Warning: vps.engineeringcivil.com: spamd set sender to mailer-daemon@vps.engineeringcivil.com using -f
regular_text: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on
regular_text: 	vps.engineeringcivil.com
regular_text: X-Spam-Level: 
regular_text: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,
regular_text: 	T_TVD_MIME_NO_HEADERS autolearn=unavailable autolearn_force=no version=3.4.0, No
regular_text: Received: from vps.engineeringcivil.com (localhost [127.0.0.1])
regular_text: 	by mail.harisongenerators.com (Postfix) with ESMTPS id 61D018356F
regular_text: 	for <mailer-daemon@vps.engineeringcivil.com>; Wed, 28 Dec 2022 19:16:54 +0000 (UTC)
regular_text: DKIM-Filter: OpenDKIM Filter v2.11.0 mail.harisongenerators.com 61D018356F
regular_text: Received: (from spamd@localhost)
regular_text: 	by vps.engineeringcivil.com (8.14.7/8.14.7/Submit) id 2BSJGs9e135968
regular_text: 	for mailer-daemon@vps.engineeringcivil.com; Wed, 28 Dec 2022 19:16:54 GMT
regular_text: X-Authentication-Warning: vps.engineeringcivil.com: spamd set sender to mailer-daemon@vps.engineeringcivil.com using -f
regular_text: Received: from vps.engineeringcivil.com (localhost [127.0.0.1])
regular_text: 	by mail.harisongenerators.com (Postfix) with ESMTPS id 7473D800C7
regular_text: 	for <mailer-daemon@vps.engineeringcivil.com>; Wed, 28 Dec 2022 19:13:08 +0000 (UTC)
regular_text: DKIM-Filter: OpenDKIM Filter v2.11.0 mail.harisongenerators.com 7473D800C7
regular_text: Received: (from spamd@localhost)
regular_text: 	by vps.engineeringcivil.com (8.14.7/8.14.7/Submit) id 2BSJD8kj132378
regular_text: 	for mailer-daemon@vps.engineeringcivil.com; Wed, 28 Dec 2022 19:13:08 GMT
regular_text: X-Authentication-Warning: vps.engineeringcivil.com: spamd set sender to mailer-daemon@vps.engineeringcivil.com using -f
regular_text: Received: from vps.engineeringcivil.com (localhost [127.0.0.1])
regular_text: 	by mail.harisongenerators.com (Postfix) with ESMTPS id BBEAF800D6
regular_text: 	for <mailer-daemon@vps.engineeringcivil.com>; Wed, 28 Dec 2022 19:08:14 +0000 (UTC)
regular_text: DKIM-Filter: OpenDKIM Filter v2.11.0 mail.harisongenerators.com BBEAF800D6
regular_text: Received: (from spamd@localhost)
regular_text: 	by vps.engineeringcivil.com (8.14.7/8.14.7/Submit) id 2BSJ8E0W129123
regular_text: 	for mailer-daemon@vps.engineeringcivil.com; Wed, 28 Dec 2022 19:08:14 GMT
regular_text: X-Authentication-Warning: vps.engineeringcivil.com: spamd set sender to mailer-daemon@vps.engineeringcivil.com using -f
regular_text: Received: from vps.engineeringcivil.com (localhost [127.0.0.1])
regular_text: 	by mail.harisongenerators.com (Postfix) with ESMTPS id 335238353D
regular_text: 	for <mailer-daemon@vps.engineeringcivil.com>; Wed, 28 Dec 2022 19:01:49 +0000 (UTC)
regular_text: DKIM-Filter: OpenDKIM Filter v2.11.0 mail.harisongenerators.com 335238353D
regular_text: Received: (from spamd@localhost)
regular_text: 	by vps.engineeringcivil.com (8.14.7/8.14.7/Submit) id 2BSJ1nbQ125110
regular_text: 	for mailer-daemon@vps.engineeringcivil.com; Wed, 28 Dec 2022 19:01:49 GMT
regular_text: X-Authentication-Warning: vps.engineeringcivil.com: spamd set sender to mailer-daemon@vps.engineeringcivil.com using -f
regular_text: Received: from vps.engineeringcivil.com (localhost [127.0.0.1])
regular_text: 	by mail.harisongenerators.com (Postfix) with ESMTPS id 032F6800C7
regular_text: 	for <mailer-daemon@vps.engineeringcivil.com>; Wed, 28 Dec 2022 18:58:10 +0000 (UTC)
regular_text: DKIM-Filter: OpenDKIM Filter v2.11.0 mail.harisongenerators.com 032F6800C7
regular_text: Received: (from spamd@localhost)
regular_text: 	by vps.engineeringcivil.com (8.14.7/8.14.7/Submit) id 2BSIw9ie121923
regular_text: 	for mailer-daemon@vps.engineeringcivil.com; Wed, 28 Dec 2022 18:58:09 GMT
regular_text: X-Authentication-Warning: vps.engineeringcivil.com: spamd set sender to mailer-daemon@vps.engineeringcivil.com using -f
regular_text: Received: from vps.engineeringcivil.com (localhost [127.0.0.1])
regular_text: 	by mail.harisongenerators.com (Postfix) with ESMTPS id E2A9280F84
regular_text: 	for <mailer-daemon@vps.engineeringcivil.com>; Wed, 28 Dec 2022 18:54:39 +0000 (UTC)
regular_text: DKIM-Filter: OpenDKIM Filter v2.11.0 mail.harisongenerators.com E2A9280F84
regular_text: Received: (from root@localhost)
regular_text: 	by vps.engineeringcivil.com (8.14.7/8.14.7/Submit) id 2BSHlFfd054255;
regular_text: 	Wed, 28 Dec 2022 17:47:15 GMT
regular_text: Date: Wed, 28 Dec 2022 17:47:15 GMT
regular_text: Message-Id: <202212281747.2BSHlFfd054255@vps.engineeringcivil.com>
regular_text: From: root@vps.engineeringcivil.com
regular_text: To: root@vps.engineeringcivil.com
regular_text: Subject: lfd on vps.engineeringcivil.com: Suspicious process running under user postfix
regular_text: X-yoursite-MailScanner: Found to be clean, Found to be clean, Found to be clean, Found to be clean, Found to be clean, Found to be clean, Found to be clean, Found to be clean, Found to be clean, Found to be clean, Found to be clean, Found to be clean, Found to be clean
regular_text: X-yoursite-MailScanner-Information: Please contact the ISP for more information
regular_text: X-yoursite-MailScanner-ID: E046681221.A8314
regular_text: X-yoursite-MailScanner-From: root@vps.engineeringcivil.com
regular_text: 
regular_text: Time:    Wed Dec 28 17:47:15 2022 +0000
regular_text: PID:     30659 (Parent PID:6761)
regular_text: Account: postfix
regular_text: Uptime:  1415 seconds
regular_text: 
regular_text: 
regular_text: Executable:
regular_text: 
regular_text: /usr/libexec/postfix/cleanup
regular_text: 
regular_text: 
regular_text: Command Line (often faked in exploits):
regular_text: 
regular_text: cleanup -z -t unix -u
regular_text: 
regular_text: 
regular_text: Network connections by the process (if any):
regular_text: 
regular_text: tcp: 127.0.0.1:54252 -> 127.0.0.1:8891
regular_text: 
regular_text: 
regular_text: Files open by the process (if any):
regular_text: 
regular_text: /dev/null
regular_text: /dev/null
regular_text: /dev/null
regular_text: /var/spool/postfix/pid/unix.cleanup
regular_text: anon_inode:[eventpoll]
regular_text: /var/spool/postfix/incoming/B0B1480F66
regular_text: 
regular_text: 
regular_text: --2BSI8v5f075237.1672250937/vps.engineeringcivil.com--
regular_text: 
regular_text: 
regular_text: --2BSIgB3G107003.1672252931/vps.engineeringcivil.com--
regular_text: 
*** HEADER EXTRACTED active/46E8D80FEC ***
*** MESSAGE FILE END active/46E8D80FEC ***

I see thousands of such emails in Mail Watch.

/etc/postfix/main.cf

sample_directory = /usr/share/doc/postfix-2.10.1/samples
readme_directory = /usr/share/doc/postfix-2.10.1/README_FILES


myhostname = mail.harisongenerators.com
mynetworks = 127.0.0.0/8
message_size_limit = 30720000
virtual_alias_domains =
virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf, mysql:/etc/postfix/mysql-virtual_email2email.cf
virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql-virtual_domains.cf
virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf
virtual_mailbox_base = /home/vmail
virtual_uid_maps = static:5000
virtual_gid_maps = static:5000
smtpd_sasl_type = dovecot
smtpd_sasl_path = private/auth
smtpd_sasl_auth_enable = yes
broken_sasl_auth_clients = yes
smtpd_sasl_authenticated_header = yes
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination


smtpd_use_tls = yes
smtpd_tls_cert_file = /etc/pki/dovecot/certs/dovecot.pem
smtpd_tls_key_file = /etc/pki/dovecot/private/dovecot.pem
virtual_create_maildirsize = yes
virtual_maildir_extended = yes
proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains $relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps $recipient_canonical_maps $relocated_maps $transport_maps $mynetworks $virtual_mailbox_limit_maps
virtual_transport = dovecot
dovecot_destination_recipient_limit = 1
inet_interfaces = all
smtp_tls_security_level = may
disable_vrfy_command = yes
smtpd_milters = inet:127.0.0.1:8891
non_smtpd_milters = $smtpd_milters
milter_default_action = accept

tls_server_sni_maps = hash:/etc/postfix/vmail_ssl.map
header_checks = regexp:/etc/postfix/header_checks
smtpd_data_restrictions = check_policy_service unix:/var/log/policyServerSocket
smtpd_policy_service_default_action = DUNNO

Welcome @preetindersodhi Happy you are here

Kindly issue ssl for your mailserver domain

https://151.106.112.100:8090/manageSSL/sslForMailServer

I already did that. Just tried to sent another email and it has reached the Mail Queue but not the inbox.


postcat: name_mask: ipv4
postcat: inet_addr_local: configured 3 IPv4 addresses
*** ENVELOPE RECORDS active/6DD17837AC ***
message_size:            6795             740               1               0            6736               0
message_arrival_time: Thu Dec 29 11:56:00 2022
sender: preetindersodhi@yahoo.com
create_time: Thu Dec 29 11:56:00 2022
content_filter: spamassassin
named_attribute: log_ident=19A4982F0F
named_attribute: rewrite_context=local
named_attribute: log_client_name=localhost
named_attribute: log_client_address=127.0.0.1
named_attribute: log_client_port=47440
named_attribute: log_message_origin=localhost[127.0.0.1]
named_attribute: log_helo_name=vps.engineeringcivil.com
named_attribute: log_protocol_name=ESMTP
named_attribute: client_name=localhost
named_attribute: reverse_client_name=localhost
named_attribute: client_address=127.0.0.1
named_attribute: client_port=47440
named_attribute: server_address=127.0.0.1
named_attribute: server_port=25
named_attribute: helo_name=vps.engineeringcivil.com
named_attribute: protocol_name=ESMTP
named_attribute: client_address_type=2
named_attribute: dsn_orig_rcpt=rfc822;admin@engineeringcivil.com
original_recipient: admin@engineeringcivil.com
recipient: admin@engineeringcivil.com
*** MESSAGE CONTENTS active/6DD17837AC ***
regular_text: Received: from vps.engineeringcivil.com (localhost [127.0.0.1])
regular_text: 	by mail.harisongenerators.com (Postfix) with ESMTPS id 19A4982F0F
regular_text: 	for <admin@engineeringcivil.com>; Thu, 29 Dec 2022 11:56:00 +0000 (UTC)
regular_text: DKIM-Filter: OpenDKIM Filter v2.11.0 mail.harisongenerators.com 19A4982F0F
regular_text: Authentication-Results: mail.harisongenerators.com;
regular_text: 	dkim=pass (2048-bit key) header.d=yahoo.com header.i=@yahoo.com header.b="VK4E7AnM"
regular_text: Received: (from spamd@localhost)
regular_text: 	by vps.engineeringcivil.com (8.14.7/8.14.7/Submit) id 2BTBu0jh233116
regular_text: 	for admin@engineeringcivil.com; Thu, 29 Dec 2022 11:56:00 GMT
regular_text: X-Authentication-Warning: vps.engineeringcivil.com: spamd set sender to preetindersodhi@yahoo.com using -f
regular_text: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on
regular_text: 	vps.engineeringcivil.com
regular_text: X-Spam-Level: 
regular_text: X-Spam-Status: No, score=-0.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID,
regular_text: 	DKIM_VALID_AU,FREEMAIL_FROM,HTML_MESSAGE,SPF_HELO_NONE,TVD_SPACE_RATIO
regular_text: 	autolearn=unavailable autolearn_force=no version=3.4.0, No
regular_text: Received: from vps.engineeringcivil.com (localhost [127.0.0.1])
regular_text: 	by mail.harisongenerators.com (Postfix) with ESMTPS id E68C783697
regular_text: 	for <admin@engineeringcivil.com>; Thu, 29 Dec 2022 11:55:30 +0000 (UTC)
regular_text: DKIM-Filter: OpenDKIM Filter v2.11.0 mail.harisongenerators.com E68C783697
regular_text: Received: (from spamd@localhost)
regular_text: 	by vps.engineeringcivil.com (8.14.7/8.14.7/Submit) id 2BTBtURM232698
regular_text: 	for admin@engineeringcivil.com; Thu, 29 Dec 2022 11:55:30 GMT
regular_text: X-Authentication-Warning: vps.engineeringcivil.com: spamd set sender to preetindersodhi@yahoo.com using -f
regular_text: Received: from sonic303-2.consmr.mail.bf2.yahoo.com (sonic303-2.consmr.mail.bf2.yahoo.com [74.6.131.41])
regular_text: 	by mail.harisongenerators.com (Postfix) with ESMTPS id 34DD3837B7
regular_text: 	for <admin@engineeringcivil.com>; Thu, 29 Dec 2022 11:55:03 +0000 (UTC)
regular_text: DKIM-Filter: OpenDKIM Filter v2.11.0 mail.harisongenerators.com 34DD3837B7
regular_text: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1672314900; bh=rlW41WnADgXglprLaFEEeYeU75GUNOuN8RL9MhKEsUo=; h=Date:From:To:Subject:References:From:Subject:Reply-To; b=VK4E7AnMInMoB4bgG7DhRum63a+6YVKHivMPDdvj/BVt0B0CO4igBTqmabaKQFNK9BDy/4GNvcLr3+fCCrpCl4LXUPbmu4ejpwZqxU2PB0SWNyfj0yxIpGIjMAtEoxHI7dRRpJlGnhzbpdz4b38Tlo7EbNx63hltS3AwwBQKFF7q1pHQEk9325E9JjVigCMJZbh6VLUbYLeaG7mIpRwzC/M2jwJ4yChRw7flIMO7tWrsvkBSrkDVCHCwhbgxvhPo2GxT1wUcRdpuvPaLbcw+kbzUMdqXugbY71gj7VcLYeqLDfwNYDl/7vOISVTerKc60yCgJipBckzSEqmNKtx8mQ==
regular_text: X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1672314900; bh=QPXIfIE1sn4qvahrSZP6fkv3QYCOVAw/jR2a5DqrDyl=; h=X-Sonic-MF:Date:From:To:Subject:From:Subject; b=qLw1z04dO78ccuSIA348vmoAxyTIjNPJ8g6x7aTtTSDjh303u01tM5hNTeJPQWkJmUUjcgEjh38v3zgxBC7oGcGXv/rxzI8nEn4MYejBtFmI3q3bfpZvmfRDUmfQtscIWppzWadyiHZk3OjTt0apg3pJobyXfOX1ndpY8TOeVRk89S7Bol+nmWpxgaamtTG4mQLqdsIN/yaxrKjaovR5sMPW+0nb5fJzXOvs8YFn99EJhuDYMxa+c2L9Ij8qekMrZR7mQvhWtcy0v0ionDT7EQAI7+xj2uPnZjXtS5hhXr8AWYwgZGvFt+tOjuT3hWL4eal5xtuTfsD2iPUvLGgIbA==
regular_text: X-YMail-OSG: ksCGGIcVM1nGZtPMSJzA.86wdNcl2oeyHTNijzm4izFTb6RGCbR.Vp9Zw_jFSeC
regular_text:  Bl.uA0fvGly1gfq0dfQbxh_WUTCmhLv5vvBoHHeCnsf_MBeCr5_YOczdw.SHXf_XSKFLRjCN4Lis
regular_text:  ken6cJotbtgKCFPrPuW5Na_kvaSGYMNc.V62TWlF5SDCU7XBKBbT5eEYVjPFVmBV4Dp2Rvw4yfBP
regular_text:  AoP40Em85HDloab8FtEizuUJP20edIjacr.qmefY.0xwBBAJNQl1VasK08v62H6A.xdMbA_yY6gc
regular_text:  lP1vsNGxvK_QBTL.zQ4QVlr80_2ufLDM8_FSZegJacSnhTcNRa3u1Fohm5OGHJHsfXJSfOktxyb1
regular_text:  wVT4QxxaU9oqpgf_SpyrgaVHK0nP1JVmfXERs_OC3SPhRpugQY6eQDHtE_VmEtsLvU4XKR__0xDX
regular_text:  9_Ydk0VkdbaV4yYQ7oFo3Xop8XIljDLrn5jF5WhQ4flFXXX4UaCoogkooQwQd.ZfNx6T5BWnpOkz
regular_text:  i6YbJF44PkjHLz9rmk_eR93BR5CHfP89S2eL4sflC6aO516d6Hvkd66V1d9Kip37Zv.gQ9GI_jlb
regular_text:  2D1ahOJjXrB424A.tu8WWC4fAjNjHj6nhAOWUOzhKo3FPjKKyZsxJrJ8EyCNqhurIjj6LrvuWRMz
regular_text:  3COM.0gInfoi2KzudxsqLhf0WlaLf71VAX1qXZKoygNuyUI2PZXA.XKd8yf_drBPXBREfCi9jZqC
regular_text:  ropGs3jJdlZZSf4KsQiP0o2JOsMrTCkxn78JWLWjLaj5zG.aTBxvsTZt60pkzX_RqTo6COS3RotG
regular_text:  DW5.fu9xVErf4QUGfbgFS83fGFlMf.3J.PGbbMTobkZs92PQaFHm8pRM9Ne2foei1b2rridyXzie
regular_text:  r8Xccqldyc01gTeb8qPvuSaPDJGVmILggq4BL_4pZOZnD.jwOHmlxV4Dh6tdvWWJ6raxctBiI34k
regular_text:  24rxGQ008CMyYU8QkFycBoGe.jiDi49_sZr80PpYYzo0UCd5evtsQcZ0A3XUZirO7He.I3mZolX9
regular_text:  2O9qnPrgc9ocrdYK5GnRNsOLag630ZaGiCUgnAaboq.c.NuDbrEV19G4TXOm_jimkAuNk3yLpt8K
regular_text:  jxiU6BWtNIgRgjZJ_EykCRnUpv3wvEFmDFy5LScqwOpjW_OBuqIboxtMUJfwCl_lYGHCbtu2p2ZI
regular_text:  9oiwIUi1ySCQKsH8OxTWmbEEUKPPK3SM9iNWPqkLDKxiUR_DNRZ6Fn0Ofs_.n3o9lcnlfucgcrCG
regular_text:  awQ0wV2CLdWoXMIsEUMvg0ZUQmn0RtiBHlEJbUCA3ETfU2LuaLz3945U59o12xzFu.z69lq_Tpto
regular_text:  OUz_20QGRXpEIHnRES7JXqw36o6GDVFEa5TpacDTHWOukcxG5_k0fqob4HDOm2MLPlG0JOJkjtKQ
regular_text:  zhRrX0qktvMGVICjtmY8AHZbVd2b00osE5KKAGa8K3cV_lJ.T77YPqgfCq0YpTl.UnakWAM03uWo
regular_text:  tD2djXRF6ysOCX7wCxBMhmv.JHKPFO.NDw2oSiPD7Yg6fRjGlT2_J9W1qFLu5la0.wsONVjWcHb2
regular_text:  PEB5IcLyzTs5corBXAuNjrQA4SRfKb2nYhtI23rCZJ0n3XAyju2UO4GdPvNYWWA4pq98Gh7zACuK
regular_text:  R7GV5v7L_o0e4xNa84ymwUrowLcneFr6GRkdAQoQEDfHxp72GGa4dT1AiZnXBZr2hBmwswC4_RG1
regular_text:  pt2jHamFasO5XtWre1voZxRF9dxXNRMLgwbwqOmcxTMbY1.1F2_1KM3.RdHtHVWnJoN4Fp2P_fjv
regular_text:  BeXwaEO1u9HjDW5TDaxhUZAvIL3oM5vmBvg4medFrs3EHTQw4TaObjAn3XwY5IggFXoBM7bhBDJI
regular_text:  Ge0mdc9webw7UnBBYFlKlA0d6H4GtRvchelCbl2JMhV6oCxsYO4GQeTjmL6y58Muo9lesGSo5lRt
regular_text:  7KVb8DJKR199DROSWeGgmKeLJO2YOG_1qOcssa4QiXk1cSr8_Ig2eVnlal.V04KdzPhfPwOQHndd
regular_text:  i3PAPm8Hka_ILIExQmVzenSDnKUNfpNWEvW90NKzRJN7OXx4dbZ6Ki6XoDTkENI2N58tZ4eQm4CT
regular_text:  lwkyETshT2eE5fkiVONQk2t1c_Fpqg69QCjs8n49Cs0D_tNQm2yA4qFVlUdJ5feQA30YZeC.YPrq
regular_text:  QABef0yO4QmC35JtDDOysRrQr5XRx8P.d0GVAUyd18BpIAW2SPF05UC49Pzj.QSz.r.Lsl1540eu
regular_text:  ngPyAwt7GcaSOCBwORNTN08d6jXENjkuD8f.4_AOc5yiKPA--
regular_text: X-Sonic-MF: <preetindersodhi@yahoo.com>
regular_text: Received: from sonic.gate.mail.ne1.yahoo.com by sonic303.consmr.mail.bf2.yahoo.com with HTTP; Thu, 29 Dec 2022 11:55:00 +0000
regular_text: Date: Thu, 29 Dec 2022 11:54:59 +0000 (UTC)
regular_text: From: Preetinder Singh <preetindersodhi@yahoo.com>
regular_text: To: Civil Engineering Portal <admin@engineeringcivil.com>
regular_text: Message-ID: <1202547299.2929906.1672314899139@mail.yahoo.com>
regular_text: Subject: hello
regular_text: MIME-Version: 1.0
regular_text: Content-Type: multipart/alternative; 
regular_text: 	boundary="----=_Part_2929905_811466888.1672314899138"
regular_text: References: <1202547299.2929906.1672314899139.ref@mail.yahoo.com>
regular_text: X-Mailer: WebService/1.1.20982 YMailNorrin
regular_text: X-yoursite-MailScanner: Found to be clean, Found to be clean, Found to be clean
regular_text: X-yoursite-MailScanner-Information: Please contact the ISP for more information
regular_text: X-yoursite-MailScanner-ID: 19A4982F0F.A3CAD
regular_text: X-yoursite-MailScanner-From: preetindersodhi@yahoo.com
regular_text: 
regular_text: ------=_Part_2929905_811466888.1672314899138
regular_text: Content-Type: text/plain; charset=UTF-8
regular_text: Content-Transfer-Encoding: 7bit
regular_text: 
regular_text: hi
regular_text: 
regular_text: ------=_Part_2929905_811466888.1672314899138
regular_text: Content-Type: text/html; charset=UTF-8
regular_text: Content-Transfer-Encoding: 7bit
regular_text: 
regular_text: <html><head></head><body><div class="yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><div dir="ltr" data-setdir="false">hi<br></div></div></body></html>
regular_text: ------=_Part_2929905_811466888.1672314899138--
*** HEADER EXTRACTED active/6DD17837AC ***
*** MESSAGE FILE END active/6DD17837AC ***

I do not understand what you wrote:

  1. You can send emails to others?
  2. You can receive email from others?

I have 4 domains hosted on the server. If I send an email from 1 of those domains to another, that email I receive right away. But when I try to send from gmail/yahoo or from any other external domain I get that email only in the mail queue and it eventually it gets returned back to sender.

What error do you get from them?

Service unavailable.

A lot of messages just get bounced on the server I think. These emails are probably auto-generated.

Message example:

I dont see any issue on your DNS. Do you have any firewalls for your mailserver?

I have “ConfigServer Security & Firewall - csf v14.17”
even when I disable firewall the issue persists.

Go here and post screenshot of results https://151.106.112.100:8090/emailPremium/EmailDebugger

Read the below line and search in google.

554 5.4.6 Too many hops 27 (25 max): from mailer-daemon@vps.engineeringcivil.com via localhost, to mailer-daemon@vps.engineeringcivil.com

It seem there is a loop which forwarding mail from one to other.
Also ther is no MX record for vps.engineeringcivil.com.

Here is well explained articles https://bobcares.com/blog/error-too-many-hops/
https://www.linuxquestions.org/questions/linux-software-2/postfix-spamassassin-mail-loop-problem-66045/

I believe you are on to something. @preetindersodhi did you touch anything in the postfix config? trace back your actions seems your mailserver is misconfigured somewhere since dns is perfect

thank you.

Changing this line in /etc/postfix/master.cf fixed the problem:

spamassassin unix - n n - - pipe flags=R user=spamd argv=/usr/bin/spamc -e /usr/sbin/sendmail -oi -f ${sender} ${recipient}

changed to

spamassassin unix - n n - - pipe flags=R user=spamd argv=/usr/bin/spamc -e /usr/sbin/sendmail.postfix -oi -f ${sender} ${recipient}