Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Mail relay?

Discussion in 'E-mail Discussion' started by JamesCTotalWeb, Nov 24, 2014.

  1. JamesCTotalWeb

    JamesCTotalWeb Well-Known Member

    Mar 20, 2005
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    Ok here is the issue,

    We have a client that we host their web site and handle the DNS, they have an exchange server setup with another company, and the MX records of course are handled by our DNS servers. When email is sent to or from their exchange server it relays through our hosting server which causes 100's of "Mail delivery failed" messages to fill up the queue. Some even manage to get delivered then we get mail relay alerts from CSF and LFD.

    Here is a copy of the mail header and email

    mailnull 47 12
    1416860489 0
    -ident mailnull
    -received_protocol local
    -body_linecount 94
    -max_received_linelength 134
    -frozen 1416860489
    155P Received: from mailnull by with local (Exim 4.84)
    id 1Xt08X-000UH6-0r
    for; Mon, 24 Nov 2014 14:21:29 -0600
    043 X-Failed-Recipients:
    029 Auto-Submitted: auto-replied
    064F From: Mail Delivery System <>
    029T To:
    059 Subject: Mail delivery failed: returning message to sender
    053I Message-Id: <>
    038 Date: Mon, 24 Nov 2014 14:21:29 -0600
    Data spool file
    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:
    SMTP error from remote mail server after end of data:
    host []: 554 5.7.1 Mail appears to be unsolicited -- send error reports to
    ------ This is a copy of the message, including all the headers. ------
    Return-path: <>
    Received: from [] (port=54060
    by with esmtpa (Exim 4.84)
    (envelope-from <>)
    id 1Xt06u-000Txl-Ii
    for; Mon, 24 Nov 2014 14:19:48 -0600
    Message-ID: <>
    From: "user Name" <>
    To: "User Name" <>
    Subject: =?ISO-8859-1?Q?FW=3Avdiana?=
    Date: Sun, 24 Nov 2014 09:19:47 +0000
    MIME-Version: 1.0
    Content-Type: multipart/alternative;
    X-Priority: 3
    X-MSMail-Priority: Normal
    Importance: Normal
    X-Mailer: Microsoft Windows Live Mail 16.4.3522.110
    X-MIMEOLE: Produced By Microsoft MimeOLE V16.4.3522.110
    X--MailScanner-Information: Please contact the ISP for more information
    X--MailScanner-ID: 1Xt06u-000Txl-Ii
    X--MailScanner: Not scanned: please contact your Internet E-Mail Service Provider for details
    X-Spam-Status: No
    This is a multi-part message in MIME format.
    Content-Type: text/plain; charset=ISO-8859-1
    Content-Transfer-Encoding: quoted-printable
    http : // www.domain .com/zctfhkvr/hpzvrhzuuamewqoqzkwzuxlqxu.saaypweugojsc=
    Ok I have tried everything I can to stop this on our server through Exim but nothing stops the emails can anyone shed some lite on this?
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. 24x7server

    24x7server Well-Known Member

    Apr 17, 2013
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator

    Have you correctly setup " Remote Mail Exchanger " for that domain ? Please check it at WHM > DNS Functions > Edit DNS Zone area, select the domain and setup it correctly
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Apr 11, 2011
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    Hello :)

    Yes, please ensure you select "Remote Mail Exchanger" if you don't want the email handled on the cPanel server. You can find this under "Email Routing" in the zone when using the "Edit DNS Zone" option in WHM.

    Thank you.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice