Emails from domainA to domainB getting different delivery results

rolinger

Well-Known Member
Feb 13, 2017
51
3
58
Tampa
cPanel Access Level
Root Administrator
I have an odd issue where emails sent from `[email protected]` are being delivered to users of another domain. However, when I send emails from `[email protected]` the emails fail to deliver returning the following error. This issue doesn't happen for any other domain, just sending to this one domain.

Code:
This is an automatically generated Delivery Status Notification.

Delivery to the following recipients was aborted after 19.3 hour(s):

* [email protected] 

Reason: There was an error while attempting to deliver your message with [Subject: "RE: Mar, 2021 Bill"] to [email protected] It has been in queue too long, and will not attempt delivery again.
It doesn't matter the email address either, this happens to all users/email addresses at this domain.

When I send from my personal email address all works fine. At first I thought the "billing" email, being generated from a script, was causing the issue. The email eventually bounces - and I use Outlook with multiple accounts setup - so the bounce shows up in the Outlook's "billing" Inbox. I then, from Outlook, resend the email to the same user and it bounces again. But then if I resend the same email from my personal account it goes through without issue.

[email protected] to [email protected] = sent from Outlook on PC = works
[email protected] to [email protected] = delivery failure, does not matter if email sent from PHP automated script on server or from Outlook account on PC.

It doesn't look like the email is not being rejected from remote end, but it just sits in queue forever not sending. Where/what could I look at to see what might be causing this - I have never seen anything like this before.
 
Last edited:

cPDavidL

Linux Analyst II
Oct 15, 2012
79
18
133
cPanel Access Level
Root Administrator
Howdy, @rolinger !

Can you check /var/log/exim_mainlog for the records associated for one of those stalled messages?
Code:
exigrep xxxxxx-xxxxxx-xx /var/log/exim_mainlog
You can find the message id (for example 1XGVPd-000707-4Y ) to be searched from, in the queued message details or mail delivery reports