Mail Service Using CloudFlare Issue

alirayaneh

Registered
Nov 21, 2015
3
0
1
uae
cPanel Access Level
Root Administrator
hi. im new on cpanel .
The mail service on my server does not work properly
Emails are received. But the email will not be sent.
All domains connected to accounts are via cloudflear and ARecord services

when i send an email by cpanel webmail . it get an email by subject
"Mail delivery failed"

Code:
This message was created automatically by mail delivery software.

A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:

  [email protected]
    all hosts for 'gmail.com' have been failing for a long time (and retry time not reached)
Reporting-MTA: dns; server2.example.com

Action: failed
Final-Recipient: rfc822;[email protected]
Status: 5.0.0

All the accounts in my cpanel server have this problem
 
Last edited by a moderator:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,267
463
Hello,

Is this only happening for emails sent to Gmail, or is this for any remote mail server? What output do you see in /var/log/exim_mainlog when an email fails? EX:

Code:
exigrep user@gmail /var/log/exim_mainlog
Thank you.