I have Hestiacp and Postal mail server installed on separate VPS. Hestiacp is configured with global relay to postal VPS to send emails and everything works fine.
Now I have setup Hestiacp and Postal mail server on same VPS. Postal mail server is configured to listen port 24 and is working fine. Hestiacp is also working fine and sending email without global smtp relay configured.
Now when I setup global smtp relay to postal which is running on same VPS, email stop working and I get below error in logs
2023-05-22 13:48:57 1q1425-0000YG-9D <= XXXXXXXXX U=XXXXX P=local S=1570
2023-05-22 13:48:57 1q1425-0000YG-9D remote host address is the local host: XXXXXXXXXXXX
2023-05-22 13:48:57 1q1425-0000YG-9D == XXXXXXXXXXXX R=send_via_smtp_relay defer (-1): remote host address is the local host
2023-05-22 13:48:57 1q1425-0000YG-9D Frozen
2023-05-22 13:49:25 1q142X-0001Dn-GX <= XXXXXXXXX U=XXXXXXXXX P=local S=451
2023-05-22 13:49:25 1q142X-0001Dn-GX remote host address is the local host: gmail.com
2023-05-22 13:49:25 1q142X-0001Dn-GX == XXXXXXXXXX R=send_via_smtp_relay defer (-1): remote host address is the local host
2023-05-22 13:49:25 1q142X-0001Dn-GX Frozen
Any help how I can fix this.