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!

Email Sending Error

Discussion in 'E-mail Discussion' started by Loneweaver, May 31, 2018.

  1. Loneweaver

    Loneweaver Member

    Joined:
    Nov 30, 2016
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Botswana
    cPanel Access Level:
    Root Administrator
    Hello

    We recently commissioned a WordPress website hosted in cPanel but emails are failing. To give perspective of our infrastructure

    1. We have our website webserver in our DMZ running WHM and cPanel.
    2. Our company has a domain ourcompany.com that's controlled by internal domain controllers.
    3. We use exchange server for our enterprise emails
    4. Our webserver's FQDN is webserver01.ourcompany.com and the domain setup in cPanel is ourcompany.com

    5. Now, our WP website has a form where users input their email addresses and they should receive an email notification after submitting the form, however this is not the case and I'm seeing this message under Track Delivery in cPanel.

    ECDHE-RSA-AES256-GCM-SHA384:256 CV=yes: SMTP error from remote mail server after RCPT TO:<customer@customeremail.com>: 550 Sender (webserver01.ourcompany.com) has no A, AAAA, or MX DNS records.

    The From Address is cPanelAccount@webserver01.ourcompany.com

    What would be the best approach to get this working
     
  2. rpvw

    rpvw Well-Known Member

    Joined:
    Jul 18, 2013
    Messages:
    828
    Likes Received:
    301
    Trophy Points:
    113
    Location:
    Spain
    cPanel Access Level:
    Root Administrator
    The easiest way is to install one of the WP Authenticated SMTP plugins, and configure it to send via an authenticated SMTP session, using an existing email account on your server.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    #2 rpvw, May 31, 2018
    Last edited: May 31, 2018
  3. Loneweaver

    Loneweaver Member

    Joined:
    Nov 30, 2016
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Botswana
    cPanel Access Level:
    Root Administrator
    The challenge is our emails are managed by exchange and we do not create any email accounts on cPanel
     
  4. rpvw

    rpvw Well-Known Member

    Joined:
    Jul 18, 2013
    Messages:
    828
    Likes Received:
    301
    Trophy Points:
    113
    Location:
    Spain
    cPanel Access Level:
    Root Administrator
    I would suggest you should:
    1. Set up an account in your users cPanel to handle mails sent from the WP installation (this can be limited to outgoing mails only)
    2. Install an SMTP authenticated mail plugin to your WP, and configure it to use the account you have set up.
    3. Configure a connector on your exchange server to accept mails from the account that you set up previously.

    In theory, you should be able to set up an exchange connector to receive emails from your cPanelAccount@webserver01.ourcompany.com account, but it will almost certainly impact the onward delivery of mails, and their acceptance by the destination server.

    For details on how to set up an Exchange connector, please visit their own dedicated forums and documentation.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    cPanelMichael likes this.
  5. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,803
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    The information in the previous post is likely the best approach. Let us know if you have any additional questions.

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

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