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

    Joined:
    Apr 11, 2010
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    51
    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...
    a.com
    b.com
    c.com

    if a.com contact form goes to fred@b.com ... it won't work. If it goes to fred@gmail.com it works.
     
  2. stdout

    stdout Well-Known Member

    Joined:
    Apr 10, 2003
    Messages:
    189
    Likes Received:
    6
    Trophy Points:
    168
    Location:
    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 dylan@b.com is unable to send to fred@a.com
    To search the logs, copy/paste:

    Code:
    grep -i dylan@b.com /var/log/exim_mainlog | grep fred@a.com | 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 Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,216
    Likes Received:
    1,937
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    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...
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