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.

Not Receiving Emails to Local Domain

Discussion in 'E-mail Discussions' started by robertyffe, Jan 14, 2014.

  1. robertyffe

    robertyffe Registered

    Joined:
    Jan 14, 2014
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hello,

    I have a problem with receiving emails send from the server to one of the server account domains. For example:


    Sent From: root@hostname.co.uk
    Sent To: email@localdomain.co.uk

    I have ran the following command:

    exim -v -odf email@localdomain.co.uk

    The results of this are:

    Code:
    OG: MAIN
      cwd=/root 4 args: exim -v -odf email@localdomain.co.uk
    Hello
    LOG: MAIN
      <= root@hostname.co.uk U=root P=local S=370
    LOG: MAIN
      cwd=/var/spool/exim 5 args: /usr/sbin/exim -v -odi -Mc 1W32A8-0004EU-4V
    delivering 1W32A8-0004EU-4V
    Connecting to mail.localdomain.co.uk [00.000.00.00]:25 ... connected
      SMTP<< 220 mail38.domain.co.uk ESMTP Exim Tue, 14 Jan 2014 11:28:12 +0000
      SMTP>> EHLO hostname.co.uk
      SMTP<< 250-mail38.domain.co.uk Hello 056379.vps-10.com [00.000.00.00]
             250-SIZE 31457280
             250-8BITMIME
             250-PIPELINING
             250-AUTH PLAIN LOGIN CRAM-MD5
             250-STARTTLS
             250 HELP
      SMTP>> STARTTLS
      SMTP<< 220 TLS go ahead
      SMTP>> EHLO hostname.co.uk
      SMTP<< 250-mail38.domain.co.uk Hello 056379.vps-10.com [00.000.00.00]
             250-SIZE 31457280
             250-8BITMIME
             250-PIPELINING
             250-AUTH PLAIN LOGIN CRAM-MD5
             250 HELP
      SMTP>> MAIL FROM:<root@hostname.co.uk> SIZE=1402
      SMTP>> RCPT TO:<email@localdomain.co.uk>
      SMTP>> DATA
      SMTP<< 250 OK
      SMTP<< 250 Accepted
      SMTP<< 354 Enter message, ending with "." on a line by itself
      SMTP>> writing message and terminating "."
      SMTP<< 250 OK id=1W32AG-0004AW-OE
      SMTP>> QUIT
    LOG: MAIN
      => email@localdomain.co.uk R=lookupuser T=local_devliery H=mail.localdomain.co.uk [00.000.00.00] X=UNKNOWN:DHE-RSA-AES256-SHA:256 C="250 OK id=1W32AG-0004AW-OE"
    LOG: MAIN
      Completed
    
    It does not look like there is anything wrong, but I am not receiving the emails. I also tried changing to remote_smtp but still have not received any emails.

    Any suggestions to what is wrong?

    Thanks
    Robert
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,737
    Likes Received:
    661
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Try searching for the message in /var/log/exim_mainlog using the "exigrep" utility. Do you notice any specific failure messages?

    Thank you.
     
  3. robertyffe

    robertyffe Registered

    Joined:
    Jan 14, 2014
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    I have done a search through the log and this is what it tells me:

    2014-01-15 01:20:59 1W3FAB-0001dj-1U <= nobody@hostname.co.uk U=nobody P=local S=10160 T="Title: New Order # 100002912" for customer@email.com email@localdomain.co.uk
    2014-01-15 01:20:59 1W3FAB-0001dj-1U => wwwwaver <email@localdomain.co.uk> R=localuser T=local_delivery
    2014-01-15 01:21:04 1W3FAB-0001dj-1U => customer@email.com R=lookuphost T=remote_smtp H=extmail.email.com [00.0.00.000] X=TLSv1:DHE-RSA-AES256-SHA:256 C="250 2.0.0 E1M01n00z3iggVF011M29B mail accepted for delivery"
    2014-01-15 01:21:04 1W3FAB-0001dj-1U Completed

    Doesn't show any errors however it does not show any success messages either. It is sending to the customer email fine.

    Thanks
    Robert
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,737
    Likes Received:
    661
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    The logs you provided show the message was successfully delivered. Is it not showing up in your client? Feel free to open a support ticket using the link in my signature so we can take a closer look. You can post the ticket number here so we can update this thread with the outcome.

    Thank you.
     
Loading...

Share This Page