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!

Contact form an internal email not working

Discussion in 'E-mail Discussion' started by grapico, Jun 24, 2013.

  1. grapico

    grapico Registered

    Apr 11, 2010
    Likes Received:
    Trophy Points:
    I have several contact forms on websites. Was recently alerted to a problem. When this contact form is sent to any email that is hosted on the same server, it doesn't work. If it is sent to gmail however, it works fine.
    What could be the problem or setting that needs to change?

    all of these sites are on same server...

    if contact form goes to ... it won't work. If it goes to it works.
  2. stdout

    stdout Well-Known Member

    Apr 10, 2003
    Likes Received:
    Trophy Points:
    Nelspruit, Mpumalanga, South Africa
    cPanel Access Level:
    Root Administrator
    Your trouble report is brief, at best. Have you looked at the exim logs yet?

    A quick and easy way to do would be to "grep" (search) for both recipient/sender.

    Hypothetically speaking, let's say is unable to send to
    To search the logs, copy/paste:

    grep -i /var/log/exim_mainlog | grep | tail -n 100
    Once you get the "feel" of exim_mainlog logs, spotting failures is a singe. Good Luck!
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

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

    Is email for this domain name handled locally? If so, check to see if the domain name that is sending the email is listed in the "/etc/localdomains" file on the system. You can modify the email routing settings for a domain name via:

    "WHM Home » DNS Functions » Edit DNS Zone"

    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