SOLVED ltmp - Error: rename

Jcats

Well-Known Member
PartnerNOC
May 25, 2011
807
160
168
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([email protected]): 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([email protected]): msgid=<[email protected]>: 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
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,884
2,245
463
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.
 

Jcats

Well-Known Member
PartnerNOC
May 25, 2011
807
160
168
New Jersey
cPanel Access Level
DataCenter Provider
Yes they do exist, the problem isn't just one account, its many.

[[email protected] ~]# 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: -