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!

emailname+spam errors

Discussion in 'E-mail Discussion' started by asmithjr, Aug 16, 2016.

Tags:
  1. asmithjr

    asmithjr Well-Known Member

    Joined:
    Jun 13, 2003
    Messages:
    506
    Likes Received:
    4
    Trophy Points:
    168
    I cannot find a solution for this. I am seeing email that will not deliver and when I check the exim_mainlog I see
    Code:
    2016-08-16 13:56:36 1bZheO-0002VY-SL == julia+spam@DOMAIN.com <julia@heretohost.com> R=virtual_user T=dovecot_virtual_delivery defer (-46): LMTP e
    rror after end of data: 451 4.2.0 <julia+spam@DOMAIN.com> Internal erro
    r occurred. Refer to server log for more information. [2016-08-16 13:56:36]
    
    I looked in the /home/DOMAIN/mail/DOMAIN/julia folder and I see a .spam folder.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,367
    Likes Received:
    1,857
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    I've confirmed that subaddressing works well on a test system running cPanel version 58.0.20. Could you let us know which version of cPanel is installed on this system? Also, please monitor the /var/log/maillog file when reproducing this issue and let us know the output:

    Code:
    tail -f /var/log/maillog
    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. asmithjr

    asmithjr Well-Known Member

    Joined:
    Jun 13, 2003
    Messages:
    506
    Likes Received:
    4
    Trophy Points:
    168
    here is config
    Linux ptsamail.heretohost.com 2.6.32-642.1.1.el6.x86_64 #1 SMP Tue May 31 21:57:07 UTC 2016 x86_64 x86_64 x86_64 GNU/LinuxCpanel version 58.0 build 20

    exim_mainlog
    2016-08-16 14:52:42 1bZheO-0002VY-SL == julia+spam@heretohost.com <julia@heretohost.com> R=virtual_user T=dovecot_virtual_delivery defer (-46): LMTP error after end of data: 451 4.2.0 <julia+spam@heretohost.com> Internal error occurred. Refer to server log for more information. [2016-08-16 14:52:42]

    exim -v -M 1bZheO-0002VY-SL
    Code:
    LOG: MAIN
      cwd=/usr/local/cpanel/whostmgr/docroot 4 args: exim -v -M 1bZheO-0002VY-SL
    delivering 1bZheO-0002VY-SL
      LMTP<< 220 ptsamail.heretohost.com Dovecot ready.
      LMTP>> LHLO ptsamail.heretohost.com
      LMTP<< 250-ptsamail.heretohost.com
      LMTP<< 250-STARTTLS
      LMTP<< 250-8BITMIME
      LMTP<< 250-ENHANCEDSTATUSCODES
      LMTP<< 250 PIPELINING
      LMTP>> MAIL FROM:
      LMTP<< 250 2.1.0 OK
      LMTP>> RCPT TO:
      LMTP<< 250 2.1.5 OK
      LMTP>> DATA
      LMTP<< 354 OK
      LMTP>> writing message and terminating "."
      LMTP<< 451 4.2.0 Internal error occurred. Refer to server log for more information. [2016-08-16 14:52:42]
      LMTP>> QUIT
      LMTP<< 221 2.0.0 OK
    LOG: MAIN
      == julia+spam@heretohost.com R=virtual_user T=dovecot_virtual_delivery defer (-46): LMTP error after end of data: 451 4.2.0 Internal error occurred. Refer to server log for more information. [2016-08-16 14:52:42]
    
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,367
    Likes Received:
    1,857
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Could you post the output from /var/log/maillog when you reproduce the issue by using the command referenced in my last response?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. asmithjr

    asmithjr Well-Known Member

    Joined:
    Jun 13, 2003
    Messages:
    506
    Likes Received:
    4
    Trophy Points:
    168
    I did it was this

    2016-08-16 14:52:42 1bZheO-0002VY-SL == julia+spam@heretohost.com <julia@heretohost.com> R=virtual_user T=dovecot_virtual_delivery defer (-46): LMTP error after end of data: 451 4.2.0 <julia+spam@heretohost.com> Internal error occurred. Refer to server log for more information. [2016-08-16 14:52:42]
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,367
    Likes Received:
    1,857
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    That looks like the output from /var/log/exim_mainlog as opposed to /var/log/maillog. Could you verify if that's the case?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. asmithjr

    asmithjr Well-Known Member

    Joined:
    Jun 13, 2003
    Messages:
    506
    Likes Received:
    4
    Trophy Points:
    168
    You are correct. The email has been deleted but based on the timestamp I found this line
    Aug 16 14:52:11 ptsamail dovecot: lmtp(julia@heretohost.com): Error: rename
    (/home/alsmith/mail/heretohost.com/julia/.spam/tmp/1471373531.M284461P26369
    .ptsamail.heretohost.com, /home/alsmith/mail/heretohost.com/julia/.spam/new
    /1471373531.M284461P26369.ptsamail.heretohost.com,S=69377,W=70467) failed:
    No such file or directory

    Thanks, after seeing this error I found there is no new folder in the julia/.spam folder as compaired to a few others
    Do you think this is the issue.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,367
    Likes Received:
    1,857
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    That directory should create automatically. Could you 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.
     
    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