Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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,
info represents the state of the message, and it consists of zero or more boolean flags chosen from
the following: "D" - this is a 'draft' message, "R" - this message has been replied to, "S" - this
message has been viewed (seen), "T" - this message has been marked to be deleted (trashed), but is
not yet removed (messages are removed from maildirs simply by deleting their file), "F" - this
message has been marked by the user, for some purpose. These flags must be stored in alphabetical
order. New messages contain only the :2, suffix, with no flags, indicating that the messages were not
seen, replied, marked, or deleted.
I've noticed some clients manage to add other crud with the basic flags - lowercase "e" for example.
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!
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>
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.