The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Email going to username, not email address.

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

  1. jonh

    jonh Well-Known Member

    Joined:
    Feb 15, 2016
    Messages:
    49
    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:
    49
    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 Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,736
    Likes Received:
    661
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
Loading...

Share This Page