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!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

SOLVED ltmp - Error: rename

Discussion in 'E-mail Discussions' started by Jcats, Sep 20, 2017.

  1. Jcats

    Jcats Well-Known Member

    Joined:
    May 25, 2011
    Messages:
    599
    Likes Received:
    92
    Trophy Points:
    153
    Location:
    New Jersey
    cPanel Access Level:
    DataCenter Provider
    Was looking for solution to emailname+spam errors

    Unable to post to that thread, its too old.

    having same exact issue:

    Code:
    Sep 20 22:26:07 srv03 dovecot: lmtp(35132): Connect from local
    Sep 20 22:26:07 srv03 dovecot: lmtp(mentepo@srv03.example.com): Error: rename(/home/user/mail/tmp/1505939167.M457803P35132.srv03.example.com, /home/user/mail/new/1505939167.M457803P35132.srv03.example.com,S=1364,W=1394) failed: No such file or directory
    Sep 20 22:26:07 srv03 dovecot: lmtp(mentepo@srv03.example.com): msgid=<E1duR8X-00051p-J6@srv03.example.com>: save failed to INBOX: rename(/home/user/mail/tmp/1505939167.M457803P35132.srv03.example.com, /home/mentepo/mail/new/1505939167.M457803P35132.srv03.example.com,S=1364,W=1394) failed: No such file or directory
    Sep 20 22:26:07 srv03 dovecot: lmtp(35132): Disconnect from local: Successful quit
    
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,427
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Can you check to see if those email directories exist? EX:

    Code:
    stat /home/username/mail/{,new,cur,tmp}
    If they do not exist, you can create them using 0751 permissions with both user and group ownership set to the account username.

    Thank you.
     
  3. Jcats

    Jcats Well-Known Member

    Joined:
    May 25, 2011
    Messages:
    599
    Likes Received:
    92
    Trophy Points:
    153
    Location:
    New Jersey
    cPanel Access Level:
    DataCenter Provider
    Yes they do exist, the problem isn't just one account, its many.

    [root@srv03 ~]# stat /home/user/mail/{,new,cur,tmp}
    File: ‘/home/user/mail/’
    Size: 4096 Blocks: 8 IO Block: 4096 directory
    Device: fd00h/64768d Inode: 27668324 Links: 14
    Access: (0751/drwxr-x--x) Uid: ( 1362/ user) Gid: ( 1362/ user)
    Access: 2017-09-21 10:19:18.916694296 +0200
    Modify: 2017-09-22 00:18:12.646746645 +0200
    Change: 2017-09-22 00:18:12.646746645 +0200
    Birth: -
    stat: cannot stat ‘/home/user/mail/new’: No such file or directory
    File: ‘/home/user/mail/cur’
    Size: 4096 Blocks: 8 IO Block: 4096 directory
    Device: fd00h/64768d Inode: 27668348 Links: 2
    Access: (0751/drwxr-x--x) Uid: ( 1362/ user) Gid: ( 1362/ user)
    Access: 2017-09-20 23:17:20.541769032 +0200
    Modify: 2008-04-10 09:51:46.000000000 +0200
    Change: 2017-01-02 23:49:13.591997747 +0100
    Birth: -
    File: ‘/home/user/mail/tmp’
    Size: 4096 Blocks: 8 IO Block: 4096 directory
    Device: fd00h/64768d Inode: 27668350 Links: 2
    Access: (0751/drwxr-x--x) Uid: ( 1362/ user) Gid: ( 1362/ user)
    Access: 2017-09-21 10:19:19.131694139 +0200
    Modify: 2017-09-22 00:18:12.646746645 +0200
    Change: 2017-09-22 00:18:12.646746645 +0200
    Birth: -
     
  4. Jcats

    Jcats Well-Known Member

    Joined:
    May 25, 2011
    Messages:
    599
    Likes Received:
    92
    Trophy Points:
    153
    Location:
    New Jersey
    cPanel Access Level:
    DataCenter Provider
    Woops, nevermind, it doesn't exist! I see what happened now, thanks!
     
    cPanelMichael likes this.
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,427
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    I'm happy to see the issue is now solved.

    Thanks!
     
Loading...

Share This Page