Kmail and Maildir & Local Folder

View: New views
10 Messages — Rating Filter:   Alert me  

Kmail and Maildir & Local Folder

by Christian Mikovits-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello

I've got a few questions about Kmail's handling of Maildirs and Localfolders
First off, I;ve used ClawsMail, but since I moved to kde4 now. I wan't
to use Kmail instead.

With Claws Mail it was possible to just point to a local Maildir and
Claws had it in its view. (I hope you understand what I mean)
Is it possible to do the same thing with Kmail. I really don't want to
have the Mails copied from my ~/.Maildir to
/kde4/share/apps/kmail/mail. Is it really necessary to do that? And if
so, why?

Next thing I tried is to directly sync the Mails to .kde4/blabla using
offlineimap instead to ~/.Maildir. Works great, but Kmail doesn't
realize if there are new Mails in the Folder until i click onto a
Folder.

Please tell me there's a possibility to use just a plain Maildir
without having Mails copied, moved, deleted, whatever,

Thanks,

Chris
_______________________________________________
KDE PIM users mailing list
kdepim-users@...
https://mail.kde.org/mailman/listinfo/kdepim-users

Re: Kmail and Maildir & Local Folder

by Anne Wilson-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tuesday 27 October 2009 18:15:25 Christian Mikovits wrote:

> Hello
>
> I've got a few questions about Kmail's handling of Maildirs and
>  Localfolders First off, I;ve used ClawsMail, but since I moved to kde4
>  now. I wan't to use Kmail instead.
>
> With Claws Mail it was possible to just point to a local Maildir and
> Claws had it in its view. (I hope you understand what I mean)
> Is it possible to do the same thing with Kmail. I really don't want to
> have the Mails copied from my ~/.Maildir to
> /kde4/share/apps/kmail/mail. Is it really necessary to do that? And if
> so, why?
>
> Next thing I tried is to directly sync the Mails to .kde4/blabla using
> offlineimap instead to ~/.Maildir. Works great, but Kmail doesn't
> realize if there are new Mails in the Folder until i click onto a
> Folder.
>
> Please tell me there's a possibility to use just a plain Maildir
> without having Mails copied, moved, deleted, whatever,
>
Indeed you can - it's what I use all the time.  Dovecot puts my mail into
Maildir on the IMAP server and I simply
point kmail to the local address of the IMAP server.  You shouldn't need to
copy or move any mail.

If you give us more details of your setup we may be able to spot what's gone
wrong.

Anne
--
New to KDE4? - get help from http://userbase.kde.org
Just found a cool new feature?  Add it to UserBase


_______________________________________________
KDE PIM users mailing list
kdepim-users@...
https://mail.kde.org/mailman/listinfo/kdepim-users

signature.asc (205 bytes) Download Attachment

Re: Kmail and Maildir & Local Folder

by Kevin Krammer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tuesday, 2009-10-27, Christian Mikovits wrote:

> Hello
>
> I've got a few questions about Kmail's handling of Maildirs and
>  Localfolders First off, I;ve used ClawsMail, but since I moved to kde4
>  now. I wan't to use Kmail instead.
>
> With Claws Mail it was possible to just point to a local Maildir and
> Claws had it in its view. (I hope you understand what I mean)
> Is it possible to do the same thing with Kmail. I really don't want to
> have the Mails copied from my ~/.Maildir to
> /kde4/share/apps/kmail/mail. Is it really necessary to do that? And if
> so, why?
You can put the path to the mail base dir into KMail's config file
$HOME/.kde4/share/config/kmailrc

Section [General]

folders=$HOME/.Maildir

Cheers,
Kevin
--
Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring


_______________________________________________
KDE PIM users mailing list
kdepim-users@...
https://mail.kde.org/mailman/listinfo/kdepim-users

signature.asc (197 bytes) Download Attachment

Re: Kmail and Maildir & Local Folder

by Christian Mikovits-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello.

Thanks for the fast replies.

I use following setup:

My mails lies on an imap server somewhere in the inet.
   - I use a webmail client read mails
   - I use offlineimap to sync the imap server with a local directory
(~/.Maildir)
   - I use mutt to read the mails in this local directory
   - I want to use kmail to read the mails using the same directory

@Kevin: your suggestion looks promising

    The question remaining: Does Kmail recognize new mail (files)
