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!

maildir new folder deleting

Discussion in 'E-mail Discussion' started by sparek-3, Nov 16, 2018.

  1. sparek-3

    sparek-3 Well-Known Member

    Joined:
    Aug 10, 2002
    Messages:
    1,890
    Likes Received:
    149
    Trophy Points:
    343
    cPanel Access Level:
    Root Administrator
    Anybody else noticing this?

    I'm seeing a lot of mail being backlogged in the queue across multiple servers. When I go to investigate, some of these messages are not being delivered:

    email@example.tld R=virtual_user T=dovecot_virtual_delivery_no_batch defer (-46): LMTP error after end of data: 451 4.2.0 <email@example.tld> Internal error occurred. Refer to server log for more information.

    The issue appears to be that the new folder (part of maildir - new, cur, tmp) is missing for that particular email account. Recreating that folder (and setting proper ownership) fixes the issue.

    A few of these have happened in the past, and I just write it off as users unknowingly deleting the new folder. But this seems to be increasing now to the point that I'm wondering if it's something in Dovecot or cPanel that is causing these folders to be deleted.

    I don't have a lot of investigative material to go on. But just wondering if anyone else is noticing this.
     
  2. GOT

    GOT Get Proactive! PartnerNOC

    Joined:
    Apr 8, 2003
    Messages:
    1,337
    Likes Received:
    139
    Trophy Points:
    193
    Location:
    Chesapeake, VA
    cPanel Access Level:
    DataCenter Provider
    Not seeing this on any of the servers we manage.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. sparek-3

    sparek-3 Well-Known Member

    Joined:
    Aug 10, 2002
    Messages:
    1,890
    Likes Received:
    149
    Trophy Points:
    343
    cPanel Access Level:
    Root Administrator
    Thanks!

    It's entirely possible that this is being caused by something specific I have set up on our servers. Although, I'm just not seeing any rhyme or reason that is leading to this.

    But still, I appreciate the feedback. Information that doesn't confirm a problem is still useful information.
     
  4. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    46,968
    Likes Received:
    2,119
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello @sparek-3,

    This was brought up in the past as part of internal case CPANEL-8388. The decision was made to not implement a change since there was nothing to indicate the "new" directory was removed as part of a function of cPanel & WHM. The advice in the case was to seek out and disable whatever was manually removing the "new" directory.

    I did take some time to see if I could reproduce the automatic removal of the "new" directory, but I was unsuccessful. Are there any specific third-party applications installed on your system that relate to the mail server? Or, do you think this was the case of a user manually removing the directory?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. sparek-3

    sparek-3 Well-Known Member

    Joined:
    Aug 10, 2002
    Messages:
    1,890
    Likes Received:
    149
    Trophy Points:
    343
    cPanel Access Level:
    Root Administrator
    Not really. Nothing that would be deleting this folder, at least that I can think of. But I won't go so far to say that it's not something specific I have set up. I put a lot of customizations into our servers, so it's entirely possibly that I've overlooked something. Still - I would think it would be more problematic if it were something due to our customizations - we'd see a lot more incidents of this.

    As it stands now, I'm not seeing this happening a whole lot. Maybe once a week or once every 2 weeks. So it's not enough to really raise a lot of red flags, but it just seems to keep happening. Perhaps this is because I'm only noticing it when the mail queue gets higher than normal on our servers.

    And it's entirely possible that it's the end-user deleting the new folder, in a method to try and prevent new mail deliveries. I really don't know. Just doesn't seem to be any rhyme or reason to it. Like I said, it doesn't happen often, but seems to have been going on for at least the past 6 months or so. If it were happening to the same account over and over again, I'd be more likely to agree that this is the case. But thus far, I haven't been able to make any connection to the various accounts this has happened to.

    I thought someone else might've noticed the same issue and that might kind of lead credence to it being a cPanel, Dovecot, or Exim issue. But that doesn't appear to be the case.

    No worries on a lack of solution though. I'll keep monitoring and seeing if I can connect the dots.
     
    cPanelMichael likes this.
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