I guess that depends on how you access it. I only do POP3 and sqwebmail on
my system, so it's not a problem. If you use IMAP, there is a
courierimapuiddb file for each maildir folder. I think it will be able to
repair itself. If not, I'm pretty sure that you can delete it and it will
be recreated on the next connection. In any case, we are talking about the
Trash folder, so I don't think having to recreate the IMAP db is a major
issue for this folder. :)
Bowie
-----Original Message-----
From: Geoff Soper [mailto:[EMAIL PROTECTED]
Sent: Friday, January 05, 2007 11:36 AM
To: Bowie Bailey; [EMAIL PROTECTED]
Subject: Re: [courier-users] Overloaded mailbox
Is this allowed? Is there not some index that will continue to refer to
these deleted text files or will it repair itself?
Thanks,
Geoff
Bowie Bailey wrote:
Geoff Soper wrote:
A friend on my system (remotely hosted Plesk, FC3, Courier) has what
seems to be an overloaded mailbox. He had a folder which suspected
spam (SpamAssassin + Procmail) were going into and this contained
about 50,000 messages (combination of heavy attack and not emptying
frequently). As he couldn't delete the contents of the folder (his
client, Thunderbird, kept dropping the connection) he deleted the
whole folder. I think this has led to all the messages being in the
Trash/Deleted folder which he now can't empty. His whole account has
become unusable by either Thunderbird or Squirrelmail. "ls
Maildir/.Trash/cur/ -la1 | wc -l" gives 66630 files and "ls
Maildir/.Trash/tmp/ -la1 | wc -l" gives 72711 (new only has 3 in it).
Needless to say I'm not at all knowledgeable in Courier and mail in
general so I've no idea what to do next. Can someone advise?
Also I will be addressing the issue of the volume of spam to hopefully
avoid this happening again , I had no idea this situation was
developing!
The messages are just text files. Delete them from the server. Since there
are so many messages in the directory, you will not be able to do "rm *", so
you may need to play some find games to get them all deleted.
cd Maildir/.Trash/cur
find . -type f -exec rm {} \;
This will delete all files in the directory. It may take a few minutes to
complete depending on the speed of your machine.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users