Koozali.org: home of the SME Server

Maildir files gone missing

Offline GlitchFreak

  • ****
  • 97
  • +0/-0
Maildir files gone missing
« on: October 21, 2008, 06:19:20 PM »
Hey there

I started getting mails from the server regarding some users Maildir filders that don't exist.

Has anyone ever experienced Maildir folders randomly disappearing?

What would be the easiest method to restore the Maildirs? Just recreate the folders. These are not IMAP stores, only POP3.

Thanks!

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Maildir files gone missing
« Reply #1 on: October 21, 2008, 06:35:22 PM »
you'd better post here an example of the mail you are talking about, so we can understand what you are talking about ;-)

Ciao
Stefano

Offline GlitchFreak

  • ****
  • 97
  • +0/-0
Re: Maildir files gone missing
« Reply #2 on: October 21, 2008, 06:48:28 PM »
Suppose that will help :)

I run a fetchmail script that pulls mail from individual boxes on the same domain.

Code: [Select]
fetchmail: Maildir invalid (no 'cur' directory)
fetchmail: Authorization failure on admin@domain.co.za@196.7.150.38
fetchmail: Maildir invalid (no 'cur' directory)
fetchmail: Authorization failure on dawn@domain.co.za@196.7.150.38
fetchmail: Maildir invalid (no 'cur' directory)
fetchmail: Authorization failure on foundation@domain.co.za@196.7.150.38
fetchmail: Maildir invalid (no 'cur' directory)
fetchmail: Authorization failure on hodfoundation@domain.co.za@196.7.150.38
fetchmail: Maildir: No such file or directory
fetchmail: Authorization failure on maureen@domain.co.za@196.7.150.38
fetchmail: Maildir invalid (no 'cur' directory)
fetchmail: Authorization failure on rosie@domain.co.za@196.7.150.38
fetchmail: Maildir invalid (no 'cur' directory)
fetchmail: Authorization failure on support@domain.co.za@196.7.150.38

Offline mercyh

  • *
  • 824
  • +0/-0
    • http://mercyh.org
Re: Maildir files gone missing
« Reply #3 on: October 21, 2008, 07:05:23 PM »
have you gone in as root to see if the Maildir folders are gone?

I am just wondering if the folders are actually gone or if for some reason the script has lost its access rights....

Offline GlitchFreak

  • ****
  • 97
  • +0/-0
Re: Maildir files gone missing
« Reply #4 on: October 21, 2008, 07:15:01 PM »
They are indeed missing.

The error includes the admin account of SME server as well.

This is what I get when trying to fetchmail -v even after creating the folders chowning them to the respective user and chmodding them to 700:

Code: [Select]
fetchmail: POP3< -ERR Maildir invalid (no 'cur' directory)
fetchmail: Maildir invalid (no 'cur' directory)

« Last Edit: October 21, 2008, 08:04:44 PM by GlitchFreak »

Offline GlitchFreak

  • ****
  • 97
  • +0/-0
Re: Maildir files gone missing [SOLVED]
« Reply #5 on: October 21, 2008, 10:31:40 PM »
Turned out to be an upstream webhost problem. Thanks!

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Maildir files gone missing
« Reply #6 on: October 21, 2008, 11:25:13 PM »
I run a fetchmail script that pulls mail from individual boxes on the same domain.

fetchmail doesn't access SME server Maildirs.