Re: [Courier-imap] Maildir problem - maintenance or delete/recreate?
Simon writes: I have already deleted the local cache files from the TBird profile, so there is something wrong on the server side. I'm confident that there's nothing wrong on the server side. Well, maybe you'll not be quite so confident when I tell you that doing an ls -al of the .Trash/cur directory does something similar - nothing is returned, and the cursor just sits there blinking happily - I have to just quit that putty session. Tailing /var/log/messages and monitoring Sounds like your filesystem is either corrupted or overloaded. Run fsck on this partition, to check for corruption. drwx-- 2 postfix postfix 9100472 Jul 17 12:40 cur -rw--- 1 postfix postfix0 Oct 31 2005 maildirfolder drwx-- 2 postfix postfix 48 Oct 31 2005 new drwx-- 2 postfix postfix 32388568 Jul 17 12:04 tmp That's fine, but it won't be much of a help if your IMAP client is confused. I really don't thyink this is a client issue... Why wouldn't just deleting the local Trash folder and letting it re-sync from the server be enough? How/where else could its confusion lie? I Because it sounds like there are hundreds of thousands of messages in the trash folder, and your IMAP client can't deal with it. If no one has any other ideas, I guess I have no choice but to delete/recreate the maildir - but before I do, I would like to get specific confirmation of the commands I posted earlier to simply delete then recreate the Trash folder... as I said, Idon't have much experience doing this, and would prefer to not make matters worse because of a dumb mistake. You're under the impression that it's much more complicated than it actually is. It's just a bunch of files and directories. Yes, nuking the trash folder, and recreating it, will be fine, presuming there's no underlying filesystem corruption. Courier is really nothing more than a translator between IMAP commands and filesystem operations. Messages are files, folders are directories. Courier has no problems with folders that contain hundreds of thousands of messages, provided that you have enough memory, and adjust the default ulimit settings appropriately, but if your underlying filesystem just can't handle hundreds of thousands of files in a directory, you're going to have a problem. pgpLu5kjHrU6o.pgp Description: PGP signature - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ Courier-imap mailing list Courier-imap@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap
Re: [Courier-imap] Maildir problem - maintenance or delete/recreate?
Simon wrote: > doing an ls -al of the .Trash/cur directory does something similar - nothing > is returned, and the cursor just sits there blinking happily - I have to just > quit that putty session. Well if that's the case the problem isn't with the IMAP Server, it's with the filesystem. You've probably corrupted it or possibly, your hard disk is failing. Try running and full fdisk on it. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Courier-imap mailing list Courier-imap@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap
Re: [Courier-imap] Maildir problem - maintenance or delete/recreate?
>> I have already deleted the local cache files from the TBird profile, >> so there is something wrong on the server side. > I'm confident that there's nothing wrong on the server side. Well, maybe you'll not be quite so confident when I tell you that doing an ls -al of the .Trash/cur directory does something similar - nothing is returned, and the cursor just sits there blinking happily - I have to just quit that putty session. Tailing /var/log/messages and monitoring the system with top when doing this shows no unusual load on the server, and the logs show my bash session closing when I quit Putty... Here is an ls -al of the .Trash directory: gondor .Trash # ls -al total 47960 drwx-- 6 postfix postfix 256 Jul 17 07:08 . drwx-- 116 postfix postfix 4192 Jul 17 14:27 .. -rw-r--r-- 1 postfix postfix 17 Oct 31 2005 courierimapacl drwx-- 2 postfix postfix 72 Jul 17 07:08 courierimapkeywords -rw-r--r-- 1 postfix postfix 7603094 Jul 17 07:08 courierimapuiddb drwx-- 2 postfix postfix 9100472 Jul 17 12:40 cur -rw--- 1 postfix postfix0 Oct 31 2005 maildirfolder drwx-- 2 postfix postfix 48 Oct 31 2005 new drwx-- 2 postfix postfix 32388568 Jul 17 12:04 tmp > That's fine, but it won't be much of a help if your IMAP client is > confused. I really don't thyink this is a client issue... Why wouldn't just deleting the local Trash folder and letting it re-sync from the server be enough? How/where else could its confusion lie? I also tried deleting *all* of the local files and let TBird re-download everything... took awhile (2-3GB of mail, @75,000 messages), but same problem... > After removing and recreating the Trash folder, you should then drop > and reconfigure the IMAP mail account, in Thunderbird. Ok, to test your theory, I tried accessing it from my computer at home this evening (same account setup, but I haven't accessed this account for over a week on that box, so the same as recreating the account config for this purpose)... same result - TBird went into never-never land. If no one has any other ideas, I guess I have no choice but to delete/recreate the maildir - but before I do, I would like to get specific confirmation of the commands I posted earlier to simply delete then recreate the Trash folder... as I said, Idon't have much experience doing this, and would prefer to not make matters worse because of a dumb mistake. Thanks Sam, Simon - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Courier-imap mailing list Courier-imap@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap
Re: [Courier-imap] using the outbox feature .. how?
Michael Hellwig writes: I've googled for quite some time now and also searched the archives for this list to little effect ... The outbox-feature that courier-imap offers would be perfect for my needs. The only question for me now is how I would get it to work automatically with thunderbird, so that my wife doesn't have to do anything special when sending an email .. as in my question essentially boils down to: how to I tell Thunderbird (or any other nice graphical imap-client) to, when clicking on the "send" button, use the outbox-feature of courier, i.e. copy the mail to the "outbox"-folder on the imap server instead of doing anything else. This question is better directed at some Thunderbird-specific mailing list or discussion group. pgptuz8pqhe87.pgp Description: PGP signature - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ Courier-imap mailing list Courier-imap@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap
Re: [Courier-imap] Maildir problem - maintenance or delete/recreate?
Simon writes: Hi, Ok, I've been using courier-imap for quite a while and never had a problem, but I guess its bound to happen sooner or later. Server: Courier-imap 4.0.6 on Gentoo Linux Thunderbird 2.0.0.4 on Windows (XP Pro) I have a lot of folders and messages (I subscribe to a lot of mail lists), and was doing some cleaning up. I generally never mass delete more than a few hundred messages at a time, but... well, I thought I had selected a few thousand, but right after I hit delete, I noticed it wasn't 3,000 I had selected, it was @ 30,000. Well, I decided to let it go and see what happened, but Thunderbird kind of went into la-la land, to the point I had to kill it, and now it does this every time I click on the Trash folder. I have already deleted the local cache files from the TBird profile, so there is something wrong on the server side. I'm confident that there's nothing wrong on the server side. I don't have much experience manually manipulating maildirs, so would appreciate comments... What I was going to do was first delete the folder: rm -rf /var/virtual/domain.com/maildir/.Trash then once it is all gone, do: maildirmake -f Trash /var/virtual/domain.com/maildir That's fine, but it won't be much of a help if your IMAP client is confused. Or is there some kind of maintenance I can do on the folder to rebuild it? No, because there's absolutely nothing to rebuild. After removing and recreating the Trash folder, you should then drop and reconfigure the IMAP mail account, in Thunderbird. pgp6YxBy6VRGz.pgp Description: PGP signature - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ Courier-imap mailing list Courier-imap@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap
Re: [Courier-imap] Maildir problem - maintenance or delete/recreate?
Anyone? I'd really appreciate a comment from someone more knowledgeable, before I start rm'ing stuff... Simon, on 7/17/2007 8:40 AM, said the following: > Hi, > > Ok, I've been using courier-imap for quite a while and never had a > problem, but I guess its bound to happen sooner or later. > > Server: Courier-imap 4.0.6 on Gentoo Linux > Thunderbird 2.0.0.4 on Windows (XP Pro) > > I have a lot of folders and messages (I subscribe to a lot of mail > lists), and was doing some cleaning up. I generally never mass delete > more than a few hundred messages at a time, but... well, I thought I had > selected a few thousand, but right after I hit delete, I noticed it > wasn't 3,000 I had selected, it was @ 30,000. Well, I decided to let it > go and see what happened, but Thunderbird kind of went into la-la land, > to the point I had to kill it, and now it does this every time I click > on the Trash folder. > > I have already deleted the local cache files from the TBird profile, so > there is something wrong on the server side. > > I don't have much experience manually manipulating maildirs, so would > appreciate comments... > > What I was going to do was first delete the folder: > > rm -rf /var/virtual/domain.com/maildir/.Trash > > then once it is all gone, do: > > maildirmake -f Trash /var/virtual/domain.com/maildir > > Or is there some kind of maintenance I can do on the folder to rebuild it? > > Thanks for any/all assistance... > - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Courier-imap mailing list Courier-imap@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap
[Courier-imap] using the outbox feature .. how?
I've googled for quite some time now and also searched the archives for this list to little effect ... The outbox-feature that courier-imap offers would be perfect for my needs. The only question for me now is how I would get it to work automatically with thunderbird, so that my wife doesn't have to do anything special when sending an email .. as in my question essentially boils down to: how to I tell Thunderbird (or any other nice graphical imap-client) to, when clicking on the "send" button, use the outbox-feature of courier, i.e. copy the mail to the "outbox"-folder on the imap server instead of doing anything else. One method suggested to me by a friend was rather crude and amounted to: * write yourself (in perl or whatever) a small daemon that runs on the same computer as thunderbird and which behaves as an smtp-daemon would, only it puts everything into /dev/null * configure a filter in thunderbird that copies any mail that gets saved into the "sent" folder also into the "outbox"-folder. now this is .. awfully crude, plus it would mean i'd have to get myself this hypothetical "do-nothing"-smtp-daemon. So I'm hoping there is another way to use this feature? Anything that involves not clicking the send-button but doing something else instead is not an option. This must be SWMBO-compatible (who gets pissed off at anything she has to remember instructions for). well thanks for any hints. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Courier-imap mailing list Courier-imap@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap
[Courier-imap] Maildir problem - maintenance or delete/recreate?
Hi, Ok, I've been using courier-imap for quite a while and never had a problem, but I guess its bound to happen sooner or later. Server: Courier-imap 4.0.6 on Gentoo Linux Thunderbird 2.0.0.4 on Windows (XP Pro) I have a lot of folders and messages (I subscribe to a lot of mail lists), and was doing some cleaning up. I generally never mass delete more than a few hundred messages at a time, but... well, I thought I had selected a few thousand, but right after I hit delete, I noticed it wasn't 3,000 I had selected, it was @ 30,000. Well, I decided to let it go and see what happened, but Thunderbird kind of went into la-la land, to the point I had to kill it, and now it does this every time I click on the Trash folder. I have already deleted the local cache files from the TBird profile, so there is something wrong on the server side. I don't have much experience manually manipulating maildirs, so would appreciate comments... What I was going to do was first delete the folder: rm -rf /var/virtual/domain.com/maildir/.Trash then once it is all gone, do: maildirmake -f Trash /var/virtual/domain.com/maildir Or is there some kind of maintenance I can do on the folder to rebuild it? Thanks for any/all assistance... -- Simon - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Courier-imap mailing list Courier-imap@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap