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.

Contact form an internal email not working

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

  1. grapico

    grapico Registered

    Joined:
    Apr 11, 2010
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    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:
    5
    Trophy Points:
    18
    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!
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,762
    Likes Received:
    662
    Trophy Points:
    113
    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.
     
Loading...

Share This Page