appearing in the folder? (so with this setup I don't have a "receiving
account" configured in kmail)

Christian

On Tue, Oct 27, 2009 at 8:38 PM, Kevin Krammer <kevin.krammer@...> wrote:

> On Tuesday, 2009-10-27, Christian Mikovits wrote:
>> Hello
>>
>> I've got a few questions about Kmail's handling of Maildirs and
>>  Localfolders First off, I;ve used ClawsMail, but since I moved to kde4
>>  now. I wan't to use Kmail instead.
>>
>> With Claws Mail it was possible to just point to a local Maildir and
>> Claws had it in its view. (I hope you understand what I mean)
>> Is it possible to do the same thing with Kmail. I really don't want to
>> have the Mails copied from my ~/.Maildir to
>> /kde4/share/apps/kmail/mail. Is it really necessary to do that? And if
>> so, why?
>
> You can put the path to the mail base dir into KMail's config file
> $HOME/.kde4/share/config/kmailrc
>
> Section [General]
>
> folders=$HOME/.Maildir
>
> Cheers,
> Kevin
> --
> Kevin Krammer, KDE developer, xdg-utils developer
> KDE user support, developer mentoring
>
> _______________________________________________
> KDE PIM users mailing list
> kdepim-users@...
> https://mail.kde.org/mailman/listinfo/kdepim-users
>
>
_______________________________________________
KDE PIM users mailing list
kdepim-users@...
https://mail.kde.org/mailman/listinfo/kdepim-users

Re: Kmail and Maildir & Local Folder

by Kevin Krammer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tuesday, 2009-10-27, Christian Mikovits wrote:

> Hello.
>
> Thanks for the fast replies.
>
> I use following setup:
>
> My mails lies on an imap server somewhere in the inet.
>    - I use a webmail client read mails
>    - I use offlineimap to sync the imap server with a local directory
> (~/.Maildir)
>    - I use mutt to read the mails in this local directory
>    - I want to use kmail to read the mails using the same directory
>
> @Kevin: your suggestion looks promising
>
>     The question remaining: Does Kmail recognize new mail (files)
> appearing in the folder? (so with this setup I don't have a "receiving
> account" configured in kmail)
I am almost certain it does not. KMail assumes it has "full control" over its
data dir so it can use all kinds of tricks to increase performance (e.g.
keeping index files for often used data of a folder).

What you could try to do, depending on your needs, is to use KMail's
"Disconnected IMAP" (or maybe it is called Cached IMAP) receiving account
form.

This will basically replace the offlineimap functionality, i.e. KMail will do
the synchronizing.
You should then (haven't tested that) be able to read the local cache with
mutt (provided you don't do it while KMail is running, see above).

All this are consequences of KMail's age, that should become a lot better with
Akonadi but this is unfortunately quite some time in the future.

Cheers,
Kevin

--
Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring


_______________________________________________
KDE PIM users mailing list
kdepim-users@...
https://mail.kde.org/mailman/listinfo/kdepim-users

signature.asc (197 bytes) Download Attachment

Re: Kmail and Maildir & Local Folder

by Marc Deop i Argemí-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tuesday 27 October 2009 20:58:08 Christian Mikovits wrote:
> My mails lies on an imap server somewhere in the inet.
>    - I use a webmail client read mails
>    - I use offlineimap to sync the imap server with a local directory
> (~/.Maildir)
>    - I use mutt to read the mails in this local directory
>    - I want to use kmail to read the mails using the same directory
>

I've used this exact configuration before but the webmail client part ;)

The only thing I had to do is a symbolic link pointing to the maildir
directory and everything worked.

Damnshock
_______________________________________________
KDE PIM users mailing list
kdepim-users@...
https://mail.kde.org/mailman/listinfo/kdepim-users

Re: Kmail and Maildir & Local Folder

by Christian Mikovits-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi.

I see. But did Kmail recognize if there was a new mail in one of the
Folders, thats my problem at the moment.

On Wed, Oct 28, 2009 at 12:42 PM, Marc Deop i Argemí
<damnshock@...> wrote:

> On Tuesday 27 October 2009 20:58:08 Christian Mikovits wrote:
>> My mails lies on an imap server somewhere in the inet.
>>    - I use a webmail client read mails
>>    - I use offlineimap to sync the imap server with a local directory
>> (~/.Maildir)
>>    - I use mutt to read the mails in this local directory
>>    - I want to use kmail to read the mails using the same directory
>>
>
> I've used this exact configuration before but the webmail client part ;)
>
> The only thing I had to do is a symbolic link pointing to the maildir
> directory and everything worked.
>
> Damnshock
>
_______________________________________________
KDE PIM users mailing list
kdepim-users@...
https://mail.kde.org/mailman/listinfo/kdepim-users

Re: Kmail and Maildir & Local Folder

by Marc Deop i Argemí-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wednesday 28 October 2009 13:53:08 Christian Mikovits wrote:
> I see. But did Kmail recognize if there was a new mail in one of the
> Folders, thats my problem at the moment.
>

If I recall correctly, it did not :S I had to manually update the folder
(check email on this folder) or switch to another folder or to check the
account globally.

Damnshock
_______________________________________________
KDE PIM users mailing list
kdepim-users@...
https://mail.kde.org/mailman/listinfo/kdepim-users

Re: Kmail and Maildir & Local Folder

by Bugzilla from kloecker@kde.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wednesday 28 October 2009, Christian Mikovits wrote:

> On Wed, Oct 28, 2009 at 12:42 PM, Marc Deop i Argemí
> <damnshock@...> wrote:
> > On Tuesday 27 October 2009 20:58:08 Christian Mikovits wrote:
> >> My mails lies on an imap server somewhere in the inet.
> >>    - I use a webmail client read mails
> >>    - I use offlineimap to sync the imap server with a local
> >> directory (~/.Maildir)
> >>    - I use mutt to read the mails in this local directory
> >>    - I want to use kmail to read the mails using the same
> >> directory
> >
> > I've used this exact configuration before but the webmail client
> > part ;)
> >
> > The only thing I had to do is a symbolic link pointing to the
> > maildir directory and everything worked.
>
> I see. But did Kmail recognize if there was a new mail in one of the
> Folders, thats my problem at the moment.
No. KMail won't recognize this. Your best option is to use the approach
outlined by Anne, i.e. run a local IMAP server and access ~/.Maildir
from KMail via this local IMAP server.


Regards,
Ingo


_______________________________________________
KDE PIM users mailing list
kdepim-users@...
https://mail.kde.org/mailman/listinfo/kdepim-users

signature.asc (204 bytes) Download Attachment

Re: Kmail and Maildir & Local Folder

by Anne Wilson-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Friday 30 October 2009 20:26:14 Ingo Klöcker wrote:

> On Wednesday 28 October 2009, Christian Mikovits wrote:
> > On Wed, Oct 28, 2009 at 12:42 PM, Marc Deop i Argemí
> >
> > <damnshock@...> wrote:
> > > On Tuesday 27 October 2009 20:58:08 Christian Mikovits wrote:
> > >> My mails lies on an imap server somewhere in the inet.
> > >>    - I use a webmail client read mails
> > >>    - I use offlineimap to sync the imap server with a local
> > >> directory (~/.Maildir)
> > >>    - I use mutt to read the mails in this local directory
> > >>    - I want to use kmail to read the mails using the same
> > >> directory
> > >
> > > I've used this exact configuration before but the webmail client
> > > part ;)
> > >
> > > The only thing I had to do is a symbolic link pointing to the
> > > maildir directory and everything worked.
> >
> > I see. But did Kmail recognize if there was a new mail in one of the
> > Folders, thats my problem at the moment.
>
> No. KMail won't recognize this. Your best option is to use the approach
> outlined by Anne, i.e. run a local IMAP server and access ~/.Maildir
> from KMail via this local IMAP server.
>
I've never used gmail's imap, which, from all I've read, does things rather
differently from everyone esle's imap :-)  I choose to use one of the
alternatives - I forward my mail to my isp, leaving a copy on gmail.  It works
for me, and avoids all the problems I hear of people having with gmail imap.  
Now if only I could find a way to 'expire' mail in gmail, the way I can in
kmail, I'd be completely happy.

Anne
--
New to KDE4? - get help from http://userbase.kde.org
Just found a cool new feature?  Add it to UserBase


_______________________________________________
KDE PIM users mailing list
kdepim-users@...
https://mail.kde.org/mailman/listinfo/kdepim-users

signature.asc (205 bytes) Download Attachment