This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Akonadi/KMail2/Mutt (4.6)

Tags: mutt, kmail, akonadi mutt, kmail, akonadi mutt, kmail, akonadi
(comma "," separated)
User avatar
dpalacio
Registered Member
Posts
240
Karma
2
OS

Akonadi/KMail2/Mutt (4.6)

Fri Dec 17, 2010 1:52 am
Currently I use Mutt/fetchmail/procmail to get/read/send email from my GMail account. Some testing I have made indicates that Akonadi behaves nicely with regard to Maildir. That is, it will not copy the messages in another maildir as KMail1 did. That makes me reconsider using Kmail, again. So, I would like to clear some doubts I have:

1. Confirmation: Does it really intend to play nice with the configured Maildir folder? (sharing it with other mail user agent (MUA))

2. Mutt handles New/Unread/Seen statuses by appending suffixes N/O/S to the message filenames. Akonadi leaves the filenames intact and seems to store the status in the database. That means I'd have to mark as read messages once in both MUA. Is there another option or workaround I am missing?

3. Is Akonadi/Maildir capable of handling subfolders? I created a subfolder for the Maildir resource in KMail2 and moved some messages to it but, I cannot find the messages nor the subfolders in the filesystem. Are they in another folder or only in the Akonadi database?

4. Where can I rename the resources?


connect(post, SIGNAL(readSignature()), qapp, SLOT(quit()));
User avatar
anda_skoa
KDE Developer
Posts
783
Karma
4
OS

Re: Akonadi/KMail2/Mutt (4.6)

Sat Dec 18, 2010 1:42 pm
dpalacio wrote:1. Confirmation: Does it really intend to play nice with the configured Maildir folder? (sharing it with other mail user agent (MUA))

It will currently not detect new messags automatically. i.e. the folder has to be reloaded manually if any other program added or deleted messages.

dpalacio wrote:2. Mutt handles New/Unread/Seen statuses by appending suffixes N/O/S to the message filenames. Akonadi leaves the filenames intact and seems to store the status in the database. That means I'd have to mark as read messages once in both MUA. Is there another option or workaround I am missing?

Currently no. This might be added in future releases though.

dpalacio wrote:3. Is Akonadi/Maildir capable of handling subfolders? I created a subfolder for the Maildir resource in KMail2 and moved some messages to it but, I cannot find the messages nor the subfolders in the filesystem. Are they in another folder or only in the Akonadi database?

Each subfolder is stored in a "hidden" subdirectory called ".directory.foldername"

dpalacio wrote:4. Where can I rename the resources?


The maildir resource does not seem to update its name when its top level folder is renamed :(
You could try using qdbus or qdbusviewer to set a name through the resource's D-Bus interface.

Cheers,
_


anda_skoa, proud to be a member of KDE forums since 2008-Oct.
User avatar
Damnshock
Registered Member
Posts
111
Karma
0
OS

Re: Akonadi/KMail2/Mutt (4.6)

Sat Dec 18, 2010 4:15 pm
dpalacio wrote:4. Where can I rename the resources?


You mean like this?

Image


Damnshock, proud to be a member of KDE forums since 2008-Oct.
User avatar
dpalacio
Registered Member
Posts
240
Karma
2
OS

Re: Akonadi/KMail2/Mutt (4.6)

Sun Dec 19, 2010 5:37 pm
anda_skoa wrote:It will currently not detect new messags automatically. i.e. the folder has to be reloaded manually if any other program added or deleted messages.

[...]
Currently no. This might be added in future releases though.

I look forward for Akonadi's future development.

Each subfolder is stored in a "hidden" subdirectory called ".directory.foldername"

There is not one folder named .directory.* in the Maildir. Grepping the directory for the contents of the message returns nothing. Though the message is still readable by KMail.

4. Where can I rename the resources?

The maildir resource does not seem to update its name when its top level folder is renamed :(
You could try using qdbus or qdbusviewer to set a name through the resource's D-Bus interface.

Yes, that worked! Hmm, it did not. The new name is visible in Akonadi configuration but, KMail still displays the internal resource name: akonadi_maildir_resource_2.

@Damnshock
I meant this:
Image


connect(post, SIGNAL(readSignature()), qapp, SLOT(quit()));
User avatar
hook
Registered Member
Posts
205
Karma
0
OS

Re: Akonadi/KMail2/Mutt (4.6)

Sat Feb 12, 2011 8:32 pm
I'm interested in this as well, only the other way around.

I'm currently using KMail, but would like to use Mutt as well as a secondary/CLI client.

BTW, this link might be interesting to you:
http://wiki.mutt.org/?ExtendedMaildirFormat


It's time to prod some serious buttock! ;)
meyerm
Registered Member
Posts
18
Karma
0
OS

Re: Akonadi/KMail2/Mutt (4.6)

Wed Aug 17, 2011 8:21 pm
Hi,

did you find the messages? I just created a new local maildir resource and am now able to create new folders in KMail2. But despite of the very first created folder nothing is created on the HDD (and this folder also only "visible" (no .foldername.directory is created)). But I can see subfolders and also mails which I copied into the folder by copy/paste with KMail inside of KMail.

I just want to have a local mail archive (to not go over my quota on the IMAP server) and definitely want this to be a standard maildir and not saved in any database. And if KMail could be used to manage and search through it that would be very convenient.

Thanks,
M
User avatar
dpalacio
Registered Member
Posts
240
Karma
2
OS

Re: Akonadi/KMail2/Mutt (4.6)

Thu Aug 18, 2011 11:31 pm
No, I did not find the messages and I have not used KMail nor Akonadi since then.


connect(post, SIGNAL(readSignature()), qapp, SLOT(quit()));
meyerm
Registered Member
Posts
18
Karma
0
OS

Re: Akonadi/KMail2/Mutt (4.6)

Fri Aug 19, 2011 3:06 am
OK, I guess I found a way.

The problem seems to be that akonadi or KMail are not creating maildirs as they'd like to use them. They only create Maildir/NEWDIR/{cur,tmp,new} but not Maildir/.NEWDIR.directory/{cur,new,tmp}.

By creating them manually on the console and letting akonadi resyncing the directory it can use the maildir and also puts the files physically into it.

I do not say this is good... just a very un-nice workaround.

M


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot]