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!

System email from address and domain

Discussion in 'E-mail Discussion' started by lukekenny, Jan 24, 2018.

  1. lukekenny

    lukekenny Registered

    Joined:
    Jan 24, 2018
    Messages:
    4
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Melbourne, Australia
    cPanel Access Level:
    Root Administrator
    I have a client who is running their own Exchange mail server at their premises. It's an older version of Exchange, perhaps 2008. Initially he had set up his account by pointing the A record for mail.customersdomain.com to his IP, and setting the MX record to mail.domain, however he left he mail exchanger setting on Local Mail Exchange.

    This caused his Outlook clients to display an unwanted "Allow ourserver.com to automatically configure this client?" message, as a SRV record was being created pointing to our mail server.

    To fix this, I changed his account to Remote Mail Exchange, which automatically removed the SRV record etc.

    Up until I made that change, system emails sent to the customer were from root@outserver.com, however since that change, they are coming from cpanel@customersdomain.com

    The customers Exchange server is bouncing these emails with the error "551 This mail server requires authentication before sending mail from a locally hosted domain," presumably because it is set not to accept inbound emails from it's own domain.

    Is it possible to change the from address for system emails either back to root@outserver.com, or something else for this client? Or alternatively configure cPanel to provide credentials to the customers Exchange server when sending its emails for this account?
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,353
    Likes Received:
    1,855
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello @lukekenny,

    Support for changing the "from" address in system notifications is not offered at this time, however I encourage you to vote and add feedback on the following feature request:

    Send cPanel Notifications via Authenticated SMTP Connection

    In the meantime, one potential workaround is configure the contact address of the account to a third-party provider (e.g. Gmail). Then, setup a forwarder or filter at the third-party mail provider to direct the notifications to the preferred contact address (e.g. user@domain.tld). Alternatively, you could have the administrator of the Exchange server configure it to exclude that domain name from the specific rules preventing the delivery of email.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    lukekenny likes this.
  3. lukekenny

    lukekenny Registered

    Joined:
    Jan 24, 2018
    Messages:
    4
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Melbourne, Australia
    cPanel Access Level:
    Root Administrator
    Thanks for your help. The Exchange admin was able to whitelist the IP of our cPanel server, bypassing the problem.
     
    cPanelMichael likes this.
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