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 going to username, not email address.

Discussion in 'E-mail Discussion' started by jonh, Feb 15, 2016.

  1. jonh

    jonh Well-Known Member

    Joined:
    Feb 15, 2016
    Messages:
    59
    Likes Received:
    3
    Trophy Points:
    8
    Location:
    NY
    cPanel Access Level:
    Root Administrator
    I have this weird issue where email is being sent to cPanelUsername@domain.com instead of realEmailAddress@domain.com

    Exit is running. We don't use email server for imap or pop. Just website form submissions. No email accounts managed on the server.

    Website forms are wordpress php. They all worked fine on previous server, something is up with this new WHM/cPanel setup.

    I can see email is delivered, it just goes to the username instead of the 'to' email.
     
  2. jonh

    jonh Well-Known Member

    Joined:
    Feb 15, 2016
    Messages:
    59
    Likes Received:
    3
    Trophy Points:
    8
    Location:
    NY
    cPanel Access Level:
    Root Administrator
    Issue was this: "Local mail exchanger" needs to change to "Remote Mail Exchanger".

    How can I do this for all domains at same time instead of changing them one by one?
     
  3. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

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

    You could simply edit the /etc/localdomains and /etc/remotedomains files manually via SSH. Simply copy/remove the domain names from /etc/localdomains and place them in the /etc/remotedomains file using a text editor such as VIM.

    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