Kmail maildir folder "new" permanently empty?!
Hi, everybuddy!
Can anybody tell me where does Kmail keep new pop3 mails? The problem surfaced when I was trying to configure Conky to scan Kmail's folders for new mails and notify me -- with no success whatsoever. After much cussing and gnashing of teeth I discovered old Conky wasn't to blame after all! It scanned the correct folders alright, fact is -- they actually were empty, although Kmail itself was showing new mails in the inbox. Isn't the ~/.kde/share/apps/kmail/mail/inbox/new the right location (in KDE3.x) where I should be looking for new pop3 mails? Or does Kmail just bundle all mail into the "cur" folder, relying on its internal indexes to distinguish new mails from old ones? Would anyone be kind enough as to check their ...inbox/new folder just to confirm it's always empty indeed? Any input dearly appreciated. |
man maildir will give you a good description of how the whole system works.
|
Hey, thanx for the reply. Unfortunately, after reading man maildir (and lots more) I am none the wiser. Maildir not being exactly a standard, every developer apparently implements it a bit differently. Oh, the delights of open standards! Bakunin and Kropotkin would have loved them!
|
The short answer is mail should either be in new or under cur but not having a capital S after the final comma (if there's a comma at all), but ignoring ",S=xxxx"
have a look in your cur directory an see what the file names before and after reading. The key part from that man page is Code:
Look for new messages in the new subdirectory. Rename new/filename, as cur/filename:2,info. Here, |
I've tried to follow your indications. I could finally see some method in Kmail's file naming. In several days of observing its folders, though, I've yet to see it use the "new" folder. Either it never gets used or the files get moved to the cur folder immediately. Apparently, Conky is not too good at following that. Maybe it doesn't even read file suffixes, it just counts the number of files in the folder(s).
Oh well, I guess I'll manage without Conky notifying me of incoming mail... Cheerz! |
Kmail maildir folders
If your Kmail folders in their default location appear to be empty, it may be because they've been put somewhere else.
(This won't apply to you on a new install of course, this is just for people Googling). Check ~/.kde/share/config/kmailrc for a line in the [General] section that says folders=<address on your system> |
All times are GMT -5. The time now is 12:11 AM. |